Linux
SSH, SAMBA 설정하기
K :)
2010. 1. 29. 17:33
1. SSH 설치
$sudo apt-get install ssh
2. SSH 재시작
$sudo /etc/init.d/ssh restart
-------------------------------------------------------------------
1. SAMBA 설치
$sudo apt-get install samba smbfs
2. SAMBA ID 생성
$sudo smbpasswd -a 아이디
(가급적이면 리눅스 계정과 동일한 이름으로 해야 관리가 편하다.)
3. smb conf 수정
$sudo vi /etc/samba/smb.conf
#======================= Share Definitions =======================
[Myfolder]
comment = work Directories
path = /
browseable = yes
read only = no
writable = yes
예)
[home]
comment = Linux dev machine
path = /home/dev
browseable = yes
read only = no
writable = yes
# samba 속도 향상
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096
4. SAMBA 재시작
$sudo /etc/init.d/samba restart
4. SAMBA 재시작
$sudo /etc/init.d/samba restart