01 - Installing CyberPanel

Requirements

  • Server with a fresh install of Ubuntu 20.04, Ubuntu 22.04, CloudLinux 7, CloudLinux 8, AlmaLinux 8.

  • 1024MB RAM, or higher

  • 10GB Disk Space


CyberPanel vs CyberPanel Ent

CyberPanel is 100% identical in both versions. The only difference is which web server is running in the back-end.

  1. CyberPanel comes with OpenLiteSpeed and is completely free for an unlimited number of domains and worker processes.
  2. CyberPanel Ent comes with LiteSpeed Web Server Enterprise and it is free for 1 domain. If you need more than 1 domain, you can view our pricing page. The CyberPanel license includes the price of your LiteSpeed Enterprise license.

To learn more about the differences between OpenLiteSpeed and LiteSpeed Web Server Enterprise, please see this comprehensive comparison.


Installing CyberPanel

Step 1: Connect to your server via SSH

The installation of CyberPanel is quite simple. First, log into your server via SSH as the root user (sudo will not work). You can get the login details from your web host.

Step 2: Update packages

For Ubuntu: sudo apt update && sudo apt upgrade -y
For CentOS/Alma/Rocky:

sudo yum check-update
sudo yum update

Step 2: Run the installation script

Run the following command. It will initiate the automated installation script, which will prompt you for a few decisions about which version of LiteSpeed and which add-ons you would like to install.

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

If, for some reason, you are not able to log in as root, you can use this command

Step 3: Select the version of LiteSpeed that you would like to use

Select which version of LiteSpeed to install. If you select LiteSpeed Enterprise, please ensure that you have obtained a license key first. It is free for 1 domain, but you still need to obtain the key. Visit the pricing table to decide your desired plan.

CyberPanel Installer v2.1.2

RAM check : 184/981MB (18.76%)

Disk check : 7/30GB (27%) (Minimal 10GB free space)

1. Install CyberPanel with OpenLiteSpeed.

2. Install Cyberpanel with LiteSpeed Enterprise.

3. Exit.


  Please enter the number[1-3]:

If you selected LiteSpeed Enterprise, you will see the following prompt. Enter your serial number

If you do not have any license, you can also use trial license (if server has not used trial license before), type TRIAL

Please input your serial number for LiteSpeed WebServer Enterprise:

Step 4: Select options and add-ons

You will be presented with a series of prompts for different options and add-ons that are available.

Full Service (default Y):

Remote MySQL (default N):

  • Allow for your Database to be installed on a remote server

CyberPanel Version (default Latest Version):

  • You can choose to install a previous version of CyberPanel, or press Enter to install the latest

Password (default “1234567”):

  • It is recommended that you use “s” to set your own strong password

Memcached (default Y):

  • Distributed memory object caching system

Redis (default Y):

  • In-memory data structure store, used as a database, cache, and message broke

Watchdog (default Yes):

  • Kernel watchdog is used to monitor if a system is running. It is supposed to automatically reboot hanged systems due to unrecoverable software errors

Step 5: Installation

The installation process will proceed automatically. It will take 5-10 minutes, depending on the speed of your server.

Step 6: Finalize Installation

At the end of the installation process, you will be presented with the following screen which contains important information about your configuation. Select and copy it to a safe location for future reference.

###################################################################
                CyberPanel Successfully Installed

                Current Disk usage : 7/30GB (26%)

                Current RAM  usage : 313/981MB (31.91%)

                Installation time  : 0 hrs 11 min 0 sec

                Visit: https://<your server's IP address>:8090
                Panel username: admin
                Panel password: <the password you set during installation>
                Visit: <your server's IP address>:7080
                WebAdmin console username: admin
                WebAdmin console password: TSXMwny4zVeDg37K

                Visit: https://<your server's IP address>:8090/rainloop/?admin
                Rainloop Admin username: admin
                Rainloop Admin password: gQKFWm9O3nr7Xn

             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
Your provider seems blocked port 25 , E-mail sending may not work properly.

Step 7: Restart Server

Would you like to restart your server now? [y/N]:

Enter “y” to restart. Or enter “reboot” later after you have performed other desired operations.

Step 8: Access CyberPanel

After the successful installation you can access CyberPanel using the details below (make sure to change):

URL: https://<Your Server's IP Address>:8090 
Username: admin
Password: <the password you set during installation>

Troubleshooting

503 Error After Install

If you get a 503 error after installing CyberPanel, you can do one of the following things.

