systemctl status firewalld
systemctl stop firewalld
systemctl restart firewalld
systemctl start firewalld

关闭开机启动
systemctl enable firewalld.service
打开开机启动
systemctl disable firewalld.service

selinux
sestatus -v 或者 getenforce 查看状态
vim /etc/selinux/config
修改 SELINUX=disabled 关闭selinux 需要重启
enforcing 强制模式
permissive 宽容模式
disabled 关闭

最后修改:2023 年 08 月 23 日
如果觉得我的文章对你有用,请随意赞赏