Server ManagementIntermediate10 min

How to Install cPanel on Your Server

Complete guide to installing cPanel/WHM on your dedicated server or VPS

Introduction

cPanel is one of the most popular web hosting control panels. This guide will walk you through the installation process on a fresh CentOS server.

Step 1: Prepare Your Server

Ensure your server meets the minimum requirements: CentOS 7 or 8, at least 1GB RAM, and a valid hostname.

hostnamectl set-hostname server.yourdomain.com

Step 2: Download cPanel Installer

Download the latest cPanel installation script from the official repository.

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

Step 3: Run the Installation

Execute the installation script. This process can take 1-2 hours depending on your server specifications.

sh latest

Step 4: Access WHM

Once installation is complete, access WHM at https://your-server-ip:2087 and complete the initial setup wizard.

Conclusion

You have successfully installed cPanel/WHM on your server. Remember to keep your installation updated and configure your firewall properly.

#cPanel#WHM#Linux#CentOS

Need Help?

If you encounter any issues following this tutorial, our support team is here to help 24/7.