Install CyberPanel with LiteSpeed Enterprise on AlmaLinux 9 – Step‑by‑Step Guide
Install CyberPanel with LiteSpeed Enterprise on AlmaLinux 9: step‑by‑step setup, firewall, security, licensing, and first website creation for Indian VPS users.
5 min read
Running a high-performance web stack on an Indian VPS means balancing speed, security, and manageability. CyberPanel with LiteSpeed Enterprise delivers exactly that: a modern control panel and a web server designed for low latency and high concurrency. This guide walks you through a clean installation of CyberPanel with LiteSpeed Enterprise on AlmaLinux 9, the RHEL-compatible distribution that AtoZNode recommends for production workloads.
Prerequisites
Fresh AlmaLinux 9 server with at least 2 GB RAM and 20 GB SSD.
Root access (or a sudo-enabled user).
Static public IP address.
Basic familiarity with the command line.
All commands below are run as root or with sudo. If you are using a non-root user, prepend sudo to each command.
1. Update the System and Install Required Packages
Keeping the OS up-to-date prevents compatibility issues during installation.
# dnf update -y
# dnf install -y wget curl tar vim epel-release
Explanation:
dnf update -y – fetches the latest package metadata and upgrades all installed packages without prompting.
dnf install -y … – installs utilities needed later: wget and curl for downloading files, tar for extraction, vim for quick edits, and epel-release to enable the Extra Packages for Enterprise Linux repository.
2. Set the Hostname and Configure the Firewall
A proper hostname helps SSL certificates and email deliverability.
hostnamectl set-hostname assigns the fully qualified domain name.
The firewall-cmd lines add HTTP/HTTPS services and the specific ports used by CyberPanel (8090) and LiteSpeed admin console (7080), then reload the firewall to apply changes.
Downloads the LiteSpeed Enterprise license key from the CyberPanel repository (you must have a valid license; the installer prompts for it if you have one).
Configures MariaDB with a secure root password.
Sets up the CyberPanel service (cyberpanel) and enables it to start on boot.
4. Verify Services and Access the Panel
After the installer finishes, ensure that both services are active.
# systemctl status lscpd
# systemctl status cyberpanel
Log in with the admin user and the password generated during installation (the script prints it on the console). It is advisable to change this password immediately via the “Change Password” option in the top-right menu.
5. Activate LiteSpeed Enterprise License
If you purchased a LiteSpeed Enterprise license separately, you must register it to unlock the full feature set.
Replace YOUR_LICENSE_KEY with the string provided by LiteSpeed. After registration, verify the status:
# /usr/local/lsws/bin/lswsctrl license status
The output should show License Type: Enterprise. If you are using the trial key supplied by CyberPanel, the status will indicate a trial period.
6. Configure Basic Security Settings
Even though AlmaLinux 9 ships with SELinux in enforcing mode, CyberPanel disables it for compatibility. You can re-enable SELinux after confirming everything works, but at minimum you should:
Enable Fail2Ban to protect SSH and the CyberPanel login page.
Set up a strong firewall rule for the SSH port (default 22).
Replace YOUR.IP.ADDRESS with your workstation’s public IP.
7. Create Your First Website
From the CyberPanel dashboard:
Navigate to Websites → Create Website.
Enter your domain name, select the PHP version (8.2 is the default), and choose a package (the free “LiteSpeed Enterprise” package is sufficient for testing).
Click Create Website. CyberPanel will automatically generate a virtual host, configure LiteSpeed, and create a MariaDB database if you tick the “Create Database” option.
Upload your site files via the built-in File Manager or by using SFTP (user yourdomain.com is created automatically). Once uploaded, you can enable Let’s Encrypt SSL from the SSL → Manage SSL section – CyberPanel will request and install the certificate with a single click.
Conclusion
Installing CyberPanel with LiteSpeed Enterprise on AlmaLinux 9 gives Indian developers and businesses a robust, low-latency hosting environment without the overhead of manual server configuration. The steps above cover system preparation, installation, license activation, basic security hardening, and first-site creation. After the initial setup, you can explore advanced features such as auto-scaling, caching plugins, and multi-domain management—all from CyberPanel’s clean web interface.