Sunday, November 22, 2026
TR
LinuxOpen Source

Installing cPanel on CentOS 8

Installing cPanel on CentOS 8

To install cPanel & WHM on your server, run the following command. Do not exit the screen session until the installation is complete.

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

License

Every cPanel & WHM server requires its own license. If you do not already have a license for cPanel & WHM, you can obtain one for your server's IP address. To get a cPanel & WHM license, visit the cPanel Store .

Firewalls

Although the installer tries to open the required ports during installation, we recommend that you disable the operating system firewalls before running the cPanel and WHM installation. Once the installation is finished, we recommend that you configure a firewall with a third-party client such as APF or CSF .

To disable firewalls on CloudLinux 6, run the following commands:

/etc/init.d/iptables save
/etc/init.d/iptables stop
/sbin/chkconfig --del iptables

To disable firewalls on CentOS 7 and 8, CloudLinux 7 and 8, and RHEL 7, run the following commands, where ~/firewall.rules represents the firewall rules file:

iptables-save > ~/firewall.rules
systemctl stop firewalld.service
systemctl disable firewalld.service

Hardware Requirements

Operating system and versionProcessorRAMDisk spaceArchitecture
CentOS 8 and CloudLinux 81.1 GHzMinimum : 1 GBRecommended : 2 GBMinimum : 20 GBRecommended : 40 GB64 bit
CentOS 7, CloudLinux 7 or RHEL 71.1 GHzMinimum : 1 GBRecommended : 2 GBMinimum : 20 GBRecommended : 40 GB64 bit
CloudLinux 61.1 GHzMinimum : 768 MBRecommended : 1 GBMinimum : 20 GBRecommended : 40 GB64 bit

Virtual environments

cPanel products support the following virtual environments, with the following restrictions:

  • KVM – No additional restrictions.
  • Linux Containers – cPanel and WHM require additional configuration to run inside a Linux Container. For more information, read our Linux Containers documentation .
  • Linux-VServer – No additional restrictions.
  • Microsoft Server® 2008 Hyper-V, Microsoft Server 2012 Hyper-V – cPanel supports only the drivers and configurations provided by Microsoft®.
  • OpenVZ
    • cPanel supports only stable releases.
    • CloudLinux is not compatible with OpenVZ .
  • Oracle VM VirtualBox, VirtualBox OSE – No additional restrictions.
  • QEMU – No additional restrictions.
  • SmartOS – cPanel & WHM functionally detects this virtual environment and reports it, but we do not officially support it.
  • Virtuozzo ™
    • CloudLinux is not compatible with Virtuozzo .
    • We support Virtuozzo version 7 and earlier.
    • We only support Virtuozzo KVM and container environments.
  • VMware® Server, VMware ESX Server – No additional restrictions.
  • Xen, XenEnterprise ™, XenExpress ™, XenServer ™ – No additional restrictions.

Kerim Koç

Systems and infrastructure engineer. I write about Linux, open source, high availability and security.