摘要: 1 查看SELinux状态 Enforcing为开启状态;Disabled为关闭状态。 [root@localhost /]# getenforce Enforcing 2 临时关闭SELinux [root@localhost /]# setenforce 0 [root@localhost /] 阅读全文
posted @ 2017-10-06 12:30 巴黎河畔 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1 开启防火墙 # systemctl start firewalld 2 关闭防火墙: # systemctl stop firewalld 3 重启防火墙 firewall-cmd --reload # 4 开机自动启动防火墙 # systemctl enable firewalld 5 禁止防 阅读全文
posted @ 2017-10-06 12:11 巴黎河畔 阅读(158) 评论(0) 推荐(0) 编辑