How to Install CyberPanel Web Hosting Control Panel on AlmaLinux 8

CyberPanel is a powerful and free web hosting control panel that simplifies the management of web hosting servers. It is built on top of OpenLiteSpeed and supports several features, including website hosting, email management, and database management, while offering a user-friendly interface.

This document provides a step-by-step guide to install CyberPanel on AlmaLinux 8, including solutions to common errors encountered during installation. The guide includes images/screenshots for easy reference.

Step 1: Update System

First, ensure your system is up to date by running the following commands:

 dnf update -y

This step is necessary to install the latest packages.

Step 2: Install Required Dependencies

Install the necessary dependencies by running the following command:

 dnf install -y wget sudo

This will install essential utilities required for CyberPanel installation.

Step 3: Download and Install CyberPanel

Download and execute the CyberPanel installation script by running:

wget -O installer.sh https://cyberpanel.net/install.sh

This script will automatically install CyberPanel.

Make the script executable:

chmod +x installer.sh
bash installer.sh

Step 4: Installation Process and Choosing Options

Once the installation starts, you will be presented with the following options:

  1. Install CyberPanel
  2. Exit

Type 1 to proceed with the installation. After this, you will be asked to choose some additional options, such as:

  • PHP version: Choose your preferred version (e.g., PHP 8.1).
  • Database: Choose MySQL or MariaDB.

Follow the on-screen prompts to continue.

images

Open your browser and go to https://YOUR-VPS-IP-ADDRESS:8090 and log in using the provided credentials.

images

images

Finalizing the Setup Once logged into the CyberPanel interface, you can finalize the setup by configuring DNS, SSL certificates, and other settings based on your needs.

Common Errors and Solutions

  1. Error: "1: command not found" after selecting option 1 during installation

    • Solution: Ensure you are logged in as the root user using sudo su -, and re-run the installation script.
  2. Error: "You are using SUDO, please run as root user..."
    • Solution: Switch to the root user with sudo su - and then re-run the script.

CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS