CyberPanel is a free and open-source web hosting control panel that comes with an OpenLiteSpeed Web server to provide the best possible performance. With CyberPanel, you can manage SSL certificates, use a user-friendly file manager, configure the web application firewall, manage DNS, manage emails, and more.
Installation of CyberPanel is piece of cake because they made simple install script. You can run installation via SSH.
- Server with a fresh AlmaLinux 8 or Rocky Linux 8
- Python 3.x
- 1 GB RAM, or higher
- 10GB Disk Space
Install CyberPanel on AlmaLinux
Connect to your cloud server using your preferred SSH client. We usually use Putty on Windows. You can see the instructions for using Putty here.
If you use Ubuntu server, you can read more about How to Install Cyberpanel on Ubuntu (18.04 – 20.04 LTS)?
Update Almalinux 8 or 9 system
Now to install CyberPanel, you will need to have root permission. So, use the following command:
sudo su -
Before executing any command it is recommended to run the System Update once to make sure everything is up to date.
sudo dnf update -y sudo dnf upgrade -y
Run CyberPanel installation script on Almalinux
The process of CyberPanel is very simple, everything is set to install automatically, however, a few inputs are needed by the user, will see them later in this tutorial. Let’s first download and initiate the CyberPanel 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 1802 100 1802 0 0 3633 0 --:--:-- --:--:-- --:--:-- 3625 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: AlmaLinux 8 detected... Checking virtualization type... Initialized... CyberPanel Installer v2.3.2 1. Install CyberPanel. 2. Exit. Please enter the number[1-2]:
The text-based wizard will ask you to enter 1 to start the installation process.
1. Install CyberPanel.
Please enter the number[1-2]:
Next select which version of LiteSpeed you want to install- the Enterprise is paid whereas OpenLitSpeed is an open-source one. Hence, go for that 1:
CyberPanel Installer v2.3.2
RAM check : 128/804MB (15.92%)
Disk check : 2/25GB (12%) (Minimal 10GB free space)
1. Install CyberPanel with OpenLiteSpeed.
2. Install Cyberpanel with LiteSpeed Enterprise.
Please enter the number[1-3]:
Press Y and hit the Enter key.
Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.
Full installation [Y/n]:
If you want to have your MySQL database on the same server then go for N otherwise Y.
Do you want to setup Remote MySQL? (This will skip installation of local MySQL)
(Default = No) Remote MySQL [y/N]:
When asked to select the installed version, simply press Enter to use the latest version.
Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 2.0.1 , 2.0.2 ...etc
Then you may see this option:
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]
This option is useful to set up the password you want to use for logging in to the CyberPanel dashboard. That is to say, the default CyberPanel login username is admin and the default password is 1234567. If you want to keep using the default password, go ahead with option d. If you want CyberPanel to randomly generate you a password go with option r. And if you want to use your own password, choose option s which will require you to enter your own password.
You will get to see the password at the end of your CyberPanel installation. And you can always change this password later using the adminPass command followed by your new password like adminPass newpassword. I will go with the random one, so type r in the terminal.
Memcached is an object caching system. It can be useful for your website speed optimization. So, I will install it and press Y:
Do you wish to install Memcached process and its PHP extension?
Please select [Y/n]:
Redis is also a similar object caching system like Memcached. In fact, Redis can do what Memcached does and more with better efficiency. That’s why, Redis is now more popular. You can use Redis and Memcached as alternatives or install both and then select anyone for specific websites. So I will also install it and press Y:
Do you wish to install Redis process and its PHP extension?
Please select [Y/n]:
Watchdog can monitor the basic health of the server and can take some actions in case of any issue. For instance, it may automatically restart the server if the CPU is overloaded, run some defined scripts in response to some specific events in order to repair any errors and so on. But a misconfigurations in watchdog can cause some issues like endless reboot loop, file corruption due to hard reset and others.
This feature is still in beta in CyberPanel. But you can still choose to use it. I will go ahead and press 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):
These should be all the options that you get while installing CyberPanel.
It may take a few minutes to download and install the scripts. So, wait until the download is completed and your terminal is ready to take a command.
After the installation is completed you will see a message like the following:
Here you will find your CyberPanel login URL, username and password as well as the phpMyAdmin username and password.
Once done, you will see the Login URL to CyberPanel (port 8090) and OpenLiteSpeed (port 7080). Save your passwords as well.
Don’t forget to open ports 8090 and 7080 in your Server firewall. If you are using an inbuilt firewall then go for these commands:
sudo firewall-cmd --zone=public --permanent --add-port=7080/tcp sudo firewall-cmd --zone=public --permanent --add-port=8090/tcp sudo firewall-cmd --reload
You can verify by listing the current firewall settings:
sudo firewall-cmd --permanent --list-all
Accessing the Admin Panel
After the installation of CyberPanel, you can access it from your web browser. Enter your servers’ Public IP address followed by :8090 at the URL bar on your web browser and press Enter on your keyboard to access the CyberPanel control panel. The URL that you need to enter in the URL bar of your browser will look something like the following:
Here, 188.8.131.52 is the Public IP address so it will be different for you. And 8090 is the port used to access CyberPanel dashboard.
If you get a warning from your web browser saying the connection isn’t secure, don’t worry. It may happen because CyberPanel uses self-signed SSL certificate but it is nothing to worry about. Therefore, you just need to ignore the warning and find a button on the page that allows you to go ahead on the page. For instance, on Chrome you will need to click on Advanced then click on Proceed to … (unsafe) button to enter into the CyberPanel Login page.
Now, you can manage your web server and website easily using OpenLiteSpeed and CyberPanel Web hosting control panel running on AlmaLinux 8 or 9. For more details refer to Cyberpanel’s official Documentation.