How to Install CyberPanel on Web Hosting Tool on Ubuntu 20.04

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 Ubuntu 20.04, 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:

apt update -y
apt upgrade -y

This step is necessary to install the latest packages.

Step 2: Install Required Dependencies

Install the necessary dependencies by running the following command:

apt install -y sudo curl wget lsb-release

This will install essential utilities required for CyberPanel installation.

Step 3: Download and Install CyberPanel

Download and execute the CyberPanel installation script by running:

sh <(curl -sSL https://cyberpanel.net/install.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.

Acces Cyberpanel

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

Note: Replace YOUR-VPS-IP-ADDRESS with actual IP Address

Log in for the CyberPanel will be provided as below,

images

You'll get the login page,

images

Once logged in you'll get the dashboard as below,

images

Step 5: 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

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.

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