'리눅스 쌈바'에 해당되는 글 1건

  1. 2009.09.24 Samba 설치 by 초상큼발랄
Fedora 11

설치 확인

1. # rpm -qa | grep samba

설치

1. # yum install samba

2. # cd /etc/samba

2-1. # cp smb.conf smb.conf_bacup

2-2. # rm -rf smb.conf

2-3. # vi smb.conf


 
Samba Server 세팅 

1.  # adduser samba

2. # passwd samba

3. # smbpasswd -a samba

4. # /etc/init.d/smb restart

5. # mkdir /home/samba

6. # chmod 755 /home/samba

7. # chown samba.samba /home/samba
password: samba

8. # /etc/samba/smb.conf

[global]
 workgroup = WORKGROUP
 server string = Samba Server
 printcap name = /stc/printcap
 load printers = yes
 printing = lprng
 guest account = nobody
 log file = /var/log/samba/%m.log
 max log size = 0
 security = user
 encrypt password file = /etc/samba/smbpasswd
 username map = /etc/samba/smbusers
 include = /etc/samba/smb.conf.%m
 socket options = TCP_NODELAY SO_RCVBUF=8192SO_SNDBUF=8192

[home]
 comment = MySamba
 path = /home/samba
 browseable = yes
 read only = no
 writable = yes
 public = no
 create mask = 0750
 
9. #service smb restart

'Education > Linux Kernel' 카테고리의 다른 글

커널 소스 트리  (0) 2009.11.18
root passwd  (0) 2009.10.28
명령어  (0) 2009.10.28
Fedora11 ( linux-2.6.29.4 ) Compile 과정  (0) 2009.09.07
root 계정  (0) 2009.09.07
Posted by 초상큼발랄
l