First you have to update your system’s existing packages to the latest version. Run the following commands: yum update yum upgrade Now install Perl and curl which we will use to download the cPanel installation script: yum install perl curl download WHM cPanel installation script run this command: cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest Run cPanel installation script using this command: sh latest If you get a hostname error then you can set that by using the command: hostname you-host.example.com Now to login to your WHM go to a browser and enter the following address: https://Server_IP: 2087. Replace Server_IP with your Ip-address. Then you have to enter your AlmaLinux root user and password to access data for cPanel. Accept Terms and conditions. After that to apply for Cpanel & WHM Trail license click on the Login button and create an account with WHM service. Enter your email address and the hosting service naming Server details. Finally,  the WHM is installed on AlamLinux 8, now create a cPanel account on it to start hosing a website.