问题:老是关闭防火墙太麻烦,所以选择彻底关闭防火墙linux常用命令,发现每次都记不住命令!
下面是red hat/CentOs7关闭防火墙的命令!
1:查看防火状态
systemctl status firewalld
service iptablesstatus
2:暂时关闭防火墙
systemctl stop firewalld
service iptablesstop
3:永久关闭防火墙
systemctl disable firewalld
chkconfig iptables off
4:重启防火墙
systemctl enable firewalld
service iptables restart
5:永久关闭后重启
//暂时还没有试过
chkconfig iptableson
打开APPlinux常用命令,阅读全文
ChenShiAi26992次阅读12-14APP打开
zhangmingcai2567次阅读10-09APP打开
weixin_427719461228次阅读12-21APP打开
zsy198812267756次阅读10-15APP打开
hxp0618143次阅读04-04APP打开
weixin_3435743620次阅读10-19APP打开
weixin_309026756次阅读04-30APP打开
qq_4285986490次阅读05-24APP打开
weixin_4229514119011次阅读07-13APP打开
javaee_sunny3625次阅读05-20APP打开
u011004069322次阅读12-30APP打开
weixin_3375204516次阅读11-09APP打开
weixin_39816740512次阅读08-09APP打开
iteye_3693853次阅读04-03APP打开
bslzl239646次阅读09-03APP打开
TangHao_02263797次阅读04-03APP打开
dedecms8582次阅读09-18APP打开
qq_346260975100次阅读10-25APP打开
qq_345011545830次阅读06-28APP打开
prontosil3488次阅读07-16APP打开
rentian11411次阅读08-20APP打开
zjuylok2033次阅读11-04APP打开
u0130362781270次阅读03-12APP打开
cnmilan550次阅读09-14APP打开
LXYuuuuu43次阅读09-13APP打开
yu0_zhang075次阅读11-22APP打开
qq_4111695610676次阅读01-07APP打开
z388100627784次阅读11-27APP打开
zhengdeshifeng850次阅读08-09APP打开
loveer0987次阅读11-12APP打开
sihai12345898次阅读04-18APP打开
qq_346270029725次阅读05-30APP打开
joris30789次阅读07-29APP打开
qq_43303221175次阅读10-18APP打开
weixin_40306397262次阅读03-16APP打开
sinat_14842237804次阅读04-17APP打开
u0143897343083次阅读02-25APP打开
lkforce41633次阅读03-08APP打开
fendoubasaonian33292次阅读12-04APP打开
收藏