Firewall (firewalld)
-
Temporarily stop the firewall
systemctl stop firewalld
-
Disable the firewall at startup
systemctl disable firewalld
-
Temporarily start the firewall
systemctl start firewalld
-
Enable the firewall at startup
systemctl enable firewalld
-
Check the firewall status
systemctl status firewalld
END
SELinux
-
Temporarily disable SELinux enforcement
setenforce 0
-
Temporarily enable SELinux enforcement
setenforce 1
-
Disable SELinux at startup
Edit the /etc/selinux/config file and set SELINUX to disabled, as shown below. SELinux will be disabled on the next boot.
-
Check the SELinux status
Run the getenforce command








