1. Temporary closure
setenforce 0
Note: It will still be enabled after restarting the system.
2. Permanently closed
1. vim /etc/selinux/config, SELINUX=disabled, then save and exit.
2. vim /etc/sysconfig/selinux, SELINUX=disabled, then save and exit.
Note: If it does not take effect, just restart
3. Verification method
Enter the command: getenforce