Linux系统

在redhat6及以上版本关闭防火墙

时间:2013/8/21 20:39:48  作者:说歌社区  来源:www.solgle.com  查看:5799  评论:0
内容摘要:linux6上关闭防火墙和selinux,root下执行:service iptables stopchkconfig iptables offservice ip6tables stopchkconfig ip6tables offsetenforce 0getenforcev...

linux6上关闭防火墙和selinux,root下执行:
 
service iptables stop
chkconfig iptables off
service ip6tables stop
chkconfig ip6tables off
setenforce 0
getenforce
vi /etc/selinux/config 确保以下内容
SELINUX=disabled

chkconfig iptables --list    查看是否是关闭。
 
linux6上 iptables关闭后 ip6tables会起来,所以最好一并关掉。








 
 
标签:在redhat6及以上版本关闭防火墙 linux 

solgle.com 版权所有,欢迎分享!!!

相关评论
 img1 img2 img3 img4 img5 img6 img7 img8 img9 img10
评论者:      验证码:  点击获取验证码
   Copyright © 2013-2028 solgle.com,All rights reserved.[solgle.com] 公安机关备案号:51010802000219
Email:solgle@solgle.com; weixin:cd1008610000 ICP:蜀ICP备14011070号-1