Setting SAMBA Server di CentOS 5.4

By On Wednesday, April 19th, 2017 Categories : Sains

Cara mensetting Samba Server di CentOS 5.4 (smb.conf):

1. Install Centos 5.4
Jangan lupa ketika install ada opsi Firewall dan selinux, silahkan pilih opsi “no firewall” dan
Selinux nya pilih “disable”.
2. Setelah selesai, loginlah sebagai root
3. kemudian edit smb.conf


# mv /etc/samba/smb.conf /etc/samba/smb.conf.orig

Ini berfungsi merename smb.conf menjadi smb.conf.orig

# vi /etc/samba/smb.conf
isikan configurasi dibawah ini :

[Global]
workgroup = workgroup
domain logons = No
domain master = No
security = share
netbios name = samba

[Share]
comment = Share
path = /data/share
read only = no
browseable = yes
public = yes
writeable = yes

4. Buat direktori yang akan dijadikan folder share, dalam contoh ini adalah /data/share.
# mkdir -p /data/share

5. Setting agar folder tersebut dapat di “Write”
# chmod 777 /data/share

6. Settinglah bahwa samba akan otomatis running setiap komputer hidup (AutoStart)

# chkconfig –-level 345 smb on
# chkconfig –-level 345 nmb on

7. Restart service samba
# /etc/init.d/smb restart

———–
Nah Sudah OK tuh…..!

17060003, 17060004, 17060005, 17060006, 17060007, 17060008, 17060009, 17060010, 17060011, 17060012, 17060013, 17060014, 17060015, 17060016, 17060017, 17060018, 17060019, 17060020, 17060021, 17060022, 17060023, 17060024, 17060025, 17060026, 17060027, 17060028, 17060029, 17060030, 17060031, 17060032, 17060033, 17060034, 17060035, 17060036, 17060037, 17060038, 17060039, 17060040, 17060041, 17060042