As we have discussed in one of our articles earlier this year, CentOS 8 will unexpectedly be reaching its end-of-life this year, in December. We have also talked about the alternatives to CentOS here. But all this information comes down to a few important questions. One of them is would any of those alternative options support cPanel? We’ve got you covered.
cPanel has already announced that its control panel would support AlmaLinux. What about other Linux distributions, like Ubuntu? Well, it has been announced that cPanel now also fully supports Ubuntu LTS (20.04).
REMEMBER: cPanel version 98 for Ubuntu is in the experimental stage. IT IS NOT RECOMMENDED to be used in a production environment.
What is Ubuntu LTS?
LTS (Long Term Support) means that this operating system’s version will be supported for a minimum of five years. A new LTS version is released every two years with lots of security patches to each version. To put it in other words, Ubuntu LTS is stable and secure. Ubuntu 20.04 LTS will be supported until April 2025.
How to install cPanel on Ubuntu 20.04 LTS
It is not too complicated to install cPanel on Ubuntu 20.04. Follow our instructions below.
First of all, you will need to make a cpupdate.conf file to change the cPanel version installed. Now, to install the latest version of the software, you need to make sure your /etc/cpupdate.conf looks like this:
Next, update your server with these two commands:
apt update apt upgrade
Before starting the installator, make sure the hostname of your server is a valid FQDN (hostname). If is not a valid FQDN, you can change it with this command:
Once you are ready with the commands above, you can start the installation by simply running this command:
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
This command changes your session to the home directory, downloads the latest version of cPanel and runs the installation script.
That’s it! You have now installed cPanel on Ubuntu.