centos7 关闭防火墙

admin4年前IT技术1291

1、命令行界面输入命令“systemctl status firewalld.service”并按下回车键。


2、然后在下方可度以查看得到“active(running)”,此时说明防火墙已经被打开了。


3、在命令行中输入systemctl stop firewalld.service命令,进行关闭防火墙。


4、然后再使用命令systemctl status firewalld.service,在下方出现disavtive(dead),这权样就说明防火墙已经关闭。


5、再在命令行中输入命令“systemctl disable firewalld.service”命令,即可永久关闭防火墙。


相关文章

mount:is write-protected, mounting read-only解决方案

window10升级之后就遇到mount: **** is write-protected, mounting read-onlymount: cannot mount *** read-only尝试...

使用acme.sh申请Let‘s Encrypt的SSL证书并安装的步骤

在CentOS 7上使用acme.sh申请Let’s Encrypt的SSL证书并安装在Nginx服务器的步骤,可以分为以下几个主要步骤:一、安装acme.sh安装必要的工具:确保你的系统中已安装so...

openclaw安装教程

http://127.0.0.1:18789,在设置里填 API。重新运行孵化命令:在终端输入 openclaw hatchWindows10 中国大陆环境 从零安装【原版 OpenClaw】+配置N...

yt-dlp+ffmpeg

1. 安装Python和ffmpegPython:安装时把pip和添加系统环境变量都选上ffmpeg:下载好exe文件,把目录添加到系统环境变量就行2. 安装yt-dlppip install yt-...

本人安装Magento2.4.6安装踩坑大集合

1.痛点1 composer 的版本查看命令输入错误,导致我以为我安装失败 composer --version或者 composer -Vcomposer create-proj...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。