Due to the long End of Life at least until 2029 and 2032 and commitment to supporting as a result AlmaLinux OS 8 & 9 Version respectively is becoming popular in the open-source software community. Now cPanel & WHM also support AlmaLinux OS and Ubuntu LTS. For those adopting the latest iteration of AlmaLinux, cPanel announces support for cPanel & WHM versions 114 and later. This ensures that users leveraging AlmaLinux 9 can enjoy the latest features and optimizations offered by cPanel & WHM. This post also describes installation on both operating systems. It looks like AlmaLinux is the best alternative to CentOS 8 Linux. Let’s Check the System Requirements for AlmaLinux & Ubuntu Server.

System Requirements for AlmaLinux & Ubuntu OS

Currently, cPanel / WHM is supporting AlmaLinux OS version 8 and Ubuntu version 20.04 LTS Server.

Operating System Recommended RAM Recommended Disk Space Minimum CPU Processor
Ubuntu 22.04 LTS4 GB40 GB 1.1 GHz
Ubuntu 20.04 LTS4 GB40 GB 1.1 GHz
AlmaLinux 82 GB40 GB 1.1 GHz
AlmaLinux 92 GB40 GB 1.1 GHz
  • Both Operating systems needed a Minimum of 1 GB RAM.
  • Minimum Both OS Needed 20 GB Storage.
  • Both Supporting 64-bit Architecture.
  • In using an Antivirus Scanner, a Strongly recommended minimum of 3 GB RAM.

Others Basic Requirements

  • The hostname should be in a fully qualified domain name and the domain should not be matched in the Cpanel account. The below command will set the hostname in both operating systems.
# hostnamectl set-hostname cpanel.techtransit.org 
  • cPanel recommends disabling the OS firewall. The Cpanel installer opens the necessary port at the time of installation. To deactivate firewalls on AlmaLinux OS 8 & and Ubuntu follow the below steps.

Disabling Firewall on AlmaLinux

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

Disable Firewall on Ubuntu Linux

# iptables-save > ~/ubuntufirewall.rules
# systemctl stop ufw.service
# systemctl disable ufw.service
  • cPanel recommends the Operating System should be in the minimal install state. To set on a minimal target run the below command as the root user to set on multi-user. target, which represents the target. state target.
# systemctl set-default multi-user.target
# systemctl get-default 
  • Perl must be installed. The below command will install Perl package on your server.
# yum -y install perl  
  • Install the curl command.
# yum -y install curl  
  • Disable Security Enhanced Features ( SELinux )

To disable, open the SELinux configuration file /etc/selinux/config and set the parameter SELINUX to disabled.

# This file controls  the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted

Installation Steps for Ubuntu & AlmaLinux OS

Now we will download the Cpanel script on the home directory of the server, which will install Cpanel & WHM. Follow the below steps for installation.cPanel License you can buy from the below button.

# cd /home 
# curl -o latest -L https://securedownloads.cpanel.net/latest
# sh latest

OUTPUT  

Now the script will take some time. You will get some output related to installation information access details. Use in login root as a user and use the password of the root user. You will get WHM access like the below URL.

WHM Access URL

https://your –server-public-ip:2087
OR
https://server-hostname:2087 
Hope this post works for you.please comment here and give us feedback .

By Sachin G

I am a professional freelance contributor and founder of tech transit. Love to write and lover of education, culture, and community. I have been using it, setting, supporting, and maintaining it since 2009.Linux rocks! Sachin G Follow me on LinkedIn and x formerly twitter