Just another WordPress.com weblog

samba di centos

Setting samba di centos
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

Read more: Setting SAMBA Server di CentOS 5.4 | Smart Click

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s