This guide will walk you through the steps to successfully install WHM cPanel on your Ubuntu 24.04 LTS server.

Prerequisites

Before you begin, ensure you have the following:

You can skip all the steps and have our team install the cPanel / WHM on your MassiveGRID cPanel Server. Simply open up a support ticket after your order and our team will install cPanel / WHM for you.

Step 1: Update Your Server

First, update your server’s package index and upgrade the installed packages to the latest versions.

sudo apt update
sudo apt upgrade -y

Step 2: Set a Hostname

Ensure your server has a valid hostname. This is important for the cPanel installation process.

sudo hostnamectl set-hostname your.hostname.com

Step 3: Disable Network Manager

cPanel does not support Network Manager. You need to disable it and use the traditional network service.

sudo systemctl stop NetworkManager
sudo systemctl disable NetworkManager

Step 4: Install Required Packages

cPanel requires certain packages to be installed. Install them using the following commands:

sudo apt install perl curl -y

Step 5: Download and Install cPanel

Download the latest cPanel installation script and run it. The installation process can take a while, so be patient.

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

Step 6: Complete the Installation

After the script completes, you need to finish the setup through the WHM web interface.

  1. Open your web browser and navigate to https://your.hostname.com:2087.
  2. Log in with the username root and your server’s root password.
  3. Follow the on-screen instructions to complete the setup.

Step 7: Configure Basic Settings

Once logged in, you will be prompted to configure some basic settings such as:

Step 8: Secure Your WHM Installation

Security is crucial for any server. Ensure you take steps to secure your WHM/cPanel installation:

PS: You can skip all the steps and have our team install the cPanel / WHM on your MassiveGRID cPanel Server. Simply open up a support ticket after your order and our team will install cPanel / WHM for you.