How to install aaPanel on Rocky Linux 8?

From LHYcloud Docs
Jump to navigation Jump to search

What is aaPanel?

aaPanel is a free and open-source web hosting control panel that provides a graphical interface (GUI) to manage web servers easily. Instead of using only Linux command-line operations, it allows users to manage websites, databases, files, security, and server settings through a browser-based dashboard.

aaPanel is designed for a minimal and streamlined control panel experience so you get what you need without having to install a range of plugins.

Steps to Install and Use aaPanel on Rocky Linux 8

To set up aaPanel on Rocky Linux 8, you must log in to your server as a non-root user with sudo privileges and set up a basic firewall. Go to the official website https://rockylinux.org/download to download Rocky Linux 8.

Step-1

First, you need to update your local package index with the following command:

sudo dnf update

Step-2

Then, use the following command to download and install the aaPanel installer script:

wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh

This will take some time to complete. When your aaPanel installation on Rocky Linux 8 is completed, you will get the following output:

OutputComplete!success==================================================================Congratulations! Installed successfully!==================================================================aaPanel Internet Address: https://your-server-ip:7800/ec62f815aaPanel Internal Address: https://your-server-ip:7800/ec62f815username: 8spd1w56password: ff81f5af

Warning:If you cannot access the panel,release the following port (7800|888|80|443|20|21) in the security group==================================================================Time consumed: 9 Minute!

Step-3

Check if aaPanel is listening in the correct port which is 7800 in my case:

sudo netstat -nltp

Here is the Output,

Outputtcp 0 0 0.0.0.0:7800 0.0.0.0:* LISTEN

Step-4

Now you must allow the port through the Rocky Linux firewall:

# sudo firewall-cmd --add-port=7800/tcp --permanent

# sudo firewall-cmd --reload

Access aaPanel Web Interface

Step-1

You can access your aaPanel web interface on Rocky Linux 8 by using the URL that was given to you from the installation:

https://your-server-IP:7800/ec62f815

Now you will see the aaPanel login screen. Enter the username and password that you have got from the installation and click Login.

Ap1.webp

Then, you will get the recommended software package screen. Install the LNMP(recommended) by clicking one-click on aaPanel.

Ap2.webp

Step-2

After the installation is completed, you can see the status of the packages.

Ap3.webp

Hopefully, You competed Installation of aaPanel on Rocky Linux 8.