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. 修改权限
参考文章:
http://blog.csdn.net/linglongwunv/article/details/5212875
http://www.cnblogs.com/whiteyun/archive/2011/05/27/2059670.html
原文:http://www.cnblogs.com/2013-01-28/p/5203278.html