How to Install CyberPanel on VPS: A Step-by-Step Guide

Introduction
CyberPanel is a powerful, user-friendly web hosting control panel based on OpenLiteSpeed and LiteSpeed Enterprise servers. It is designed to simplify server management tasks and is an excellent choice for hosting providers or individual VPS users. This guide walks you through installing CyberPanel on your VPS, from preparation to troubleshooting.


System Requirements

Before installing CyberPanel, ensure your VPS meets these requirements:

Hardware Requirements

  • RAM: Minimum 1 GB (2 GB or more recommended).
  • Disk Space: At least 10 GB of free storage.
  • Processor: 64-bit architecture.

Supported Operating Systems

  • AlmaLinux 8
  • Rocky Linux 8
  • CentOS 7.x or 8.x
  • Ubuntu 20.04 or 22.04

Step 1: Log in to Your VPS

  1. Use an SSH client like PuTTY (Windows) or your terminal (Linux/Mac).
  2. Connect to your VPS using the following command:
    ssh root@your-server-ip
    
    Replace your-server-ip with your VPS's IP address.
  3. Enter the root password to log in.

Step 2: Update System Packages

Update your server to ensure all packages are up to date:

yum update -y   # For CentOS/AlmaLinux/Rocky Linux
apt update && apt upgrade -y   # For Ubuntu

Step 3: Set the Hostname

Set a Fully Qualified Domain Name (FQDN) for your server:

hostnamectl set-hostname server.yourdomain.com

Replace server.yourdomain.com with your desired hostname.


Step 4: Install CyberPanel

  1. Download the CyberPanel installation script:

    wget -O installer.sh https://cyberpanel.net/install.sh
    
  2. Run the installation script:

    bash installer.sh
    
  3. The installer will prompt you with options. Choose the appropriate selections:

    • Select the version:

      • Press 1 for the latest version of CyberPanel.
    • Choose the webserver:

      • Press 1 for OpenLiteSpeed (free).
      • Press 2 for LiteSpeed Enterprise (requires a license).
    • Install Full Service:

      • Press Y to install all recommended components (email, DNS, FTP, etc.).
    • Install Memcached and Redis:

      • Press Y to enable them for performance optimization.
    • Install WatchDog:

      • Press Y to monitor and auto-restart services.
  4. Let the installation process complete. It may take 10–20 minutes, depending on your server's performance.


Step 5: Access CyberPanel

Once the installation is complete, you will see the admin login credentials and URL:

  • URL: https://your-server-ip:8090
  • Username: admin
  • Default Password: 1234567

Log in to the CyberPanel dashboard using these details. You can change the default password after logging in.


Step 6: Configure DNS and SSL

  1. Point Domain to Server:
    Update your domain's DNS settings to point to your server's IP address using A and CNAME records.

  2. Issue SSL Certificate:
    Navigate to SSL > Manage SSL in CyberPanel and issue a free SSL certificate for your domain.


Step 7: Enable Security Features

  • Configure the firewall to allow necessary ports:

    firewall-cmd --zone=public --add-port=8090/tcp --permanent
    firewall-cmd --reload
    
  • Use CyberPanel's built-in Security > Firewall to manage additional security settings.


Troubleshooting Tips

1. CyberPanel Installation Fails

  • Ensure your server meets all the system requirements.
  • Re-run the installation script if it fails:
    bash installer.sh
    

2. Unable to Access CyberPanel

  • Verify that port 8090 is open in the firewall:
    firewall-cmd --zone=public --add-port=8090/tcp --permanent
    firewall-cmd --reload
    
  • Ensure the webserver is running:
    systemctl status lscpd
    
    Restart the service if needed:
    systemctl restart lscpd
    

3. Default Password Not Working

  • Reset the CyberPanel admin password:
    adminPass YOUR_NEW_PASSWORD
    
    Replace YOUR_NEW_PASSWORD with your desired password.

FAQ

1. What is CyberPanel?

CyberPanel is a web hosting control panel that uses OpenLiteSpeed or LiteSpeed Enterprise as its web server. It simplifies server management with features like DNS management, email hosting, and SSL configuration.

2. Can I install CyberPanel on a shared hosting server?

No, CyberPanel requires root access and is designed for VPS or dedicated servers.

3. What is the difference between OpenLiteSpeed and LiteSpeed Enterprise?

  • OpenLiteSpeed: Free and open-source.
  • LiteSpeed Enterprise: Paid version with advanced features like HTTP/3, better performance, and LSCache support for dynamic content.

4. How can I uninstall CyberPanel?

Currently, CyberPanel does not provide an uninstaller. You need to reinstall the operating system to remove it completely.

5. How do I update CyberPanel?

Use the following command to update CyberPanel:

sh <(curl -s https://cyberpanel.net/upgrade.sh)

Conclusion

 

CyberPanel is an excellent choice for managing your VPS efficiently, especially with its free OpenLiteSpeed option. By following this guide, you can install CyberPanel, configure essential settings, and troubleshoot common issues. For additional help, feel free to contact our support team.

Răspunsul a fost util? 0 utilizatori au considerat informația utilă (0 Voturi)