Sep 042011
yum -y install samba mkdir /home/share chmod 777 /home/share vi /etc/samba/smb.conf # near line 66: add unix charset = UTF-8 # line 87: change (Windows' default) workgroup = WORKGROUP # line 93: uncomment and change IP address you allow hosts allow = 127. 10.0.0. # line 119: change (no auth) security = share # add at the bottom [Share]# any name you like path = /home/share# shared directory writable = yes# OK to write guest ok = yes# guest OK guest only = yes# guest only create mode = 0777# fully accessed directory mode = 0777# fully accessed share modes = yes# warn if some people access to a file /etc/rc.d/init.d/smb start Starting SMB services:[ OK ] chkconfig smb on
From: http://www.server-world.info/en/