Install cPanel on Rocky Linux 9 Server


This article provides a guide for how to install cPanel on Rocky Linux 9 Server. This guide requires root-level access.

Prerequisites

How to Install cPanel on Rocky Linux 9 Server

To install cPanel on Rocky Linux 9 server, follow the steps:

  1. Login to the SSH terminal as root user.
  2. Run the following commands:
    dnf update -y
    dnf -y install nano perl
    echo "CPANEL=stable" >> /etc/cpupdate.conf
    echo "RPMUP=daily" >> /etc/cpupdate.conf
    echo "SARULESUP=daily" >> /etc/cpupdate.conf
    echo "STAGING_DIR=/usr/local/cpanel" >> /etc/cpupdate.conf
    echo "UPDATES=daily" >> /etc/cpupdate.conf
    cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
  3. Wait until the install script has finished (15-45 minutes).
  4. Login to the WHM interface (https://<your_ip_address>:2087)
  5. Accept the cPanel terms of service and enter the Name servers

Conclusion

You now know how to install cPanel on Rocky Linux 9 server.

Related:

Launch 100% SSD Rocky Linux VPS from $2.49/mo!

  • rocky linux, cpanel setup, installation, whm
  • 6 Users Found This Useful
這篇文章有幫助嗎?

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

How to Uninstall Installatron in WHM cPanel Server

This guide will show you how to quickly uninstall Installatron software from WHM/cPanel server....

How to Install Installatron in WHM cPanel Server

This guide will show you how to download and install Installatron on your cPanel/WHM server. To...

How to Install Softaculous with cPanel/WHM

This guide will show you how to download and install Softaculous on your cPanel/WHM server. To...