码迷,mamicode.com
首页 > 系统相关 > 详细

Linux——Centos7关闭防火墙命令

时间:2018-05-18 10:07:45      阅读:305      评论:0      收藏:0      [点我收藏+]

标签:火墙   mct   firewall   关闭防火墙   fir   not   plain   linux   disable   

systemctl stop firewalld.service   #停止firewall
systemctl disable firewalld.service   #禁止firewall开机启动

systemctl start firewalld.service

firewall-cmd --state   #查看默认防火墙状态 关闭后显示notrunning,开启后显示running

Linux——Centos7关闭防火墙命令

标签:火墙   mct   firewall   关闭防火墙   fir   not   plain   linux   disable   

原文地址:https://www.cnblogs.com/wuhl-89/p/9054681.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!