CentOS7关闭防火墙设置命令

首先查看防火墙的状态
systemctl status firewalld.service
CentOS7关闭防火墙设置命令
active(running)表示防火墙开启
然后执行命令进行关闭
systemctl stop firewalld service
关闭后,使用命令systemctl status firewalld.service 查看防火墙状态可以看到,disavtive(dead)的字样,说明防火墙已经关闭
CentOS7关闭防火墙设置命令

前面的方法,一旦重启操作系统,防火墙就自动开启了,应该执行下面的命令来设置才能永久关闭防火墙呢?
输入命令:
systemctl disable firewalld.service,开机禁止防火墙服务器
systemctl enable firewalld.service,开机启动防火墙服务器
CentOS7关闭防火墙设置命令