Let's begin by updating the existing packages to their latest versions:
- Execute the following command to update the system:
yum update && yum upgrade
- Install Perl and Curl: cPanel relies on Perl, necessitating its installation on AlmaLinux 8. Additionally, you can install Curl to facilitate downloading the cPanel installation script:
yum install perl curl
- Download the WHM cPanel installation script: Retrieve the installation script and place it in the primary directory for streamlined installation:
cd /home
curl -o latest -L https://securedownloads.cpanel.net/latest
- Execute the cPanel installation script: Initiate the installation process by executing the downloaded script:
sh latest
- Access WHM: To enter WHM, input “https://Server_IP:2087” into the browser's address bar. Provide the AlmaLinux root user credentials to access WHM's data and agree to the terms and conditions.