linux samba安装及配置

1.  安装 yum -y install samba 

2.  查看安装路径  #whereis samba

3.  配置全局

[global]

workgroup = LinuxSir
netbios name = LinuxSir05
server string = Linux Samba Server TestServer
security = shar

4. 配置共享目录

[staticres]
path = /data/files
writeable = yes
browseable = yes
guest ok = yes

5. 修改权限

chown -R nobody /data/files

chmod 777 /data/files

参考文章:

http://blog.csdn.net/linglongwunv/article/details/5212875

http://www.cnblogs.com/whiteyun/archive/2011/05/27/2059670.html

你可能感兴趣的:(linux samba安装及配置)