windows访问linux共享

1. 安装samba

    yum install  samba

2. 配置samba配置文件,添加共享文件夹

    vim   /etc/samba/smb.conf

3. 关闭selinux

     vi  /etc/selinux/config   设为disabled

4. 关闭防火墙

    service iptables stop

5. 修改共享文件夹访问权限

    chmod  777 /share 

6. 添加samba登陆用户和密码

    smbpasswd  -a  user123

7. 重启samba

   service smb restart

posted @ 2013-11-22 15:38  keethebest  阅读(256)  评论(0编辑  收藏  举报