CentOS7关闭防火墙和selinux时间:2023-03-09 13:25:59 直接上命令 在root用户下 systemctl stop firewalld systemctl disable firewalld systemctl status firewalld vi /etc/selinux/config 把SELINUX=enforcing 改成 SELINUX=disabled 重启电脑就可以了