修改/etc/selinux/config文件中设置SELINUX=disabled ,然后重启服务器。
使用命令setenforce 0
附:
关闭SELinux的两种方法
原文:https://www.cnblogs.com/zzl0916/p/13828055.html