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 :

workgroup = workgroup
domain logons = No
domain master = No
security = share
netbios name = samba

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…..!

Outback Billionaire, Rose's Garden, Harry Potter Boxset (Harry Potter, #1-7), Christ the Lord: The Road to Cana (Christ the Lord, #2), Music as a Mirror of History, Out of Egypt (Christ the Lord, #1), Harry Potter and the Cursed Child - Parts One and Two (Harry Potter, #8), The Handmaid's Tale, Ranch Life Surprise (Wyoming Ranch Life Book 3), The Return of the Prodigal Son: A Story of Homecoming, Poskad Terakhir Si Pemuja Rahsia, Nedera: Negeri Kegelapan (Vandaria Saga), The Winter Fortress: The Epic Mission to Sabotage Hitler’s Atomic Bomb, On Tyranny: Twenty Lessons from the Twentieth Century, Ginny Moon, Two-Headed Poems, The Price of Knowing (A Powers of Influence Novel), The Black Moon (Poldark, #5), Saga, Vol. 2, The Assassin's Curse (The Assassin's Curse, #1)