How to Install cPanel on Linux



cPanel is a Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a website. In addition to the GUI, cPanel also has command line and API-based access that allows third party software vendors, web hosting organizations, and developers to automate standard system administration processes. Application-based support includes Apache, PHP, MySQL, PostgreSQL, Perl, and BIND (DNS). Email based support includes POP3, IMAP, and SMTP services. cPanel is accessed via https on port 2083.

In this article, we will be known about the installation of cPanel on Linux.

First, set the FQDN for system by using systemctlctl command as follows

#hostnamectl set-hostname

Now Update the system by using the following command

#yum -y update

Once the update completes, change to the directory by using cd command

#cd /home

Now download the latest version of cPanel by using the following command

#curl -o latest -L

Sample output:

Now install cPanle by using the command as follows

#sh latest

Sample output:

If you get any error run the following command and run once again the above command


Once it completes, it shows CPanel installation completes.

Access it by using http://ip-address:2087 and complete the remaining configuration.

Log in with the root user privileges to complete the cPanel installation. Click on I agree button then choose IP address, Name server, Ftp server, and Quotas.

The dashboard of Cpanel looks like:

Enjoy Webhosting with Cpanel now!