Setting Samba di Centos

Sharing file using Samba on CentOS 4
Following I submit, way of using samba at CentOS. For other OS, usage of samba nor different far.
1. Install Centos 44 Don't forget when install there are option Firewall and selinux, please select;choose option “ no firewall” and Selinux chooses “ disable”.

2. After completed, logins as root

3. Then edits smbconf
# mv /etc/samba/smbconf /etc/samba/smb.conf.orig <- This function to rename smbconf becomes smb.conf.orig

# vi /etc/samba/smbconf, Fills in configurasi under this :
[ Global]
workgroup = workgroup
domain logons = No
master domain = No
security = share
netbios name = samba
[ Share]
comment = Share
path = /data/share
read only = no
browseable = yes
public = yes
writeable = yes

4. Directory create which will be made folder share, in this example is /data/share.
# mkdir - p /data/share

5. Setting that the folder in “ Write”
# chmod 777 /data/share

6. Settinglah that samba would automatic of running every life computer ( AutoStart)
# chkconfig – level 345 smb on
# chkconfig – level 345 nmb on

7. Restarts service samba
# /etc/initd/smb restarts

8. Tries in browse from My Network place, good luck!

No comments: