Yum-y Install Samba samba-client Samba-swat
/ETC/INIT.D/SMB start
Chkconfig--level SMB on
Cp-p/etc/samba/smb.conf/etc/samba/smb.conf.orig
Vim/etc/samba/smb.conf
#logs split per machine Log file= /var/Log/samba/%m.Log #Max 50KB per log file, then rotate;Max LogSize = 50#-----------------------Standalone Server Options------------------------##Security can is set to user, share (deprecated) or server (deprecated)##backend to store user information in. New installations should#Use either Tdbsam or Ldapsam. SMBPASSWD are available for backwards#compatibility. Tdbsam requires no further configuration.Security=Share Passdb Backend=Tdbsam [ Public] Comment= PublicStuff Path= /Samba Public=Yes writable= yes
Service Sam Restart
Service SAB restart
Testpara
Window Client Access
In the network location, right-click to add a network location to add a network such as \\192.168.161.132\public
CentOS Install Samba