How to disable SELinux on CentOS 7.x in code Posted on 2019-07-16 | Edited on 2019-07-19 How to disable startup services from Aliyun12sed -i.bak /etc/selinux/config -r -e 's/^SELINUX=.*/SELINUX=disabled/'setenforce 0 如果您觉得我的经验能够帮助到您,请不吝赏赐,非常感谢! Donate WeChat Pay Alipay