您的位置:首页 > 运维架构 > Linux

linux samba安装及配置

2016-02-20 14:50 447 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: