How to Install CyberPanel: Step-by-Step Guide

CyberPanel is a powerful and user-friendly web hosting control panel, based on OpenLiteSpeed, that makes it easy to manage your websites. Whether you are a website owner, developer or server administrator, CyberPanel offers a range of features to help you manage your web projects with ease. In this article, we will see the steps to install CyberPanel on your server.

CyberPanel installation requirements

Before you begin installing CyberPanel, it is important to ensure that you have the necessary elements for a successful installation.

Here are the prerequisites for the installation of CyberPanel:

  • You will need a VPS or dedicated server with a compatible operating system. CyberPanel supports CentOS 7.x or 8.x, Ubuntu 18.04 or 20.04;
  • Server with 1 GB or more of RAM;
  • At least 10 GB of disk space;
  • Python 3.x ;
  • Root access: The installation and configuration of CyberPanel requires root or sudo access on your server.
  • SSH connection: PuTTY (for Windows) or Terminal (for macOS and Linux).

Once you have verified that all the prerequisites are in place, you are ready to proceed with the installation of CyberPanel on your server.

CyberPanel Installation Step by Step

Step 1: Connect to your server via SSH

Before starting the installation, you must open an SSH connection on your server.

Step 2: Update packages

For Ubuntu/Debian, here is the command you should use:

sudo apt update && sudo apt upgrade -y

For CentOS/RHEL/Alma/Rocky:

sudo yum check-update
sudo yum update

Step 3: Run the installation script

Run the following command. It will run the automated installation script, which will ask you to make some decisions about the version of LiteSpeed and the add-ons you want to install.

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

If you are not logged in as root, you can use this command:

sudo su - -c "sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)"

Step 4: Installing CyberPanel

When you have run the script, the installation starts and you have to select options. Type 1 to continue the installation.

Checking virtualization type...

Initialized...

		CyberPanel Installer v2.3.3

1. Install CyberPanel.

2. Exit.


  Please enter the number[1-2]: 1

Select the version of LiteSpeed to install. If you select LiteSpeed Enterprise, make sure you have obtained a license key first.

		CyberPanel Installer v2.3.3

RAM check : 119/7957MB (1.50%)

Disk check : 3/194GB (2%) (Minimal 10GB free space)

1. Install CyberPanel with OpenLiteSpeed.

2. Install Cyberpanel with LiteSpeed Enterprise.

3. Exit.


  Please enter the number[1-3]: 1

Answer with Y for a complete installation, and then N for the MySQL to be deployed locally on your server.

Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.

Full installation [Y/n]: Y

Full installation selected...

Do you want to setup Remote MySQL? (This will skip installation of local MySQL)

(Default = No) Remote MySQL [y/N]: N

After that, answer the different options and type in the password that you will use later to log in to CyberPanel.

The installation takes about 15 minutes depending on the speed of your internet connection.

###################################################################
                CyberPanel Successfully Installed                  
                                                                   
                Current Disk usage : 8/194GB (5%)                        
                                                                   
                Current RAM  usage : 310/7957MB (3.90%)                         
                                                                   
                Installation time  : 0 hrs 17 min 0 sec                 
                                                                   
                Visit: https://21.75.52.77:8090                     
                Panel username: admin                              
                Panel password: *****                              
                                                                   
             Run cyberpanel help to get FAQ info
             Run cyberpanel upgrade to upgrade it to latest version.
             Run cyberpanel utility to access some handy tools .
                                                                   
              Website : https://www.cyberpanel.net                 
              Forums  : https://forums.cyberpanel.net              
              Wikipage: https://docs.cyberpanel.net                
              Docs    : https://cyberpanel.net/docs/               
                                                                   
            Enjoy your accelerated Internet by                  
                CyberPanel & OpenLiteSpeed 				                     
###################################################################
If your provider has a network-level firewall
Please make sure you have opened following port for both in/out:
TCP: 8090 for CyberPanel
TCP: 80, TCP: 443 and UDP: 443 for webserver
TCP: 21 and TCP: 40110-40210 for FTP
TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service
TCP: 53 and UDP: 53 for DNS service
Would you like to restart your server now? [y/N]:y

Once the installation is complete, here is the installation summary and login information. You must then type y to restart the server.

Welcome!

This server is hosted by Contabo. If you have any questions or need help,
please don't hesitate to contact us at [email protected].

Last login: Sat Apr  8 13:25:28 2023 from 102.64.163.181

This server has installed CyberPanel.
Visit  https://www.cyberpanel.net
Forum  https://forums.cyberpanel.net
Log in https://21.75.52.77:8090

Current Server time : 2023-04-08 13:50:41.
Current Load average: 0.22, 0.06, 0.02
Current CPU usage   : 6.54941%.
Current RAM usage   : 273/7957MB (3.43%).
Current Disk usage  : 8/194GB (5%).
System uptime       : 0 days, 0 hours, 0 minutes.

Enjoy your accelerated Internet by CyberPanel.

[email protected]:~# 

After the reboot, it is now time to connect to CyberPanel.

Check the installation and connection to CyberPanel

After completing the installation of CyberPanel, it is important to verify that everything is working properly.

Access the CyberPanel interface: Open your browser and enter the IP address of your server, followed by port 8090, in the address bar:

https://votre_adresse_ip:8090
How to Install CyberPanel: Step-by-Step Guide

You will get a security alert, click on advanced settings and continue.

How to Install CyberPanel: Step-by-Step Guide

Log in to CyberPanel: Use the “admin” username and the administrator password you defined during installation to log in to the CyberPanel interface.

How to Install CyberPanel: Step-by-Step Guide

Explore the Dashboard: Once logged in, you should see the CyberPanel Dashboard. Browse through the different sections and make sure you can access all the features without any problems.

Once you have verified the installation and everything is working properly, you can start using CyberPanel to manage your websites and take advantage of its many features.

In a future article, you will see how to connect CyberPanel with Cloudflare to facilitate the management of DNS records.

Répandre l'amour

Adam Guipelbé

Ingénieur Systèmes et Réseaux

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.