Setting up a web hosting environment requires a reliable operating system and a robust control panel. AlmaLinux has become the primary choice for server administrators, offering a stable, enterprise-grade foundation. Pairing it with cPanel gives you a graphical interface to manage domains, emails, and databases effortlessly. This guide walks you through the exact process of deploying cPanel & WHM on your virtual private server. We will cover the prerequisite system updates, the core installation script, and the final configuration steps. Whether you are migrating from another platform or launching a new hosting business, following these instructions will get your server ready for production quickly and securely. Let us get your environment configured.
Minimum System Requirements
Your physical server hardware must use a strict 64-bit architecture to properly execute all modern control panel software binaries. This requirement is strictly mandatory. The central processor needs at least a 1.1 GHz clock speed for basic system operations. Use a faster 2 GHz multi-core CPU instead. This ensures smooth performance under load.
Allocating sufficient memory and disk space directly dictates exactly how many websites your VPS server can host simultaneously. More resources prevent system crashes entirely. Review the exact hardware baseline for AlmaLinux 9 deployments in the table below.
| Component | Minimum Requirement |
|---|---|
| CPU | 1.1 GHz (64-bit) |
| RAM | 2 GB |
| Storage | 20 GB |
| Network | Standard 100 Mbit/s |
Proper network configuration is absolutely essential for license validation and reliable mail delivery across the global internet infrastructure today. Use a valid fully qualified domain name. Shared IP addresses often cause registration failures.
How to Install cPanel on AlmaLinux: Step-by-Step Guide 2026
We will focus exclusively on AlmaLinux 9, as it is the current standard for modern cPanel deployments. Before running the installation script, ensure your server meets the minimum hardware requirements and has a valid standard hostname. You also need root access via SSH. Open your terminal, connect to your VPS, and follow the sequence below to build your control panel environment.
Step 1: Refreshing System Repositories and Packages
A fresh operating system image often contains outdated software versions and missing security patches. Applying the latest updates prevents dependency conflicts during the cPanel installation. We use the DNF package manager to synchronize the repository metadata and upgrade all installed packages to their latest stable releases.
The command above downloads and installs the newest versions of all system packages. Once the process finishes, you must restart the machine to load the updated kernel.
Wait for the server to restart completely and log back in via SSH before moving to the next phase.
Step 2: Executing the Core Installation Script
cPanel provides an automated script that handles the heavy lifting, including downloading the necessary binaries and configuring the base services. You will download and execute this script directly from the official repository. This process takes some time, usually between 15 to 45 minutes, depending on your network speed and server CPU.
We navigate to the home directory to keep the workspace clean and avoid permission issues.
This line fetches the most recent installation file from the cPanel servers and saves it locally.
Running this script initiates the installation. Monitor the terminal output for any errors. Once it finishes, you will see a success message confirming the deployment.
Step 3: Finalizing the Control Panel Configuration
The software is now on your disk, but it requires initial configuration and license validation. You will access Web Host Manager (WHM) using your server IP address and the designated port. The setup wizard guides you through basic server settings, nameserver configuration, and service management.
This command forces a license update, ensuring your server is properly authorized to run the software without interruption.
Use this to verify that the cPanel service is actively running in the background.
Open your web browser and navigate to https://your_server_ip:2087. Log in as root to begin the WHM setup wizard, where you will configure your nameservers, set up contact emails, and define your default IP addresses.
Conclusion
Your AlmaLinux server is now fully equipped with a professional hosting control panel. You can start creating accounts, configuring DNS zones, and managing your web properties directly from the WHM dashboard. Keeping your operating system and control panel updated is crucial for maintaining security and performance. If you need a reliable, high-performance virtual private server to host this setup, explore the optimized VPS solutions at VPS.one to ensure your infrastructure runs smoothly around the clock.