Sharing file menggunakan Samba di CentOS 4.4

  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…!!!
The following two tabs change content below.
Unix/Linux enthusiasts, good working experience with SAN, NAS, Linux, Solaris, AIX, VMWare & Graphic Design. Certified for Solaris Admin, EMC & HDS Storage.

2 thoughts on “Sharing file menggunakan Samba di CentOS 4.4

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.