centos6、centos7关闭、禁用防火墙

Array一个人的软弱和优柔寡断可能会导致痛苦

人の親友は自分の10本の指です。

1、centos6系统

service iptables stop       //停止iptables服务
service iptables start       //启动ipables服务
chkconfig iptables off      //禁用iptables服务,开机不启动
chkconfig iptables on      //启用iptables服务,开机自动启动

2、centos7系统

systemctl stop firewalld     //停止firewall服务
systemctl start firewalld    //启动firewall服务
systemctl disable firewalld      //禁用firewall服务,开机不启动
systemctl enable firewalld      //启用firewall服务,开机自动启动

centos6、centos7关闭、禁用防火墙插图

centos6、centos7关闭、禁用防火墙插图1

If you don’t chase your dreams, you will never catch them

随机数:889160740199
本文来源于:https://www.fcblog.cn/post/28.html

一个人的软弱和优柔寡断可能会导致痛苦
Array

© 版权声明
THE END
喜欢就支持一下吧
点赞0
分享
评论 抢沙发