How to Install CyberPanel on Ubuntu 18.04 LTS

Updated on March 29, 2020
How to Install CyberPanel on Ubuntu 18.04 LTS header image

Introduction

CyberPanel is a web hosting control panel powered by OpenLiteSpeed. This guide describes how to install CyberPanel on Ubuntu 18.04 LTS. This guide uses 192.0.2.123 as an example IP address.

Prerequisites

To install CyberPanel, you need root access to a Vultr VPS running Ubuntu 18.04 LTS. Follow our best practices guide to update the server before installing CyberPanel.

Installation

Download the install script.

# wget -O installer.sh https://cyberpanel.net/install.sh

Make the script executable and run installer.sh.

# chmod 755 installer.sh
# sh installer.sh

Type 1 and Enter to install CyberPanel

            CyberPanel Installer v2.00

1. Install CyberPanel.
2. Addons and Miscellaneous
3. Exit.

Please enter the number[1-3]:

Type 1 and Enter to install CyberPanel with OpenLightSpeed.

            CyberPanel Installer v2.0

RAM check : 71/487MB (14.58%) 
Disk check : 1/20GB (7%) (Minimal 10GB free space)

1. Install CyberPanel with OpenLiteSpeed.
2. Install Cyberpanel with LiteSpeed Enterprise.
3. Exit.
  
Please enter the number[1-3]: 

Type Y and Enter to select the full installation.

Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.
Full installation [Y/n]:

Type Enter to select the latest version.

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

Choose the default password, a random password, or set your own password by typing D, or R, or S. Then type Enter.

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]

Type Y and Enter to install Memcached.

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

Type Y and Enter to install Redis.

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

Type Yes to start WatchDog.

Would you like to set up a WatchDog (beta) for Web service and Database service ?
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):

The script will install CyberPanel, along with its extensions. When finished, the script will display your administrator details.

Configure Firewall

Verify the OS firewall and the Vultr firewall are both open for inbound and outbound on the following ports:

  • 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

Configure CyberPanel

  1. Visit your server's IP address at port 8090. For example: https://192.0.2.123:8090. You will see an admin login.
  2. Enter admin for the username and 1234567 for the password.
  3. Click on the user-menu arrow, next to the name "Cyber Pan".
  4. Choose Edit Profile.
  5. Select admin in the dropdown menu on the Modify User page.
  6. You may now change the first name, last name, email address and password accordingly.

You've successfully installed CyberPanel.