1. Check the status of selinux , open the terminal, enter getenforce, press Enter, and Enforcing is displayed.
getenforce
2. Temporarily close, enter setenforce 0 in the terminal.
setenforce 0
3. Close permanently, enter vim /etc/selinux/config in the terminal, press Enter,
vim /etc/selinux/config
(1) down arrow,
Select the line SELINUX=enforcing,
Press the I key on the keyboard,
into the inserted state,
(2) Will
SELINUX=enforcing
changed to
SELINUX=disabled
(3) Press the Esc key, then press the : key, enter wq (note lowercase), and press Enter
4. Restart the system reboot and (the terminal command is init 6).