How to Install and Configure cPanel: A Step-by-Step Guide

Learn how to install and configure cPanel with our comprehensive step-by-step guide. Get started with cPanel to efficiently manage your web hosting and streamline your server administration.

What is cPanel?

cPanel is a robust Linux-based control panel utilized for efficient web hosting management. Its operation closely resembles that of a conventional desktop application.

With cPanel, you have the ability to manage tasks through a user-friendly interface rather than using complex commands. It offers a graphical interface (GUI) and automation tools to streamline the process of hosting a website.

Why should you use cPanel?

There are many reasons why you may want to use cPanel for your web hosting. Here are some of the pros of using cPanel:

  1. User-friendly interface: The cPanel interface categorize various features under manageable modules, allowing users to locate them easily. You can also customize your dashboard according to your preferences.
  2. High compatibly: As one of the most popular control panels, cPanel is compatible with several web browsers, including Google Chrome, Safari, and Mozilla FireFox. It also supports various operating systems, such as Windows and Linux (such as Ubuntu, CentOS, Rocky Linux and Alma Linux).
  3. Wide range of features: With cPanel, you can perform actions such as installing WordPress, setting up email accounts, creating subdomains, installing SSL certificates, managing databases, and more. cPanel also provide access to various statistics  and analytics tools to monitor your website's performance.
  4. Automatic software installation: cPanel offers a feature called Softaculous that allows you to install hundreds of applications with just a few clicks. You can choose from various categories such as blogs, e-commerce, forums, etc.
  5. Reliable support: cPanel has a large and active community of users and developers who can help you with any issues or questions you may have. cPanel also provide various documentation and tutorials on their official website.

How to install and configure cPanel?

First Option: Use web hosting that provide cPanel:

If you want to use web hosting that provides cPanel, you will need to sign up for an account and choose a plan that includes cPanel. Peramix provides powerful cpanel hosting Link

Second option: Install cPanel on your own server or vps:

cPanel provides 15 days trial to test it functions before you need to buy its license. You will need also a Linux-based server with at least 1.5 GB RAM and 20 GB of disk space, We recommend to start with VPS (virtual private server). 

To install cpanel on your VPS, you need to have a fresh installation of a supported operating system such as a CentOS, CloudLinux, Alma Linux, Rocky Linux or Ubuntu.

The installation process involves the following steps:

  • Log on to your VPS server as root using ssh (Check our article on how to connect vps remotely on Linux here on windows here).
  • Disbale SELinux
setenforce 0
  • Install Perl by entering the following command 
yum install perl
  • Run the below mentioned command to download and install cpanel installation script
cd /home && curl -o latest -L && sh latest
  • Wait for the installation to complete. This mat take several minutes on Peramix VPS.
  • Using your browser, go to the below mentioned link to access your WHM to accept the license agreement and complete the initial setup.


Third Option: Get cPanel installed with Peramix' VPS

Peramix offers a streamlined one-click installation process for cPanel on your VPS. Simply choose the cPanel image during the order placement and allow our system 20 minutes post-payment to set up cPanel on your VPS. Please ensure to obtain a cPanel license from


cPanel is a robust web hosting solution that can be procured from a hosting provider for small websites or deployed on a server or VPS.

Administrator June 14, 2024
Share this post
Why VPS Hosting is the Best Choice for Your Website or Application - Top Benefits Explained
Discover why VPS hosting is the ideal solution for your website or application. Learn about its superior performance, scalability, enhanced security, and cost-effectiveness. Find out how VPS hosting can provide the perfect balance between shared hosting and dedicated servers.