This topic describes how to disable the firewall and SELinux.
If you are an individual user, you can skip this topic. If you are an enterprise user, we recommend that you disable the firewall and SELinux.
Note
You must perform this operation on each server.
Disable the firewall
Run the following commands in the shown sequence to disable the firewall:
systemctl disable firewalld
systemctl stop firewalld
systemctl status firewalld
Disable SELinux
Run the following command to open the /etc/selinux/config configuration file:
vi /etc/selinux/config
In the /etc/selinux/config file, change the value of SELINUX to disabled:
SELINUX=disabled
Run the following command or restart the server for the change to take effect:
setenforce 0
Run the following command to check whether the change has taken effect:
sestatus