Install cPanel on Rocky Linux 9 Server

Click here for Govt Schemes

Install cPanel on Rocky Linux 9 Server

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

  • Fresh install Rocky Linux 9 VPS or Dedicated Server
  • Root-level access
  • Public IP address
  • Hostname must be a fully-qualified domain name

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.



Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram



Latest POst

Recent Updates


Haryana Goverment Schemes