WHM cPanel Installation on Ubuntu 20.04 LTS Server
Make sure before installing the control panel your server must not have any other kind of software installation. This means we need a fresh server.
1. Server System requirements
Let’s first know that your server is compatible to perform the given steps in the tutorial or not. Hence make sure the given minimum requirements are met.
- 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
Switch to root user
In case you have an active firewall and rules then disable them:
iptables-save > ~/firewall.rules systemctl stop firewalld.service systemctl disable firewalld.service
2. Run system update
As we tell in most of our tutorials that before installing any server software platform, run the system update command that will make sure all the existing packages have their latest versions and also rebuild the systems repo cache.
sudo apt update sudo apt upgrade
3. Set fully qualified hostname on Ubuntu 20.04
cPanel needs FQDN- Full qualified domain name for proper installation, hence make sure you have set the hostname to the domain name that you are planning to use with it.
To check your existing hostname type-
sudo apt-get update -y sudo apt-get install -y libfindbin-libs-perl cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest