关闭防火墙关闭selinux
2022-02-05 本文已影响0人
葛一娜
systemctl stop firewalld.service #关闭防火墙
systemctl disable firewalld.service #永久关闭防火墙
sed -i 's#SELINUX=.*#SELINUX=disabled#' /etc/selinux/config #关闭selinux
systemctl stop firewalld.service #关闭防火墙
systemctl disable firewalld.service #永久关闭防火墙
sed -i 's#SELINUX=.*#SELINUX=disabled#' /etc/selinux/config #关闭selinux