> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to install cPanel?

[cPanel](https://help.ex2.com/en/article/what-is-cpanel-vq3toz/?bust=1784206091492) is the #1 Hosting Control Panel in the web hosting industry, and you can easily install it.

### What are the requirements?

* Fresh CentOS 6 or 7, installed on your VPS/Server.

# How to install cPanel?

1. [Login to your VPS/Server via the SSH Client](https://help.ex2.com/en/article/how-to-use-ssh-access-on-ex2-hosting-15g8fis/).

2. Please copy the following command and paste it in the SSH Console. Then press enter.

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

3. The cPanel installation has begun. It can take from 15 to 25 minutes.

![](https://www.ex2.com/clients/img/cpanel-installation-started-on-console.gif)

4. Once the installation is complete, the console will display a message like the cPanel Installation has been completed.

![](https://www.ex2.com/clients/img/cpanel-installation-completed.gif)

5. Open https://your-server-IP-here:2087 (WHM)

6. Enter the username root in the username field.

7. Enter your root password in the password field.

8. Click the Login button.

![](https://www.ex2.com/clients/img/cpanel-whm-login-first-time.gif)

# cPanel/WHM Setup Wizard:

Step 1: Read and accept the agreement.

![](https://www.ex2.com/clients/img/cp-whm-agreement-accept.gif)

Step 2: Setting up Nameserver & Email:

* Email Address: Enter your email address. You will receive cPanel related alert on your email.
* Nameservers: Enter your domain nameserver such as ns1.example.com and ns2.example.com (Replace example.com with your domain name).![](https://www.ex2.com/clients/img/cp-whm-step2-networking.gif)

Finally, click the Finish button.

Congratulations, the cPanel Installation is complete, and now you will need to compile Easy Apache, change settings, install a firewall, etc.