Linux的艰难学习之路:防火墙开启关闭

centos7上使用root权限操作

查看防火墙状态
systemctl status firewalld

开启防火墙
systemctl start firewalld

关闭防火墙
systemctl stop firewalld

查看端口
lsof -i:3306

猜你喜欢

转载自blog.csdn.net/weixin_43173093/article/details/108233156