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

posted @ 2016-02-20 14:50  T+++  阅读(202)  评论(0编辑  收藏  举报