摘要:
1 查看SELinux状态 Enforcing为开启状态;Disabled为关闭状态。 [root@localhost /]# getenforce Enforcing 2 临时关闭SELinux [root@localhost /]# setenforce 0 [root@localhost /] 阅读全文
摘要:
1 开启防火墙 # systemctl start firewalld 2 关闭防火墙: # systemctl stop firewalld 3 重启防火墙 firewall-cmd --reload # 4 开机自动启动防火墙 # systemctl enable firewalld 5 禁止防 阅读全文