centos7怎么关闭防火墙

centos7怎么关闭防火墙,第1张

centos7怎么关闭防火墙

centos7中,可利用systemctl命令来关闭防火墙,语法“systemctl stop firewalld.service”;还可利用“systemctl disable firewalld.service”语句禁止防火墙开机启动。

本教程 *** 作环境:centos7系统、Dell G3电脑。

CentOS 7.0默认使用的是firewall作为防火墙

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

相关推荐:《Linux视频教程》

以上就是centos7怎么关闭防火墙的详细内容,

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/712189.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-24
下一篇 2022-04-24

发表评论

登录后才能评论

评论列表(0条)

保存