Install the open source CyberPanel on Almalinux

Are you looking for a free and open source web hosting control panel? Then try CyberPanel on AlmaLinux or Rocky Linux 8. It’s a free alternative to the popular WHM Cpanel, which comes with an OpenLiteSpeed ​​web server to provide the best possible performance.

CyberPanel has a web-based, graphical and user-interactive dashboard from which we can access users, Vhost templates; multiple PHP versions; MySQL database and more.

It also provides a CLI tool that can use commands on the server terminal to perform various useful operations such as creating users, resetting permissions, and other tasks.

Steps to install CyberPanel on Rocky Linux or Almalinux 8

CyberPanel requirements:

  • Server with a fresh AlmaLinux 8 or Rocky Linux 8
  • Python 3.x
  • 1 GB RAM or higher
  • 10 GB hard disk space

Access your server terminal

If you have physical access to the server’s command line interface, this is fine. Otherwise it is recommended to use SSH to access local or remote installed Almalinux or Rocky Linux servers. Here we are using Amazon Cloud to perform this tutorial.

Update the 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 the root user

To install the CyberPanel on your AlmaLinux or Rocky you need root access, the sudo user does not work. So change to root:

sudo su -

Run the CyberPanel installation script on Almalinux or Rocky 8. the end

The CyberPanel process is very simple, everything is set to install automatically, however some input is required from the user which will be shown later in this tutorial. First, let’s download and run the CyberPanel installation script.

sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

Once the script is downloaded and run as the root user, the first thing it does is check the system compatibility and whether or not it meets the necessary hardware resource requirements.

Install Cyberpanel

The text-based wizard prompts you for input ‘1“To start the installation process.

Next, choose which version of LiteSpeed ​​you want to install – the company will be paid while OpenLitSpeed is an open source program. So, go for it ‘1‘.

Cyberpanel with openlitespeed

Press ‘Y ‘ and press Enter.

Install full cyber panel services

If you want to have your MySQL database on the same server go to ‘n‘otherwise’ J ‘.

CyberPanel offers two web interfaces, one of its own to manage the server services, while the other from OpenLiteSpeed ​​can access the web server-related information and tasks. So if you want to set a password for the latter, you can do so here. Otherwise the system will set a random password which you will receive at the end of the installation.

Install PHP and its extension along with other things; the process will ask your permission and wait for some time.

Install the database on the Cyberpanel

Once you’re done, you’ll see the login url for CyberPanel (port 7080) and OpenLiteSPeed (8090). Save your passwords too.

Cyberpanel username and password details

Don’t forget to open ports 8090 and 7080 in your server firewall. If you’re 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

While cloud hosting users need to open the ports in their cloud firewall.

Access OpenLiteSpeed:

After opening the ports, open a browser on your system that can access the server’s IP address and get the OpenLiteSpeed ​​web interface by typing: http://your-server-ipaddres:8090

OpenSpeed ​​dashboard

CyberPanel web interface

For the management interface of the web hosting control panel, use https://your-server-ipaddres:7080

Sign in Cyberpanle web hosting control panel OpenSpeed ​​Lite login

Now you can easily manage your web server and website with OpenLiteSpeed ​​and CyberPanel web hosting control panel running on AlmaLinux or Rocky Linux 8. Please see Cyberpanel’s official documentation for more information.

Other articles:

• How to install OpenLiteSpeed ​​Webserver on AlmaLinux or Rocky Linux 8
• Best Free Cloud Hosting Control Panels for Linux Servers in 2022
• CentOS Web Panel: How to install on CentOS 7 or 8 Linux
• How to install DirectAdmin on AlmaLinux 8 or Rocky Linux


Source link

Comments are closed.