Sharing file menggunakan Samba di CentOS 4.4

Posted on


  1. Install Centos 4.4
  2. Jangan lupa ketika install ada opsi Firewall dan selinux, silahkan pilih opsi “no firewall” dan Selinux nya pilih “disable”.

  3. Setelah selesai, loginlah sebagai root
  4. kemudian edit smb.conf
  5. # 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

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

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

  10. Settinglah bahwa samba akan otomatis running setiap komputer hidup (AutoStart)
  11. # chkconfig –level 345 smb on
    # chkconfig –level 345 nmb on

  12. Restart service samba
  13. # /etc/init.d/smb restart

  14. Coba di browse dari My Network place, good luck…!!!

2 thoughts on “Sharing file menggunakan Samba di CentOS 4.4

    fadly said:
    November 7, 2007 at 5:24 am

    bagus tapi gmn caranya kl pakek mandrake 9.2 lewat webmin

    adi said:
    July 6, 2008 at 10:41 am

    ia gimana gunainya klo di mandrake 9.2??

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