In order to temporarily disable SElinux, you will need to run this commands;
setenforce 0
SELinux will be turned back on after a reboot.
In order to permanently disable SElinux, you will need to edit this file;
vi /etc/selinux/config
#----[edit the option like this: ]-------
SELINUX=disabled
—————-
and then reboot the server. Your server should now have SElinux permanently disabled.