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

Linux关闭防火墙命令

时间:2019-02-22 12:29:58      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:systemctl   关闭   star   启动   art   system   bsp   命令   需要   

在外部访问CentOS中部署应用时,需要关闭防火墙。

关闭防火墙命令:systemctl stop firewalld.service

开启防火墙:systemctl start firewalld.service

关闭开机自启动:systemctl disable firewalld.service

开启开机启动:systemctl enable firewalld.service

Linux关闭防火墙命令

标签:systemctl   关闭   star   启动   art   system   bsp   命令   需要   

原文地址:https://www.cnblogs.com/zxcnn/p/10417356.html

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