详细的搭建过程,参数
http://www.cnblogs.com/mchina/archive/2012/12/18/2816717.html
简单操作地址:
http://blog.****.net/jinyeweiyang/article/details/10909455
http://s135.com/samba_linux_windows/
samba 与windows 进行文件共享时,出现在windows下可以显示,但是打不开
1、查看防火墙是否已经关闭
2、查看selinux是否关闭
开启smb服务,关闭SElinux和Iptables
直接使用service smb start 启动Samba服务。
# getenforce命令可以查看SElinux的状态 ,# setenforce 0可以暂时关闭SElinux,在/etc/selinux/config中把SELINUX= enforcing更改为SELINUX=disable可以永久关闭SELinux
# service iptables status可以查看Iptables的状态,# service iptables stop可以暂时关闭,# chkconfig iptables off可以永久关闭防火墙。
最后关闭后的状态应该是
SElinux:Disabled
Iptables:Firewall is not running
这两个服务在没配置时一定要是关闭状态,不然会访问不到!
查看samba的服务启动情况
# service smb status
设置开机自启动
# chkconfig --level 35 smb on //在3、5级别上自动运行samba服务
3、查看文件权限是否可写4、查看文件的上一级目录是否可写
RHEL6基础四十一之selinux和iptables基础
http://justinpeng.blog.51cto.com/7662323/1338887