Centos7 防火墙的关闭-CSDN博客
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
Centos7 防火墙的关闭
-
Centos7默认使用的是firewall作为防火墙
-
查看防火墙状态firewall-cmd --state
-
停止防火墙systemctl stop firewalld.service;
-
禁止防火墙开机启动systemctl disable firewalld.service;
-
放行端口firewall-cmd --zone=public --add-port=80/tcp --permanent
-
重启防火墙firewall-cmd --reload
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |