Install CyberPanel with OpenLiteSpeed on Linux
Install CyberPanel with OpenLiteSpeed on a fresh Linux VPS over SSH, then open the panel to manage websites, email and databases.
In this tutorial, we will be installing a cyber panel in a Linux server and I will try to make the tutorial as easy as possible, we are going to use the free plan which offers: Unlimited Domains Unlimited Subdomains Unlimited Databases Multiple PHP Lets Encrypt SSL LSCache for WordPress Community Support OpenLiteSpeed Server Make sure you have Python installed cmd-
Step 1: Update and Refresh Repository Lists
Open a terminal window, and enter the following:
sudo apt updateStep 2: Install Supporting Software
The software-properties-common package gives you better control over your package manager by letting you add PPA (Personal Package Archive) repositories. Install the supporting software with the command:
sudo apt install software-properties-commonStep 3: Add Deadsnakes PPA
Deadsnakes is a PPA with newer releases than the default Ubuntu repositories. Add the PPA by entering the following:
sudo add-apt-repository ppa:deadsnakes/ppaThe system will prompt you to press enter to continue. Do so, and allow it to finish. Refresh the package lists again:
sudo apt updateStep 4: Install Python 3
Now you can start the installation of Python 3.8 with the command:
sudo apt install python3.8Allow the process to complete and verify the Python version was installed successfully:
python3 --versionWe are ready to install CyberPanel now. Enter this single command, then follow the installer step by step:
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)If you don’t know how to troubleshoot SQL errors, install it without remote SQL to avoid technical errors in future.
Access
After the successful installation, you can access CyberPanel using the details below (Until you have specified login credentials on installation) (make sure to change):
- Visit:
https://YOUR-SERVER-IP:8090 - Username:
admin - Password:
1234567(change it after the first login)
503 Error After Install
If you get a 503 error after installing CyberPanel, you can do one of the following things.
1. Check the LSCPD status
systemctl status lscpdIf LSCPD is not running, start it:
systemctl start lscpd2. Set up the virtual environment manually
source /usr/local/CyberCP/bin/activate
pip install --ignore-installed -r /usr/local/CyberCP/requirments.txt
deactivate
virtualenv --system-site-packages /usr/local/CyberCP
systemctl restart lscpd3. Check the install logs
If you still have issues, look for errors in the install log at /var/log/installLogs.txt.
