/etc/samba/smb.conf
[global] workgroup = WORKGROUP netbios = Centos_text server string = centos_text samba server security = share [allshare] path = /home/allshare comment = share allshare writeable = yes browseable = yes public = yes
使用时只需改一个path即可
=====================
如果samba没有装,则
yum install samba
=========================================
如果samba没有启动,则
service smb start