Konfigurasi Samba pada Debian 4 :
> Install samba :
# apt-get install samba smbfs smbclient
> lalu edit dan hilangkan tanda (;) di smb.conf :
# pico /etc/samba/smb.conf
workgroup = WORKGROUP
security = share
guest account = nobody
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
public = no
writable = no
create mode = 0700
[data]
comment = data
path = /home/ftp -> letak folder yg akan ditampilka/di sharing
public = yes
browseable = yes
read only = yes
writeable = yes
guest ok = yes
[princez]
comment = princez
path = /home/princez -> letak folder yg akan ditampilka/di sharing
public = yes
browseable = yes
read only = no
writeable = yes
guest ok = yes
> Kemudian restart samba : /etc/init.d/samba restart
> cek samba di komputer client ….
0 komentar:
Posting Komentar