# How to Install cPanel on VPS / Dedicated Server

> cPanel is the #1 Hosting Control Panel in the web hosting industry. You can easily install it. What are the requirements?- Fresh Ubuntu or AlmaLinux OS installed on your VPS/Server. How to install cPanel?1.

- Source: https://support.yash-host.in/getting-started/how-to-install-cpanel-on-vps-dedicated-server/
- Topic: Getting Started
- Last reviewed: 2024-10-20 by Yash Host Support Team
- Publisher: Yash Host Private Limited (https://yash-host.in)

cPanel is the #1 Hosting Control Panel in the web hosting industry. You can easily install it.

**What are the requirements?**
– Fresh Ubuntu or AlmaLinux OS installed on your VPS/Server.

**How to install cPanel?
****1.** Log in to your VPS/Server via the SSH Client.

**2.** Copy the following command and paste it into 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 10 to 20 minutes.
![](https://cdn.kbassets.in/cpanel-installation-started-on-console.gif)

**4.** Once the installation is complete, the console will display a message that **the cPanel Installation has been completed**.
![](https://cdn.kbassets.in/cpanel-installation-completed.gif)

**5.** Open https://your-server-IP-here:2087 (WHM).
**6**. Enter the root username and password.
![](https://cdn.kbassets.in/cpanel-whm-login-first-time.gif)
**7.** Click on **Login**.

**cPanel/WHM Setup Wizard:
**
**Step 1:** Read and accept the agreement.
![](https://cdn.kbassets.in/cp-whm-agreement-accept.gif)

**Step 2:** If the cPanel license is not active, it may ask you to log in to the cPanel store to activate the trial license.

**Step 3:** Setting up Email and Nameservers:
– **Email Address:** Enter your email address. You will receive a cPanel-related alert in your email.
– **Nameservers:** Enter your domain nameservers such as ns1.example.com and ns2.example.com. Please, replace example.com with your domain name.

![](https://cdn.kbassets.in/cp-whm-step2-networking.gif)

Finally, click **Next**.

**Congratulations**, the cPanel installation is complete. All you need to do now is to compile Easy Apache, change settings, install the firewall, etc.

---
Need help? WhatsApp +91 7660000158 · support@yash-host.in
