jump to navigation

Sharing file menggunakan Samba di CentOS 4 October 14, 2007

Posted by bigkang in Tutotial.
trackback

Berikut saya sampaikan, cara menggunakan samba pada CentOS.

1. Install Centos 4.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
8. Coba di browse dari My Network place.

Advertisement

Comments»

No comments yet — be the first.

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.