You are on page 1of 1

How to configure Samba Server in RHEL 6 ? # 1 Configuring a shared directory which can be accessed by anyone.

Server Settings [root@ora [root@ora [root@ora [root@ora ~]# ~]# ~]# ~]# yum y install samba* mkdir /home/share chmod 777 /home/share vi /etc/samba/smb.conf

# at line 58 add the following unix charset = UTF-8 dos charset = CP932 # at line 75 change to the windows workgroup. workgroup = WORKGROUP # at line 81 uncomment and change the ip addresses. hosts allow = 127.0.0.1 192.168.0.0/24 # at line 102 change the parameters. security = share # add the following entries at the end. [share] path = /home/share writable = yes guest ok = yes guest only = yes create mode = 0777 directory mode = 0777 share modes = yes # restart the services [root@ora [root@ora [root@ora [root@ora ~]# ~]# ~]# ~]# service smb restart service nmb restart chkconfig smb on chkconfig nmb on

You might also like