Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46


If you installed an operating system from a source other than the cPanel & WHM installer, perform the following actions to make cPanel & WHM compatible with your system.

Disable SELinux security features


  • For cPanel & WHM to run on your server, SELinux must remain disabled
    • Enforcing and permissive modes will not allow cPanel & WHM to function properly. For more information about SELinux modes, read the SELinux Mode documentation.
    • To check whether SELinux is enabled on your server, run the sestatus command.
  • Do not transfer the SELinux configuration file between computers. It may destroy the file's integrity.

To disable SELinux security features, use one of the following methods, and then reboot the server:

  • Use the graphical interface while you configure your operating system.
  • Edit the  /etc/selinux/config  file from the command line, and set the  SELINUX  parameter to  disabled.
If you disable SELinux from the command line, the contents of the /etc/selinux/config file should resemble the following example...
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.


Make certain that the pound sign (# does not  precede SELINUX=disabled. If # precedes this configuration option, the system will ignore the option.

Deactivate the default firewall and check for updates

To deactivate the firewall and check for updates, run the following commands: 

chkconfig iptables off
service iptables stop
yum update
  • No labels