install cPanel & WHM on Ubuntu server is very easy, you need a switch to root user and run the following command to install Cpanel in ubuntu
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Hardware requirements
- Operating system and version- Ubuntu 20.04 LTS
- Processor– Minimum: 1.1 GHz and Recommended: 2 GHz
- RAM – Minimum: 1 GB
- Recommended: 4 GB
- Disk Space– Minimum: 20 GB
- Recommended: 40 GB
- Architecture– 64-bit
- Static Ip-address
- FQDN
Networking requirements
Hostname
Your hostname must meet the following requirements:
- Registered and fully-qualified domain name.
- Does not match any of your server’s domains.
- Maximum of 60 characters in length.
- Resolves to a valid IPv4 or IPv6 address.
Firewalls
Important: to install cpanel you just need to disable the firewall. Ubuntu distributions allow you to disable the firewall for the operating system’s installation configuration. We strongly recommend that you use this method.
To deactivate firewalls on Ubuntu, run the following commands to deactivate the firewall, where ~/firewall.rules
represents the firewall rules file:
Run: iptables-save > ~/firewall.rules systemctl stop firewalld.service systemctl disable firewalld.service
Warning:
cPanel & WHM version 98 for Ubuntu 20.04 LTS is experimental software and not recommend for production environments.
For more information, read the cPanel & WHM version 98 for Ubuntu 20.04 LTS documentation.
Conclusion
In this article, You learned how to install cpanel and whm on ubuntu server and fix common issues while installation of cpanel in linux ubuntu.