Today we are going to learn how to install and configure CyberPanel on CentOS 8.
CyberPanel is a free open source control panel that uses OpenLiteSpeed web server. CyberPanel is a web hosting control panel powered by OpenLiteSpeed and LiteSpeed fro enterprises, it helps you set up sites on your preferred cloud provider Example setting up on Amazon cloud, Digital Ocean etc. CyberPanel is simple, fast and secure to use.
CybePanel key features
Cyberpanel is gaining momentum because of the following key features it posses:
- It has modsecurity tool which provide built-in support for real-time defense against web application attacks, with an option to enable OWASP rules.
- It supports auto install for WordPress which make it easy to install WordPress with one-click.
- It has one-click SSL which is now mandatory for all online properties. You can easily issue Let’s Encrypt SSL for web sites.
- It has LiteSpeed cache for WordPress which is auto configured with all WordPress sites.
- It has Git Manager support which attach git repos to your CyberPanel websites which make it easy to deploy code updates directly from your repos via webhooks.
- Fresh CentOS 8 server
- Have users with sudo privileges
- Python 3.x
- Internet connections
Table of Contents
- Update the system repos
- Run the installation script
- Choose OpenLiteSpeed version to use
- Choose options and add-ons to include
- Configuring CyberPanel
1. Update Rocky Linux Repos
For any fresh server install, updating the system is the first thing you can do so that you can make all the repositories up to date. We can begin then by issuing the following command on our terminal.
$ sudo dnf update -y
After the update is complete, then we can proceed to the next step.
2. Run CyberPanel installation script
In order for us to install CyberPanel we need to add the following script on our terminal. Scripts provide an easier an automated way of running the installers. Type the following scritpt into our terminal.
$ wget https://cyberpanel.net/install.sh
# wget https://cyberpanel.net/install.sh --2021-11-13 07:22:45-- https://cyberpanel.net/install.sh Resolving cyberpanel.net (cyberpanel.net)... 18.104.22.168, 22.214.171.124, 2606:4700:3030::6815:2cd8, ... Connecting to cyberpanel.net (cyberpanel.net)|126.96.36.199|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1305 (1.3K) [application/x-sh] Saving to: ‘install.sh’ install.sh 100%[===========================================>] 1.27K --.-KB/s in 0s 2021-11-13 07:22:45 (28.3 MB/s) - ‘install.sh’ saved [1305/1305]
Once download is complete we now need to install the script with the following command;
$ bash install .sh
This bash script will start the installation of CyberPanel into our system.
$ Detecting Centos 8... Initializing... Fetching latest data from CyberPanel server... This may take few seconds... Branch name fetched...v2.1.2 Checking root privileges... You are runing as root... Valid IP detected... Checking server location... Desktop OS not detected. Proceeding System: CentOS 8 detected... Checking virtualization type... Initialized... CyberPanel Installer v2.1.2 1. Install CyberPanel. 2. Exit. Please enter the number[1-2]:
Choose option 1 to install CyberPanel
Install CyberPanel with OpenLiteSpeed
.... CyberPanel Installer v2.1.2 RAM check : 216/1816MB (11.89%) Disk check : 2/60GB (5%) (Minimal 10GB free space) 1. Install CyberPanel with OpenLiteSpeed. 2. Install Cyberpanel with LiteSpeed Enterprise. 3. Exit. Please enter the number[1-3]:
You can then follow all the prompts to complete the installation
Allow the installation to continue.
After it is complete you will see the following;
CyberPanel Successfully Installed Current Disk usage : 8/60GB (14%) Current RAM usage : 479/1816MB (26.38%) Installation time : 0 hrs 9 min 0 sec Visit: https://188.8.131.52:8090 Panel username: admin Panel password: 1234567 Visit: https://184.108.40.206:7080 WebAdmin console username: admin WebAdmin console password: qoUtjUgbMOMgIGo7 Visit: https://220.127.116.11:8090/rainloop/?admin Rainloop Admin username: admin Rainloop Admin password: NGUso49WFbn04W 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 ################################################################### Digital Ocean detected... This 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. Would you like to restart your server now? [y/N]:
CyberPanel runs on port 8090, so to access it use the following on your browser
Now you access the browser
We have learn how to install CyberPanel on CentOS 8. Now you can experiment more with it to learn more. Consult documentation for further instructions.