Are you looking for a free and open source web hosting control panel? Then try CyberPanel on AlmaLinux or Rocky Linux 8. It is a free alternative to the popular WHM Cpanel which comes with an OpenLiteSpeed ââweb server to provide the best possible performance.
CyberPanel has an interactive web-based, graphical and user dashboard, from which we can access users, Vhost models; several versions of PHP; MySQL database, and more.
It also offers a CLI tool whose commands can be used on the terminal server to perform various useful operations such as creating users, resetting permissions and other tasks.
Steps to install CyberPanel on Rocky Linux or Almalinux 8
- Server with a new AlmaLinux 8 or Rocky Linux 8
- Python 3.x
- 1 GB of RAM or more
- 10 GB of disk space
Access your terminal server
If you have physical access to the server command line interface this is fine, otherwise it is recommended to use SSH to access local or remote servers installed by Almalinux or Rocky Linux. Here we are using the Amazon cloud to complete this tutorial.
Update Rocky Linux or Almalinux 8 system
Before running any command, it is recommended that you run the system update once to make sure everything is up to date.
sudo dnf update sudo dnf upgrade
Install curl and wget
sudo dnf install wget curl -y
Switch to root user
To install the CyberPanel on your AlmaLinux or Rocky you must have root access, the sudo user will not work. Therefore, go to the root:
sudo su -
Run the CyberPanel installation script on Almalinux or Rocky 8
The process of CyberPanel is very simple, everything is configured to install automatically, however, a few entries are required for the user, we will see them later in this tutorial. Let’s start by downloading and running the CyberPanel installation script.
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
After the script is downloaded and executed as root user, it will first check the compatibility of the system and whether it meets the required hardware resource requirements or not.
The text assistant will ask you to enter ‘1‘to start the installation process.
Then select the version of LiteSpeed ââyou want to install – the company is paid while OpenLitSpeed is an open source. Therefore, go ahead ‘1‘.
Hurry ‘You and press the Enter key.
If you want to have your MySQL database on the same server, choose ‘NOT‘otherwise’ O ‘.
CyberPanel offers two web interfaces, its own, to manage server services, while OpenLiteSpeed’s provides access to information and tasks related to the web server. Therefore, if you want to set a password for it, you can do it here, otherwise the system will set a random one which you get at the end of the installation.
Install PHP and its extension along with other things; the process will ask for your permission and wait a while.
Once done, you will see the URL for connecting to CyberPanel (port 7080) and OpenLiteSPeed (8090). Also save your passwords.
Remember to open ports 8090 and 7080 in your server’s firewall. If you are using a built-in firewall, use 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
Whereas cloud hosting users need to open the ports in their cloud firewall.
Go to OpenLiteSpeed:
Once you have opened the ports, open a browser on your system that can access the server’s IP address and get the OpenLiteSpeed ââweb interface by typing-
CyberPanel web interface
For web hosting control panel management interface, use-
Now you can easily manage your web server and website using OpenLiteSpeed ââand CyberPanel web hosting control panel running on AlmaLinux or Rocky Linux 8. For more details refer to Cyberpanel official documentation.
â¢ How to install OpenLiteSpeed ââWeb Server on AlmaLinux or Rocky Linux 8
â¢ Best free cloud hosting control panels for Linux servers for 2022
â¢ CentOS Web Panel: how to install it on CentOS 7 or 8 Linux
â¢ How to install DirectAdmin on AlmaLinux 8 or Rocky Linux