Install CyberPanel on CentOS 7 with OpenLiteSpeed
CyberPanel is a powerful hosting control panel built on top of OpenLiteSpeed. This tutorial provides detailed instructions to help you deploy CyberPanel on a CentOS 7 server. Throughout the guide, the IP address 192.0.2.123
is used as an example.
Prerequisites
Before you begin, ensure you have root privileges on a VPS running a 64-bit version of CentOS 7.
Step-by-Step Installation Guide
Step 1: Update System Packages
Begin by updating all installed packages on your server.
# yum update -y
Step 2: Download the CyberPanel Installer
Use the following command to fetch the installation script.
# wget -O installer.sh https://cyberpanel.net/install.sh
Step 3: Make the Script Executable and Start Installation
Modify the script permissions and run it to begin installation.
# chmod 755 installer.sh
# sh installer.sh
Step 4: Select Installation Options
Choose option 1 to install CyberPanel.
CyberPanel Installer v2.00
1. Install CyberPanel.
2. Addons and Miscellaneous
3. Exit.
Please enter the number[1-3]:
Again, select option 1 to proceed with OpenLiteSpeed.
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]:
Step 5: Choose Full Installation
Confirm by typing Y
to install CyberPanel with additional services like PowerDNS, Postfix, and Pure-FTPd.
Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.
Full installation [Y/n]:
Step 6: Proceed with Latest Version
Press Enter to install the most recent version.
Press Enter key to continue with latest version or
Enter specific version such as: 1.9.4 , 1.9.5 ...etc
Step 7: Define Admin Password
Choose from default, random, or custom password settings for the admin user.
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]
Step 8: Install Optional Extensions
Confirm the installation of Memcached by typing Y
.
Do you wish to install Memcached extension and backend?
Please select [Y/n]:
Then approve the installation of Redis® in the same way.
Do you wish to install Redis extension and backend?
Please select [Y/n]:
Step 9: Enable WatchDog
Activate the WatchDog feature for automatic service monitoring by typing Yes
.
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):
Firewall Configuration for CyberPanel
Ensure both the operating system firewall and cloud firewall allow traffic on the required ports. These rules must be set for both inbound and outbound connections:
- TCP 8090 – Used by CyberPanel.
- TCP 80, TCP 443, UDP 443 – Required for serving websites over HTTP and HTTPS.
- TCP 21, TCP 40110–40210 – Enable FTP functionality.
- TCP 25, 587, 465, 110, 143, 993 – Necessary for sending and receiving email.
- TCP 53, UDP 53 – Used by DNS services.
Initial CyberPanel Configuration
After installation, navigate to your server’s IP followed by port 8090. For example, open:
https://192.0.2.123:8090
On the login screen, use the following credentials:
- Username: admin
- Password: 1234567
Once logged in:
- Click on the downward arrow beside the Cyber Panel name in the top-right user menu.
- Select Edit Profile from the dropdown list.
- On the Modify User screen, choose admin from the user list.
- You can now update the first name, last name, email address, and password as needed.
Conclusion
By following this tutorial, you have successfully deployed and configured CyberPanel on a CentOS 7 server. The control panel is now ready to manage websites, DNS, mail services, and more. Make sure all services are functioning properly and that firewall settings are actively protecting your infrastructure while allowing necessary traffic.