# useradd
useradd -m -d /home/username/ -s /bin/bash -G sudo username
passwd username
usernamepasswd
# ftp
sudo apt update
sudo apt install vsftpd
cp /etc/vsftpd.conf /etc/vsftpd.conf.bk
vi /etc/vsftpd.conf
local_enable=YES
write_enable=YES
local_umask=022
chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
allow_writeable_chroot=YES
vi /etc/vsftpd.chroot_list
username
# firewall
ufw allow ftp
ufw status
2017년 12월 28일 목요일
2017년 10월 20일 금요일
set logging for mariadb on windows
SHOW VARIABLES LIKE "general_log%";
SET GLOBAL general_log = 'ON';
ex > C:\Program Files\MariaDB 10.1\data\DESKTOP-NGG647S.log
SET GLOBAL general_log = 'OFF';
SET GLOBAL general_log = 'ON';
ex > C:\Program Files\MariaDB 10.1\data\DESKTOP-NGG647S.log
SET GLOBAL general_log = 'OFF';
2017년 9월 8일 금요일
how to for Compact framework project build Speed improvement
c:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets
<Target
Name="PlatformVerificationTask" Condition="'$(SkipPlatform Verification)' == 'true'">
<PlatformVerificationTask
PlatformFamilyName="$(PlatformFamilyName)"
PlatformID="$(PlatformID)"
SourceAssembly="@(IntermediateAssembly)"
ReferencePath="@(ReferencePath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>
<Target
Name="PlatformVerificationTask" Condition="'$(SkipPlatform Verification)' == 'true'">
<PlatformVerificationTask
PlatformFamilyName="$(PlatformFamilyName)"
PlatformID="$(PlatformID)"
SourceAssembly="@(IntermediateAssembly)"
ReferencePath="@(ReferencePath)"
TreatWarningsAsErrors="$(TreatWarningsAsErrors)"
PlatformVersion="$(TargetFrameworkVersion)"/>
</Target>
2017년 8월 7일 월요일
windows mobile device center with windows 10 not working
Computer Management
Services & Applications
Services.
Scroll down to right-click on "Windows Mobile-2003-based device connectivity" to select Properties
Log On.
Switch to "Local System account" with checking "Allow service to interact with desktop" then click OK
Services & Applications
Services.
Scroll down to right-click on "Windows Mobile-2003-based device connectivity" to select Properties
Log On.
Switch to "Local System account" with checking "Allow service to interact with desktop" then click OK
2017년 8월 5일 토요일
Teamviewer Clean
uninstall the copy of Teamviewer from your system > Add or remove
Click on Start –> Run –> type %appdata% –> delete TeamViewer folder and also delete “C:\\Program Files\\Teamviewer”
Delete registry > hkcu/software/teamviewer and hklm/software/teamviewer
Click on Start –> Run –> type %appdata% –> delete TeamViewer folder and also delete “C:\\Program Files\\Teamviewer”
Delete registry > hkcu/software/teamviewer and hklm/software/teamviewer
2017년 7월 25일 화요일
not allow OPTIONS, TRACE with asp.net
<system.webServer>
<security>
<requestFiltering>
<verbs allowUnlisted="true">
<add verb="OPTIONS" allowed="false" />
<add verb="TRACE" allowed="false" />
</verbs>
</requestFiltering>
</security>
</system.webServer>
<security>
<requestFiltering>
<verbs allowUnlisted="true">
<add verb="OPTIONS" allowed="false" />
<add verb="TRACE" allowed="false" />
</verbs>
</requestFiltering>
</security>
</system.webServer>
2017년 7월 10일 월요일
create user & tablespace with oracle
create tablespace gass_table datafile 'c:\oracle\product\11.2.0\dbhome_1\oradata\gass\gass_table.dbf' size 100m;
create user muse identified by password default tablespace gass_table profile default quota unlimited on gass_table account unlock;
grant resource, connect to muse;
grant create view, create synonym to muse;
create user muse identified by password default tablespace gass_table profile default quota unlimited on gass_table account unlock;
grant resource, connect to muse;
grant create view, create synonym to muse;
2017년 6월 22일 목요일
mysql or mariadb all backup with windows
runas : command prompt
mysqldump --port 3307 -uroot -p ems > backup.sql
mysqldump --port 3307 -uroot -p ems > backup.sql
2017년 3월 15일 수요일
2017년 2월 27일 월요일
set wince output file folder with visual studio 2008
project > properties > device
Target Device:
Windows CE Device
Output file folder: > button
Location of output on device:
Root Folder
Subdirectory:
MY PC\CUWIN\Storage Card\SmartEye5
OK Button Click
Target Device:
Windows CE Device
Output file folder: > button
Location of output on device:
Root Folder
Subdirectory:
MY PC\CUWIN\Storage Card\SmartEye5
OK Button Click
2017년 1월 19일 목요일
Windows CE Strings
https://msdn.microsoft.com/en-us/library/ms934880.aspx
%CE1% Program Files
%CE2% Windows
%CE4% Windows\StartUp
%CE5% My Documents
%CE8% Program Files\Games
%CE11% Windows\Start Menu\Programs
%CE14% Windows\Start Menu\Programs\Games
%CE15% Windows\Fonts
%CE17% Windows\Start Menu
%CE1% Program Files
%CE2% Windows
%CE4% Windows\StartUp
%CE5% My Documents
%CE8% Program Files\Games
%CE11% Windows\Start Menu\Programs
%CE14% Windows\Start Menu\Programs\Games
%CE15% Windows\Fonts
%CE17% Windows\Start Menu
피드 구독하기:
글 (Atom)