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 version | Processor | RAM | Disk space | Architecture |
|---|---|---|---|---|
| CentOS 8 and CloudLinux 8 | 1.1 GHz | Minimum : 1 GBRecommended : 2 GB | Minimum : 20 GBRecommended : 40 GB | 64 bit |
| CentOS 7, CloudLinux 7 or RHEL 7 | 1.1 GHz | Minimum : 1 GBRecommended : 2 GB | Minimum : 20 GBRecommended : 40 GB | 64 bit |
| CloudLinux 6 | 1.1 GHz | Minimum : 768 MBRecommended : 1 GB | Minimum : 20 GBRecommended : 40 GB | 64 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.