2015년 8월 23일 일요일

원격 데스크톱 연결 허용

1. 방화벽 3389 허용 ( 제어판 > Windows 방화벽 > 고급 설정 > 인바운드 규칙 > 원격 데스크톱(Tcp-In)
2. 해당 계정에 암호가 없는 경우 설정
3. 이 컴퓨터에 대한 원격 지원 연결 허용, 모든 버전의 원격 데스크톱을 실행 중인 컴퓨터에서 연결허용 ( 컴퓨터 > 설정 > 원격설정 )
4. 윈도우 실행 시 암호 물어보기 ( 시작 > 실행 > netplwiz )
5. 리부팅

2015년 8월 21일 금요일

appcompat_v7 errors

Set Project Build Path as Android 5.0 (API level 21)

Set the project target as : target=android-21

No compatible targets where found

No compatible targets where found. Do you wish to add new Android Virtual

install by Android SDK Manager
"Google USB Driver"

if samsung phone, install driver
http://local.sec.samsung.com/comLocal/support/down/kies_main.do?kind=usb

2015년 8월 20일 목요일

samba server install & conf with centos

yum install samba

chkconfig smb on

mkdir /home/sharename

useradd sharename
passwd sharename

smbpasswd -a sharename ( exist user )

chmod 777 /home/sharename

/etc/samba/smb.conf ( add )
[sharename]
comment = sharename
path = /home/sharename
public = yes
writable = yes
write list = sharename KK
cresate mask = 0777
directory mask = 0777

iptables -I INPUT 4 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
iptables -I INPUT 5 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
iptables -I INPUT 6 -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
/etc/init.d/iptables save
/etc/init.d/iptables restart

/etc/init.d/smb restart

2015년 8월 17일 월요일

wireless static set for centos by wpa_supplicant

centos : Linux localhost.localdomain 2.6.32-504.23.4.el6.x86_64 #1 SMP Tue Jun 9 20:57:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

1. wpa_passphrase ssidname pskpassword

2. vi /etc/sysconfig/wpa_supplicant

# Use the flag "-i" before each of your interfaces, like so:
#  INTERFACES="-ieth1 -iwlan0"
INTERFACES="-iwlan0"

# Use the flag "-D" before each driver, like so:
#  DRIVERS="-Dwext"
DRIVERS=""

# Other arguments
#   -u   Enable the D-Bus interface (required for use with NetworkManager)
#   -f   Log to /var/log/wpa_supplicant.log
#   -P   Write pid file to /var/run/wpa_supplicant.pid
#        required to return proper codes by init scripts (e.g. double "start" action)
#        -B to daemonize that has to be used together with -P is already in wpa_supplicant.init.d
OTHER_ARGS="-u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid"

3. vi /etc/sysconfig/network-scripts/ifcfg-wlan0
DEVICE=wlan0
TYPE=Wireless
ONBOOT=yes
NM_CONTROLLED=no
HWADDR=30:10:B3:04:7C:1B
BOOTPROTO=static
BROADCAST=xxx.xxx.xxx.xxx
IPADDR=xxx.xxx.xxx.xxx
PREFIX=24
GATEWAY=192.168.0.1
DNS1=xxx.xxx.xxx.xxx
IPV6INIT=no
NETWORKING_IPV6=no
ESSID="ssidname"

4. /etc/init.d/network restart

2015년 8월 10일 월요일

adt plugin install for eclipse

https://dl-ssl.google.com/android/eclipse/

http://developer.android.com/sdk/index.html ==> download

** JAVA_HOME Envirenment Setting

Android SDK install

2015년 8월 5일 수요일

git use for visual studio 2012

requirement

1. Visual Studio Update 4 ( http://www.microsoft.com/en-us/download/details.aspx?id=39305 )
2. TortoiseGit ( https://code.google.com/p/tortoisegit/ )
3. Git Source Control Provider ( https://gitscc.codeplex.com/ )
4. git for windows ( https://msysgit.github.io/ )

2015년 8월 3일 월요일

Windows SDK

Windows XP = SDK v5.0
Winodws 2003 = SDK v6.0
Vista / Windows 2008 = SDK v6.1
Windows 7 = SDK v7.0
Windows 7 and .NET Framework 4 = SDK v7.1