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:

  • A fresh installation of Ubuntu 24.04 LTS
  • Root access to your server
  • A valid cPanel license
  • At least 2 GB of RAM (4 GB recommended)
  • A fully qualified domain name (FQDN)

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:

  • Agree to the End User License Agreement (EULA)
  • Configure networking setup (ensure your IP address and hostname are correct)
  • Set up nameservers
  • Configure service settings (FTP, mail server, etc.)

Step 8: Secure Your WHM Installation

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

  • Enable the CSF (ConfigServer Security & Firewall) to enhance security.
  • Configure backups to ensure you have copies of your data.
  • Regularly update WHM/cPanel to the latest version to benefit from security patches and new features.

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.
MassiveGRID
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.