Install and Use aaPanel on Rocky Linux 9 | AlmaLinux 9

The aaPanel is a free and open-source control panel used to manage hosting services such as websites, databases, Docker containers, Cron, Python projects, Mail server, Google Cloud, and AWS integration e.t.c. Being a web-based GUI control panel, it makes it easy to manage remote and local machines with its vast features. With aaPanel, it is easy to install LANMP/LAMP (Linux Apache/Nginx, MySQL, PHP), OpenLiteSpeed with just a click.

The other features of aaPanel control panel are:

  • Free security extension which makes very secure to use.
  • Real time management of server resources.
  • It is cross-platform
  • It has a powerful online editor
  • Task scheduling e.g database and website backup is very easy.
  • File management
  • It is lightweight – uses very minimal system resources.

In this guide, we will go through how to install and use aaPanel on Rocky Linux 9 | AlmaLinux 9.

System Requirements.

For this guide you need a system that meets the below requirements:

  • Memory of 512MB and above. Recommended 768MB
  • Hard disk of 100MB freee or more
  • Rocky Linux 9 | AlmaLinux 9 clean installation, Apache/Nginx/php/MySQL installed.

1. Update System and Install Required Packages.

Before we begin on the installation, ensure that your system packages are updated to their latest stable versions. Thereafter install the required packages

sudo yum update -y 
sudo yum install vim curl -y 

2. Install aaPanel on Rocky Linux 9 | AlmaLinux 9.

In this installation, we will begin by downloading the aaPanel installation script from the official aaPanel page.

The install script for Rocky Linux 9 | AlmaLinux 9 can be downloaded using Wget as below.

sudo yum install wget -y
sudo wget -O install.sh https://www.aapanel.com/script/install_7.0_en.sh

Once the download is complete, run the installer script on Rocky Linux 9 | AlmaLinux 9.

sudo bash install.sh

Proceed with the installation as below.


+----------------------------------------------------------------------
| aaPanel FOR CentOS/Ubuntu/Debian
+----------------------------------------------------------------------
| Copyright © 2015-2099 BT-SOFT(https://www.aapanel.com) All rights reserved.
+----------------------------------------------------------------------
| The WebPanel URL will be https://SERVER_IP:21047 when installed.
+----------------------------------------------------------------------

Do you want to install aaPanel to the /www directory now?(y/n): y
........


Created symlink /etc/systemd/system/multi-user.target.wants/btpanel.service → /usr/lib/systemd/system/btpanel.service.
success
Stopping Bt-Tasks...	done
Stopping Bt-Panel...	done
Starting Bt-Panel....	done
Starting Bt-Tasks... 	done
==================================================================
Congratulations! Installed successfully!
==================================================================
aaPanel Internet Address: https://41.90.9.177:21047/34f50609
aaPanel Internal Address: https://192.168.1.183:21047/34f50609
username: sxckszrl
password: 48ba53f9
Warning:
If you cannot access the panel, 
release the following port (21047|888|80|443|20|21) in the security group
==================================================================
Time consumed: 3 Minute!

From the output, aaPanel and its dependencies have been installed on Rocky Linux 9 | AlmaLinux 9. Furthermore, a user and password for login have been created

We can verify if the service is listening on the given port 21047.

$ sudo ss -plunt | grep 21047 
udp   UNCONN 0      0            0.0.0.0:21047      0.0.0.0:*    users:(("webserver",pid=68265,fd=7),("webserver",pid=68264,fd=7))  
udp   UNCONN 0      0               [::]:21047         [::]:*    users:(("webserver",pid=68265,fd=10),("webserver",pid=68264,fd=10))
tcp   LISTEN 0      511          0.0.0.0:21047      0.0.0.0:*    users:(("webserver",pid=68265,fd=8),("webserver",pid=68264,fd=8))  
tcp   LISTEN 0      511             [::]:21047         [::]:*    users:(("webserver",pid=68265,fd=9),("webserver",pid=68264,fd=9))                            

Allow the port through the firewall.

sudo firewall-cmd --add-port=21047/tcp --permanent
sudo firewall-cmd --reload

3. Access the aaPanel Web UI.

Now proceed and access the aaPanel web UI using the URL provided above. For example https://192.168.1.183:21047/34f50609.

On this page, log in with the generated login credentials during aaPanel installation. On successful login, you should see this dashboard.

The above presented is a list of software that can be installed using a single click on your server. Proceed and install LNMP recommended features as shown.

Now after the installation is complete, you can see the status of the packages.

Add your domain and Create a website.

A domain with an AAA record can be added and a website created under the website tab as below.

Click add site and provide the required information.

Add FTP server.

You can also add an FTP server under the FTP tab.

Add a Database.

You can connect to a database and manage it from the aaPanel as below.

Access the Terminal.

You can access the shell and run shell commands to your system on aaPanel.

Install PHP extensions.

PHP extensions can be installed under App Store>>Plugins .

Enjoy!

Conclusion.

That is it! We have triumphantly walked through how to install and use aaPanel on Rocky Linux 9 | AlmaLinux 9. I hope this guide was significant to you.

Check more on this website:

Your IT Journey Starts Here!

Ready to level up your IT skills? Our new eLearning platform is coming soon to help you master the latest technologies.

Be the first to know when we launch! Join our waitlist now.

Join our Linux and open source community. Subscribe to our newsletter for tips, tricks, and collaboration opportunities!

Recent Post

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Post

Nextcloud is a free and open-source syncing and file sharing server. It is self-hosted and allows companies to have a […]

What is Tokei and how is it useful to developers? Tokei is a very powerful program that is used to […]

Welcome to this guide on how to use SSH & SSH Keys on Debian 12/11/10. SSH stands for secure shell, […]

Let's Connect

Unleash the full potential of your business with CloudSpinx. Our expert solutions specialists are standing by to answer your questions and tailor a plan that perfectly aligns with your unique needs.
You will get a response from our solutions specialist within 12 hours
We understand emergencies can be stressful. For immediate assistance, chat with us now

Contact CloudSpinx today!

Download CloudSpinx Profile

Discover the full spectrum of our expertise and services by downloading our detailed Company Profile. Simply enter your first name, last name, and email address.