安装yum -y install samba samba-client
配置vim /etc/samba/smb.service
workgroup = WORKGROUP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
include = /etc/samba/%U.smb.conf
include = /etc/samba/%G.smb.conf
[本公司公开]
comment = 公开
path = /jeryl/公开
browseable = yes
guest ok = yes
writable = yes
readonly = no