samba服务器连接超时
1.添加samba服务到防火墙策略中firewall-cmd --add-service samba --permanent2.重启防火墙firewall-cmd --reload3.查看samba服务是否添加到防火墙中:firewall-cmd --list-all|grep samba4.关闭selinuxvim /etc/sysconfig/selinu...
·
1.添加samba服务到防火墙策略中
firewall-cmd --add-service samba --permanent
2.重启防火墙
firewall-cmd --reload
3.查看samba服务是否添加到防火墙中:
firewall-cmd --list-all|grep samba
4.关闭selinux
vim /etc/sysconfig/selinux
只修改
SELINUX=disabled
5.
setenforce 0
6.
getenforce
7.
systemctl start smb
systemctl enable smb
systemctl restart smb
systemctl status smb
8.成功
更多推荐
已为社区贡献1条内容
所有评论(0)