Instalasi SAMBA Server dan Konfigurasinya |
SAMBA IN SLACKWARE 10.2
=================
### Mount CDROM
root@murzid:~# mount /mnt/cdrom/
### Instal SAMBA dari CD Installer Slackware 10.2
root@murzid:~# installpkg /mnt/cdrom/slackware/n/samba-3.0.20-i486-2.tgz
### Pindah ke direktory /etc/samba
root@murzid:~# cd /etc/samba
### Lihat isi direktori /etc/samba
root@murzid:~# ls /etc/samba
private/ smb.conf-sample
### Copy / rename "smb.conf-sample" menjadi "smb.conf"
root@murzid:/etc/samba# cp smb.conf-sample smb.conf
atau
root@murzid:/etc/samba# mv smb.conf-sample smb.conf
### Edit file smb.conf (gunakan editor vi, pico, nano, ato joe)
root@murzid:/etc/samba# nano smb.conf
--- Ubahlah Baris Berikut ---
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
workgroup = MYGROUP
# server string is the equivalent of the NT Description field
server string = Samba Server
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the HOWTO Collection for details.
security = user
--- Menjadi ---
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
workgroup = LAB-IT <---------- Sesuaikan dgn workgroup anda
# server string is the equivalent of the NT Description field
server string = SERVER <---------- Isikan nama server samba anda
# user level security. See the HOWTO Collection for details.
security = share <---------- Ubah ke mode share
### Membuat direktori yang akan anda sharing
root@murzid:/etc/samba# mkdir /home/dokumenku
### Ubah mode akses direktori
root@murzid:/etc/samba# chmod 777 /home/dokumenku
[Back to smb.conf]
### Membuat konfigurasi Share Definitions
[Dukumen]
comment = Ini Dukumenku Lho
path = /home/dukumenku
browseable = yes
public = yes
writable = yes
guest ok = yes