Install WHM on AlmaLinux OS

themodernpk

Pradeep Kumar

Posted on July 29, 2022

Install WHM on AlmaLinux OS

Step 1) OS Installation

Use "AlmaLinux-8.6-x86_64-minimal.iso" (minimal) OS version.

During the installation of AlmaLinux, make sure to setup following:

https://drive.google.com/file/d/15--Ro7lq0h9j4jYv4Imez3ClDutV-_CM/view

1) Installation Destination
During setup it will ask to "Reclaim space", make sure to confirm it. You delete all old disk if not needed.

2) Newwork Setup
2.1) Configure the Static IP of your server and turn on the Ethernet
2.2) Change the host name and click apply

3) Setup Root Password

And Click "Begin Installation"

After installation reboot the server.

Step 2) Update and Setup SSH

Login to your server using root username and password.

Run following command to update the OS:

sudo dnf update
Enter fullscreen mode Exit fullscreen mode

Setup SSH

sudo dnf install openssh-server openssh-clients
Enter fullscreen mode Exit fullscreen mode

Now, you should be able to connect with your server via SSH.

Step 2) Install CPanel

Run following commands:

iptables-save > ~/firewall.rules
systemctl stop firewalld.service
systemctl disable firewalld.service

sudo dnf -y install perl
sudo dnf -y install curl
Enter fullscreen mode Exit fullscreen mode

Install CPanel from following command:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Enter fullscreen mode Exit fullscreen mode

Once this installation is complete. You should be able to visit following url:

https://PUBLIC-IP:2087
Enter fullscreen mode Exit fullscreen mode

And can login using root username & password.

đź’– đź’Ş đź™… đźš©
themodernpk
Pradeep Kumar

Posted on July 29, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related