首页 > 其他 > 详细

关闭防火墙

时间:2016-10-08 20:07:44      阅读:107      评论:0      收藏:0      [点我收藏+]

防火墙

查看防火墙状态

service iptables status

临时开启/关闭防火墙

service iptables start

service iptables stop

永久关闭防火墙(重启后生效)

chkconfig iptables --list

chkconfig iptables on

chkconfig iptables off

selinux

查看selinux状态

getenforce

临时关闭selinux

setenforce 0

永久关闭selinux(重启后生效)

vim /etc/selinux/config

selinux=disabled

关闭防火墙

原文:http://www.cnblogs.com/woms/p/5939567.html

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