Changes

Jump to navigation Jump to search
m
Line 49: Line 49:     
==== Disable SELinux ====
 
==== Disable SELinux ====
SELinux is enabled by default. We want to disable it for there are a few services (httpd) that get blocked by SELinux. To check this you can enter the command:
+
SELinux is enabled by default. We want to disable it for there are a few services (httpd) that get blocked by SELinux. To check the status of SELinux you can enter the command:
 
  getenforce
 
  getenforce
   −
and to disable SELinux enter the command:
+
SELinux uses policies that conflict with some of the SME Server services ports like https. One can adjust the allowed ports, or remove the SELinux policies and disable SELinux by the following commands:
 
  setenforce 0
 
  setenforce 0
  −
SELinux uses policies that conflict with some of the SME Server services ports like https. One can adjust the allowed ports, or remove the SELinux policies and disable SELinux by the following commands:
  −
sed -i -e 's/rhgb quiet/selinux=0/g' /boot/grub/grub.conf
   
  sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 
  sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 
  yum remove selinux-policy-targeted
 
  yum remove selinux-policy-targeted

Navigation menu