How to Install CyberPanel on an Ubuntu VPS

If you are planning to use a VPS but do not want to incur extra costs for a control panel, you can use CyberPanel as the control panel for your VPS. We will discuss how to install CyberPanel on a VPS in this article.

For those who do not know, CyberPanel is a web hosting or VPS control panel powered by OpenLiteSpeed or LiteSpeed Enterprise so that we can manage our websites easily and improve website speed thanks to the support of LiteSpeed technology.

How to Install CyberPanel on an Ubuntu VPS

Currently, CyberPanel can be installed on several operating systems. Since we are discussing how to install CyberPanel on an Ubuntu VPS, we need to use one of the following Ubuntu versions: Ubuntu 18.04, Ubuntu 20.04, or Ubuntu 22.04.

In addition to the Ubuntu version, there are several server requirements for installing CyberPanel, including:

  • Python 3.x
  • 1024MB RAM or higher
  • 10GB disk space or higher

Oh, and since there are two versions, CyberPanel and CyberPanel Enterprise we will use the free version here, which is CyberPanel, not CyberPanel Enterprise.

Step 1: Access the VPS via SSH

To access the VPS, we need to use SSH from our device, so make sure you have a stable internet connection to connect to SSH without any issues.

Next, to log in via SSH, we can use the PuTTY application, or we can use CMD or Terminal directly and then run the following command

ssh roo@server_ip -p 22

Step 2: Update the VPS System

As usual, before installing applications on a VPS, it is recommended to update the system to avoid any unexpected errors.

Use the command below to update the Ubuntu system

sudo apt-get update && apt upgrade -y

Wait for the update process to finish. If the update process takes too long, you might try using a local Ubuntu repository.

Step 3: Run the CyberPanel Installation

Please note that to install CyberPanel on a VPS, we need root access, either by logging in directly as the root user or by switching to the root user after connecting to SSH using the command sudo su –

If you log in to SSH directly with the root account, you can run the CyberPanel installation using this command

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

However, if you do not log in directly as root but can switch to the root user with the command sudo su – then you can use this command

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

Step 4: Choose the CyberPanel Installation Type

Now we need to choose the CyberPanel installation type. As mentioned earlier, we have two installation options, namely the free installation or the paid installation.

Cara Install Cyberpanel di VPS Ubuntu - 4-1

Since we are using the free version installation here, enter the number 1, then press enter to continue.

Step 5: Select Add-ons

Currently, there are several add-ons that can be installed along with the CyberPanel installation process, such as PowerDNS to manage DNS records, Postfix to manage or send emails, and Pure-FTPd for FTP server access.

Cara Install Cyberpanel di VPS Ubuntu - 5-1

It is recommended to perform a Full Installation, because if those add-ons are not needed later, we can turn them off through the CyberPanel control panel page.

Once you have selected the basic add-ons, there will be an option to use remote SQL. This means our database server will need to be set up on a different server.

Cara Install Cyberpanel di VPS Ubuntu - 5-2

By default, the option is No where we can install the database on the same server.

Step 6: Select the CyberPanel Version

In this step, it is recommended to install the latest version by simply pressing enter without entering anything.

Cara Install Cyberpanel di VPS Ubuntu - 6-1

However, if you want to install an older version of CyberPanel, you can find the list of versions here: CyberPanel Change Logs

Step 7: Set the CyberPanel Password

This is the most important step where we can set the password that will be used to log in to CyberPanel as an admin.

Cara Install Cyberpanel di VPS Ubuntu - 7-1

By default, CyberPanel will use the password “1234567“, but we can change it using the following options:

  • d : Use the default password (1234567)
  • r : Use a random password (recommended)
  • s : Set your own password to be used on our server

Step 8: Install Object Cache and Watchdog

By default, Object Cache in the form of Redis and Memcached will be installed on our CyberPanel. However, if you do not want to use Object Cache, we can turn off this feature even while we are performing the installation process.

Cara Install Cyberpanel di VPS Ubuntu - 8-1

Next, for this watchdog, I actually do not fully understand it, so it is recommended to use the default settings, where the default is Yes or installed.

Step 9: Installation Complete

Well, it is not actually finished immediately after choosing the watchdog option, as we need to wait for the installation process, which may take a few minutes.

However, once the installation process is complete, we will get the details of our CyberPanel installation, including the password, so there is no need to worry if we previously chose the random password option.

###################################################################                CyberPanel Successfully Installed
                Current Disk usage : 7/30GB (26%)
                Current RAM  usage : 263/964MB (27.28%)
                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: gQKFWm9O3nr7Xns
                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 firewallPlease make sure you have opened following port for both in/out:TCP: 8090 for CyberPanelTCP: 80, TCP: 443 and UDP: 443 for webserverTCP: 21 and TCP: 40110-40210 for FTPTCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail serviceTCP: 53 and UDP: 53 for DNS serviceYour provider seems blocked port 25 , E-mail sending may not work properly.

Step 10: Access CyberPanel

To ensure CyberPanel is ready to use, we can try to access CyberPanel by accessing https://<your server’s IP address>:8090, for example https://192.168.168.168:8090

Usually, when accessing the panel for the first time, we will get a message Your connection is not private because the SSL used on the panel is invalid.

Cara Install Cyberpanel di VPS Ubuntu - 10-1

The solution is to click on the Advanced option, and then there will be an option to Proceed to IP_Address (unsafe). Just click that link, and we will be redirected to the CyberPanel login page.

Cara Install Cyberpanel di VPS Ubuntu - 10-2

Enter the username and password obtained from the message after we finished installing CyberPanel earlier, and congratulations! We have now successfully installed CyberPanel.

Cara Install Cyberpanel di VPS Ubuntu - 10-3

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...