samba最简配置

配置文件名:
/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

猜你喜欢

转载自xieye.iteye.com/blog/1102677