1、禁用selinux
/sbin/setenforce 0
sed -i 's\SELINUX=enforcing\SELINUX=disabled\' /etc/selinux/config
2、禁用防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
1、禁用selinux
/sbin/setenforce 0
sed -i 's\SELINUX=enforcing\SELINUX=disabled\' /etc/selinux/config
2、禁用防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service