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
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

Disable Network Manager on CentOS 7

This article will provide the steps to disable Network Manager in CentOS 7. Network Manager is...

Disable Network Manager on CentOS 6

This article will provide the steps to disable Network Manager in CentOS 6. Network Manager is...

How to Find the IP of cPanel/WHM Server

This tutorial is designed to troubleshoot and diagnose issues with cPanel license errors. Find...

Uninstall WHMXtra on cPanel Server

This article provides a quick and direct guide for uninstalling the WHMXtra plugin from a...

How to Customize cPanel Installation

This article provides a guide for customizing a cPanel server installation, using the...