关闭CentOS 7 防火墙和SELinux
2015-01-13 00:00
381 查看
摘要: 关闭CentOS 7 防火墙和SELinux
最新的CentOS 7防火墙已经更新为firewalld。
为了方便调试需要关闭防火墙和selinux。
1. 运行、停止、禁用firewalld
启动:# systemctl start firewalld
查看状态:# systemctl status firewalld 或者 firewall-cmd --state
停止:# systemctl disable firewalld
禁用:# systemctl stop firewalld
2.关闭SELINUX
在文件 /etc/selinux/config 修改
为
最新的CentOS 7防火墙已经更新为firewalld。
为了方便调试需要关闭防火墙和selinux。
1. 运行、停止、禁用firewalld
启动:# systemctl start firewalld
查看状态:# systemctl status firewalld 或者 firewall-cmd --state
停止:# systemctl disable firewalld
禁用:# systemctl stop firewalld
2.关闭SELINUX
在文件 /etc/selinux/config 修改
SELINUXTYPE = targeted
为
SELINUX = disabled
相关文章推荐
- CentOS 7 关闭防火墙和SELinux
- CentOS 6.5系统中如何关闭seLinux和iptables防火墙
- centos 6.x 关闭防火墙和selinux
- CentOS 关闭防火墙和SELINUX配置
- CentOS 7.0 关闭防火墙和selinux
- redhat7 centos7 关闭SELinux和防火墙的办法
- 在CentOS 6.0下面永久关闭SELinux和防火墙
- CentOS 6.6永久关闭 SELinux与防火墙 的方法
- centos6.6关闭防火墙和selinux
- centos 关闭防火墙以及关闭selinux方法
- CentOS 5 彻底关闭SELinux和防火墙[转]
- Centos7 关闭防火墙和selinux
- CentOS 7 关闭防火墙 SELinux , FireWalld
- CentOS 关闭防火墙和selinux
- CentOS 7 配置NTP、关闭防火墙、关闭selinux
- centos6.4下关闭防火墙,selinux和设置网络
- [置顶] Centos防火墙及SELINUX关闭
- centos7 关闭防火墙和selinux
- CentOS 7.0关闭默认防火墙启用iptables防火墙及关闭selinux
- CentOS7 关闭防火墙和selinux