Michael O.
2min Read

Install cPanel on Centos

Install cPanel on Centos

You can install cPanel on CentOS for better system administration. cPanel is a web-based control panel that can make tasks like website creation, database management and database deployment so much easier to manage. cPanel is convenient in that it allows users to administer servers through a GUI interface instead of the traditional command line. To install cPanel, you need a VPS license, either directly from cPanel or from an authorised distributor. cPanel also includes options for hosting your own DNS services. If you want to provide DNS services, you will need to add A records for your nameservers in your WHM. If you also want to use a domain name for these nameservers, you will need to ask your domain name registrar to DNS glue records before proceeding. cPanel requires the distribution-supplied/upstream CentOS kernel, so you need to make sure you are booted with that kernel and not your hosting provided kernel. Don’t forget to view our web hosting offers.

How to install cPanel on CentOS

Installation should be performed as the root user via SSH, on a newly deployed CentOS server. Make sure you run these steps as root or with the sudo prefix.

  1. Login to your server as the root user via SSH to its IP address.
  2. Disable NetworkManager before running the install script:

systemctl stop NetworkManager.service

systemctl disable NetworkManager.service

systemctl enable network.service

systemctl start network.service

  1. Download and install cPanel by issuing the command:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

  1. Verify your cPanel license:

/usr/local/cpanel/cpkeyclt

As simple as that, you have now installed cPanel.

Why choose cPanel

Many end users and system administrators alike choose cPanel for its user-friendly interface and comprehensive navigation. It is widely recognised as being the most intuitive and reliable control panel on the market. Once you have installed cPanel according to the steps above, the next stage is to configure it to your specific requirements and preferences. Keep an eye out for our next blog post on how to configure your cPanel. For more information or assistance, contact HOSTAFRICA today.


The Author

Michael O.

Michael is the founder, managing director, and CEO of HOSTAFRICA. He studied at Friedrich Schiller University Jena and was inspired by Cape Town's beauty to bring his German expertise to Africa. Before HOSTAFRICA, Michael was the Managing Director of Deutsche Börse Cloud Exchange AG, one of Germany's largest virtual server providers.

More posts from Michael