The right way to Set up WHM/cPanel in Almalinux?

cPanel is a broadly used internet hosting management panel. As it’s simple to make use of, a majority of internet hosting suppliers provide it with Shared Internet hosting, Cloud Internet hosting, VPS internet hosting, Devoted Servers, and many others. Whereas WHM (Net Host Supervisor) admin panel is used to handle a number of cPanel-based web sites. Questioning the right way to set up it in Almalinux? On this information, we have now listed the entire course of of putting in WHM/cPanel in Almalinux. So let’s start with what Almalinux is?

What’s AlmaLinux, and Why Select AlmaLinux? 

AlmaLinux is a free Cloudlinux various to CentOS, first launched in March 2021.

AlmaLinux is the most recent and most secure model of the working system. The preferred OS was CentOS 8, however sadly, the Pink Hat introduced that it could not help the CentOS 8 after thirty first Dec 2021 and upgraded it to CentOS 8 stream. 

In between all this, cPanel introduced it could not help the CentOS stream. So now, AlmaLinux 8 has been launched and will likely be supported till 2029.

Advantages of AlmaLinux


Free and open-source:

You should not have to pay for an RHEL license if you happen to select AlmaLinux. 

Proceed help:

AlmaLinux rapidly fixes bugs and points and releases the replace on time. 

WHM/cPanel help:

Paid management panels will proceed to work and develop with AlmaLinux. And management panels which are already appropriate with AlmaLinux will work flawlessly and safely.

The long-term help:

AlmaLinux 8.x will likely be supported till 2029, giving customers loads of time to belief it. 

Virtualization know-how:

AlmaLinux Is supported by virtualization applied sciences corresponding to OpenVZ and KVM.

Sources required for the set up of AlmaLinux 8

  • Legitimate static IP tackle 
  • Hostname
  • 2 GB really useful. (1 GB can also be advantageous) 
  • Free area of 20 GB in arduous drive

Notice: You can’t uninstall the management panel from the server upon getting put in it.
If you wish to take away it, it’s essential reinstall AlmaLinux. 

The right way to Set up the WHM/cPanel on AlmaLinux 8process-to-installFirst, we have to replace the prevailing packages to the most recent model.

1. Run the system

Run the next command:

yum replace

    yum improve


2. Set up Perl and Curl

The cPanel is written in Perl, so it’s essential set up the Perl on Almalinux 8. 

In addition to, you may also set up curl to obtain the cPanel set up script. 


yum set up perl curl


3. Obtain the WHM cPanel set up script

Run this line to obtain the script to the principle listing to automate the set up process.


cd /dwelling

curl -o newest -L https://securedownloads.cpanel.internet/newest


4. Run the cPanel set up script

Use the given command to begin the execution of the downloaded script 


sh newest


5. Log in to WHM

To entry the WHM, enter “https://Server_IP:2087” into the browser’s tackle bar. 

Now enter the AlmaLinux root consumer and password to entry knowledge for WHM and settle for the phrases and circumstances. 


6. Apply for WHM/cPanel trial license

To create an account with the WHM service, click on on the login button.
As soon as a 15-day free trial has been issued, add the e-mail tackle and internet hosting service naming server particulars. 


7. WHM dashboard

To start out internet hosting a web site, create a cPanel account on it. 

Listed below are a couple of directories for cPanel put in stuff, in case we have to entry it from the command line on AlmaLinux 8.


cPanel directories: /usr/native/cpanel

Third-party instruments: /usr/native/cpanel/3rdparty/

Directories of addons or cPanel add-ons: /usr/native/cpanel/addons/

Fundamental recordsdata like PHPMyAdmin, themes: /usr/native/cpanel/base/

cPanel binaries: /usr/native/cpanel/bin/

CGI recordsdata: /usr/native/cpanel/cgi-sys/

Entry to cPanel & Error occasion recordsdata: /usr/native/cpanel/logs/

WHM recordsdata: /usr/native/cpanel/whostmgr/

Apache configuration: /and many others/httpd/conf/httpd.conf

Configuration of the Exim mail server: /and many others/exim.conf

Named configuration recordsdata: /and many others/named.conf

Configuration recordsdata ProFTP and Pureftpd: /and many others/proftpd.conf and /and many others/pure-ftpd.conf

cPanel consumer recordsdata: /var/cpanel/customers/username

cPanel configuration recordsdata (tweak settings): /var/cpanel/cpanel.config

Community configuration recordsdata: /and many others/sysconfig/community

Addons and subdomain info: /and many others/userdomains

cPanel replace recordsdata: /and many others/cpupdate.conf

Clamav configuration recordsdata: /and many others/clamav.conf

MySQL configuration recordsdata: /and many others/my.cnf

PHP.ini configuration recordsdata: /usr/native/lib/php.ini

(Visited 121 occasions, 1 visits right now)

39 Years In the past, Jimmy Buffett Gained a Lawsuit That Inadvertently Sparked a $1.5 Billion Enterprise

5 Frequent Errors to Keep away from Throughout a Crypto Bear Market