How to install CyberPanel with OpenLiteSpeed on Ubuntu 22.04

Aggiornato il 2026-10-28 13:01:36 13 visite

Introduction

CyberPanel is a next-generation hosting control panel for the high-performance OpenLiteSpeed Web server with a user-friendly interface. The CyberPanel installation script also allows you to install OpenLiteSpeed and all the software necessary to manage Web hosting, DB, and mail services for your domains with a single click.

Before starting the tutorial, don't you have a Linux Ubuntu 22.04 Cloud server where you can install your Cyberpanel with OpenLiteSpeed? Don't worry! With just one click, you can easily deploy it with SWHosting.

Step 1: Update the system

Before installing any new software on Ubuntu, remember that you should always update the system to have the latest versions of the software packages. To do this, open a terminal and run the following commands:

sudo apt-get update
sudo apt-get upgrade -y

Step 2: Install CyberPanel with OpenLiteSpeed

To install CyberPanel, you must download and run the CyberPanel installation script by running this command:

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

You should receive a similar result, where you will have to enter the number 1 to start the CyberPanel installation:

...

Checking server location...

Desktop OS not detected. Proceeding

System: Ubuntu 22 detected...

Checking virtualization type...

Initialized...

	CyberPanel Installer v2.3.5

1. Install CyberPanel.

2. Exit.


  Please enter the number[1-2]: 1

In the next question, you should also choose the first option to install CyberPanel with OpenLiteSpeed:

...

1. Install CyberPanel with OpenLiteSpeed.

2. Install Cyberpanel with LiteSpeed Enterprise.

3. Exit.


  Please enter the number[1-3]: 1

For this step, you should also include PowerDNS, Postfix, and Pure-FTPd with the installation by entering 'Y'.

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

Full installation [Y/n]: Y

If you wish to use a remote MySQL server (a server that is not the same one where CyberPanel is being installed), you can select 'Y'; otherwise, you should also install MySQL by entering the option “N”:

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

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

Next, simply press [Enter] to install the latest version of CyberPanel:

Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc

Branch name set to v2.3.5

Here you can also choose any option, but it is recommended to generate a random password or set your own password. In this tutorial, we selected option r for a random password.

Please choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password?
Choose [d]fault, [r]andom or [s]et password: [d/r/s] r

Then, you can choose to install Memcached and its PHP extension by indicating option Y

Do you wish to install Memcached process and its PHP extension?
Please select [Y/n]: Y

Also, you can choose to install Redis and its PHP extension by indicating option Y

Do you wish to install Redis process and its PHP extension?
Please select [Y/n]: Y

In the next step, it is recommended to run the watchdog script to detect problems in the tables and the data, indicating option Y

The watchdog script will be automatically started up after installation and server reboot
If you want to kill the watchdog , run watchdog kill
Please type Yes or no (with capital Y, default Yes): 
Y

After this step, the installation will continue and if you have selected the random option (r) for the password, the admin password that has been randomly generated will be indicated. We will finish the installation by selecting option y to restart the server.

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

                Current Disk usage : 9/18GB (57%)

                Current RAM  usage : 479/3890MB (12.31%)

                Installation time  : 0 hrs 45 min 0 sec

                Visit: https://81.25.126.188: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

Step 3: Access the CyberPanel control panel

Now you can access the CyberPanel installation at http://YourServerIpAdress:8090 or https://YourNameServer:8090

success Congratulations! You have successfully installed CyberPanel with OpenLiteSpeed ​​on Ubuntu 22.04.

Remember that if you do not yet have a Cloud server with the Linux Ubuntu 22.04 operating system, you can easily deploy it with SWHosting.