1. Check LSCPD Status.

systemctl status lscpd

If LSCPD is not running, start LSCPD using:

systemctl start lscpd

2. Manually set up virtualenv

source /usr/local/CyberCP/bin/activate
pip install --ignore-installed -r /usr/local/CyberCP/requirments.txt
deactivate
virtualenv --system-site-packages /usr/local/CyberCP
systemctl restart lscpd

3. Install Logs

If you are still having issues after these steps, you can try to find errors in the install logs, they are located at:

/var/log/installLogs.txt

4. Submit Bug Report

If all of the above failed, please submit a bug report.

3 Likes

CyberPanel Ent comes with LiteSpeed Web Server Enterprise and it is free for 1 domain.

If you selected LiteSpeed Enterprise, you will see the following prompt. Enter your serial number

If you do not have any license, you can also use trial license (if server has not used trial license before), type TRIAL

Please input your serial number for LiteSpeed WebServer Enterprise:

I want use CyberPanel Ent for 1 domain , what should I do? is that free or need the pricing plan?

1 domain with subdoamin and subfolder or just 1domain?

1 Like

The Bug Report link at the end of your post is “invalid or doesn’t exist.”

Bug Report:

Installation fails on AlmaLinux 8.

~]# uname -r
4.18.0-348.12.2.el8_5.x86_64

Install Watchdog set to Yes…

31 files removed
Dependencies resolved.

Package Architecture Version Repository Size

Removing:
epel-release noarch 8-13.el8 @@commandline 35 k

Transaction Summary

Remove 1 Package

Freed space: 35 k
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: epel-release-8-13.el8.noarch 1/1
Erasing : epel-release-8-13.el8.noarch 1/1
Running scriptlet: epel-release-8-13.el8.noarch 1/1
Verifying : epel-release-8-13.el8.noarch 1/1

Removed:
epel-release-8-13.el8.noarch

Complete!
CentOS Linux 8 - PowerTools 5.7 kB/s | 8.1 kB 00:01
Errors during downloading metadata for repository ‘powertools-for-cyberpanel’:

I can’t include anymore error message because “new users can only include 2 urls.”

~]# cat /var/log/installLogs.txt

Starting installation…,1

Initialization completed…,2

Setting up repositories…,1

Installing necessary components…,3

command failed, exiting. For more information read /var/log/installLogs.txt [404]

Try to install again and it should be solved.

Should I be running sudo apt update && sudo apt upgrade -y before installing CyberPanel or does it need to be a truly fresh install?

I ask because different VPS providers seem to install different versions of the same OS, such that if I run apt update, there are anywhere from 0 to 80 packages available to be upgraded, depending on the provider.

1 Like

Its always recommended to do the OS update command before installing or upgrading cyberpanel.

tq sir, try install many times more than 10 time, finally successfully.

Hello World! Installation will be successful if MySQL and PHPMYADMIN are installed on the server? Or do I need to install the cyberpanel on the clean server OpenLitespeed? :man_technologist:

then actually there is something with your datacenter and/or connections

recommended :
Install OS with minimalist and no features
do Upgrade system
restart
install cyberpanel using auto installer

1 Like

hey i am not able to install cyberpanel using
.

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

here is error

Initializing...

Fetching latest data from CyberPanel server...

This may take few seconds...

Unable to fetch Branch name...

Please try again in few moments, if this error still happens, please contact support

is this something to do with cyberpanel github?
@die2mrw007 @usmannasir

Is there anyway to reinstall Cyberpanel without old files not getting deleted??. Or possible to setup database installation again?

@brvnbld Run the upgrade script.

@fluxx have you solved this? Sometimes I get installation errors that are solved by running it again.

Hello! Ubuntu 20.04, why after installation does not show me access to Rainloop Admin and WebAdmin console? (selected to install the latest version)

what command you run to install ?

The one that is here in the guide

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

so, this is new installation
try to destroy the vps
then rebuild
then follow 01 - Installing CyberPanel - Docs / 01 - Install/Upgrade - CyberPanel Community

I have already done this 3 times and tried centOS 8 and in your link - same command to install, no difference.

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

then this is area for developer to check installation script

@shoaibkk @usmannasir

1 Like

Yes, it looks like it is. I will wait for an answer.

1 Like

I’ve removed that you can reset web admin password, because people were trying to access port 7080 thinking it is CyberPanel and we had to deal with tickets.

Link → [Tutorial] How to setup and login to OpenLiteSpeed webadmin console

3 Likes