FAQ » Hosting
How to install CyberPanel
What is CyberPanel?
CyberPanel is a hosting control panel for OpenLiteSpeed.
Simple, Fast and Open Source Control Panel for Cloud hosting.
Easily Deploy WordPress sites on the cloud with CyberPanel, one click staging, transfer and automatic updates.
CyberPanel + LiteSpeed Server = Super-fast Websites!
OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise, developed and maintained by the same team.
Why OpenLiteSpeed?
OpenLiteSpeed outperforms other web servers (such as Apache and Nginx) in a series of benchmarks designed to measure server response time, communication time with PHP, WordPress acceleration, and more.
Adding the popular LiteSpeed Cache for WordPress plugin gives you a 100% open source, accelerated hosting platform for WordPress.
HTTP/3 is available in LiteSpeed products across the board, with rock-solid stability and unbeatable performance.
Enterprise
CyberPanel is 100% identical to CyberPanel Ent. The only difference is which web server is running in the back-end.
CyberPanel comes with OpenLiteSpeed and is completely free for an unlimited number of domains and worker processes.
CyberPanel Ent comes with LiteSpeed Web Server Enterprise, and it is free for 1 domain. If you need more than 1 domain, you can find pricing on the CyberPanel website. The CyberPanel license includes the price of your LiteSpeed Enterprise license.
System Requirements
CyberPanel requires a server with a fresh install of a suitable operating systems.
Any CentOS RHEL-based Linux-distribution, should work, such as:
- Centos 7/8
- AlmaLinux/RockyLinux 8
Debian based Linux-distributions will also work, such as:
- Ubuntu 18.04
- Ubuntu 20.04
It will require the following dependencies to be installed:
- Python 3.x (check using
python3 --version
)
Hardware requirements:
- System Memory: 1GB RAM or above
- Hard Drive: 10GB of Free Disk Space or above
Server requirements:
- Root access to the server - usually via SSH, check with your web hosting provider.
Installing
In this example, we're going to stick with the RHEL-based Linux-distribution, CentOS 7.
Step 1: Update packages
yum check-update
yum -y update
yum -y install python3
Step 2: Run the installation script
# sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1934 100 1934 0 0 7920 0 --:--:-- --:--:-- --:--:-- 7926
Checking and installing curl and wget
Initializing...
Fetching latest data from CyberPanel server...
This may take few seconds...
Branch name fetched...v2.3.2
Checking root privileges...
You are runing as root...
Valid IP detected...
Checking server location...
Desktop OS not detected. Proceeding
System: CentOS 7 detected...
Checking virtualization type...
OpenVZ detected...
PureFTPd service file modified for OpenVZ...
LiteSPeed service file modified for OpenVZ...
SpamAssassin service file modified for OpenVZ...
Removed symlink /etc/systemd/system/multi-user.target.wants/httpd.service.
Created symlink from /etc/systemd/system/httpd.service to /dev/null.
httpd process detected, disabling...
Initialized...
CyberPanel Installer v2.3.2
1. Install CyberPanel.
2. Exit.
Please enter the number[1-2]:
Choose Option 1 and continue.
Step 3: Select the version of LiteSpeed that you would like to use
CyberPanel Installer v2.3.2
RAM check : 44/2048MB (2.15%)
Disk check : 973/45GB (3%) (Minimal 10GB free space)
1. Install CyberPanel with OpenLiteSpeed.
2. Install Cyberpanel with LiteSpeed Enterprise.
3. Exit.
Please enter the number[1-3]:
In this example, we're sticking with option 1.
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.
Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.
Full installation [Y/n]:
- PowerDNS is an open-source DNS server
- Postfix is an open-source mail transfer agent
Pure-FTPd is an open-source FTP server
In this example, we'll go with the full service as we want mail, DNS and FTP.
Do you want to setup Remote MySQL? (This will skip installation of local MySQL)
(Default = No) Remote MySQL [y/N]:
Remote MySQL allows for your Database to be installed on a remote server.
- In this example, we'll say No because we want MySQL to be installed.
Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc
- You can choose to install a previous version of CyberPanel, or press Enter to install the latest
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]
- In this example, we'll use
r
to give us a randomly generated password, which is the recommended option.
Memcached is a distributed memory object caching system.
Do you wish to install Memcached process and its PHP extension?
Please select [Y/n]: Y
Install Memcached process and its PHP extension set to Yes...
- In this example, we said Yes, because it's likely used by Wordpress Caching.
Redis is an in-memory data structure store, used as a database, cache, and message broke
Do you wish to install Redis process and its PHP extension?
Please select [Y/n]: Y
Install Redis process and its PHP extension set to Yes...
- In this example, we said Yes.
Watchdog is a kernel watchdog is used to monitor if a system is running. It is supposed to automatically reboot hanged systems due to unrecoverable software errors.
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):
Yes
Install Watchdog set to Yes...
- In this example, we said Yes, as we'll want to know our system is working correctly.
The installation will now begin...
Step 5: Installation process
The installation process will proceed automatically.
Note: You'll need to allow about 10-15 minutes, depending on the speed of your server.
At the end of the installation process, you will be presented with the following screen which contains important information about your configuration. Select and copy it to a safe location for future reference.
###################################################################
CyberPanel Successfully Installed
Current Disk usage : 7/45GB (17%)
Current RAM usage : 231/2048MB (11.28%)
Installation time : 0 hrs 15 min 0 sec
Visit: https://123.123.123.123:8090
Panel username: admin
Panel password: XXXX
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]:
Enter “y” to restart. Or enter “reboot” later after you have performed other desired operations.
Complete
After the successful installation you can access CyberPanel using the details below:
- URL: https://
<$serverIp>
:8090 - Username: admin
- Password:
Note: It is recommended that you change these details as soon as you are logged in.
That should be it. All installed.
Troubleshooting
NET::ERR_CERT_INVALID
Problem
"Your connection is not private Attackers might be trying to steal your information from hostname (for example, passwords, messages or credit cards). Learn more NET::ERR_CERT_INVALID"
Solution
The only workaround for this seems to be to type in: "thisisunsafe".
Once you're logged in, you can add the server hostname as a website and setup SSL on that.
Error message: Blacklisted domain.
This is because you're trying to add the hostname as the domain for the website.
CyberPanel does not allow you to add a website for the server hostname (it is unclear why).
The solution is to add a website using your domain (eg: example.com), then for the server hostname use a subdomain of that (eg: server.example.com).
Once you've set the server's hostname and added the website, you'll be able to set the hostname SSL.
Once you've issued the SSL. You can then access CyberPanel at: https://"domain":8090
(eg: https://example.com:8090)
If you want to access CyberPanel on: https://panel.example.com:8090
, create an account with domain panel.example.com
. While creating an account you can either check SSL or not, it is optional.
Last updated: 2022-10-27