//Technology

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
Install CyberPanel with LiteSpeed Enterprise on AlmaLinux 9 – Step‑by‑Step Guide

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 panel.example.com
# echo "127.0.0.1   $(hostname)" >> /etc/hosts

Next, open the ports required by CyberPanel and LiteSpeed.

# firewall-cmd --permanent --add-service=http
# firewall-cmd --permanent --add-service=https
# firewall-cmd --permanent --add-port=8090/tcp   # CyberPanel UI
# firewall-cmd --permanent --add-port=7080/tcp   # LiteSpeed admin
# firewall-cmd --reload

Explanation:

  • 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.

3. Install CyberPanel (LiteSpeed Enterprise Edition)

CyberPanel provides a one-click installer script that detects AlmaLinux 9 and pulls the appropriate LiteSpeed Enterprise binaries.

# wget -O installer.sh https://cyberpanel.net/install.sh
# chmod +x installer.sh
# ./installer.sh

During the interactive script you will be asked:

  1. Choose the panel type: select 1 for “CyberPanel with LiteSpeed Enterprise”.
  2. Enter your email address: used for notifications and Let’s Encrypt registration.
  3. Do you want to install Memcached? (optional – recommended for dynamic sites).
  4. Do you want to install Redis? (optional – useful for WordPress caching plugins).

The script performs the following actions behind the scenes:

  • Installs required dependencies (Python 3, MariaDB, PHP 8.2, etc.).
  • 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

If any service is not running, start it manually:

# systemctl start lscpd
# systemctl enable lscpd
# systemctl start cyberpanel
# systemctl enable cyberpanel

Open a browser and navigate to:

https://<your-server-IP>:8090

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.

# /usr/local/lsws/bin/lswsctrl license install YOUR_LICENSE_KEY

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).
# dnf install -y fail2ban
# systemctl enable fail2ban
# systemctl start fail2ban

To restrict SSH access to your IP, add a rule:

# firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="YOUR.IP.ADDRESS/32" port protocol="tcp" port="22" accept'
# firewall-cmd --reload

Replace YOUR.IP.ADDRESS with your workstation’s public IP.

7. Create Your First Website

From the CyberPanel dashboard:

  1. Navigate to Websites → Create Website.
  2. 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).
  3. 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.

cyberpanellitespeed enterprisealmalinux 9web hostingserver installationfirewall configurationsecurity hardeningphp 8.2

Try it on your own server

Follow along on a Cloud VPS with full root access, or read the step-by-step knowledge base guides.

Guides: VPS for WordPress · Node.js hosting · VPS or dedicated server · Paying by UPI