首页 > 百科 > 综合百科

centos关闭防火墙命令 centos6.5防火墙关闭命令

来源: 更新时间:2022-06-09 13:02:53
The Beginning

centos关闭防火墙命令的步骤如下:


  1、首先打开xshell软件连接到centos主机,使用命令“systemctl status firewalld.service”查看防火墙状态。

  

  2、按下回车键执行后,可以看到标注的“active(running)”,说明防火墙是开启状态。

  

  3、命令行里敲入命令“systemctl stop firewalld.service”,可以关闭运行的防火墙。

  

  4、关闭后再使用命令systemctl status firewalld.service查看防火墙状态,如果出现disavtive(dead)的字样,说明防火墙已经关闭。

  

  5、若设置永久关闭防火墙,则输入命令“systemctl disable firewalld.service”,即可永久禁止防火墙服务,下次重启也不会开启。

  

  

THE END

TAG:防火墙  命令  标签  简介  

猜你喜欢

相关文章