首页 > 系统服务 > 详细

CentOS关闭防火墙&SELinux

时间:2015-12-22 13:06:01      阅读:230      评论:0      收藏:0      [点我收藏+]

须知:

防火墙配置文件:/etc/sysconfig/iptables

查看防火墙状态:service iptables status

关闭防火墙:service iptables stop

关闭iptalbes:chkconfig iptables off

查看那SELinux状态:getenforce

SELinux配置文件:/etc/selinux/config

 

****************************************************************

关闭防火墙:service iptables stop

关闭iptalbes:chkconfig iptables off

关闭SELinux:

执行命令:vim /etc/selinux/config,修改:

SELINUX=enforcing 为 SELinux=disable

 

CentOS关闭防火墙&SELinux

原文:http://www.cnblogs.com/jeffry/p/5066188.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!