Looking to install aaPanel on Debian 12?
I’ve got you covered.
aaPanel is a server management software that helps you monitor your websites, files, databases, etc.
In this guide, I’ll show you how to install aaPanel on Debian and configure it using the web interface.
Note: This guide assumes that your Debian 12 system is a clean install, without any pre-installed Apache, Nginx, PHP, or MySQL environments, as these could interfere with aaPanel’s installation and configuration.
What You’ll Need
To follow this tutorial, you’ll need to meet a few requirements:
- Debian 12 installed and running on your system (guide)
- Familiarity with the Command Line Interface (guide)
- Root account or sudo privileges (guide)
- A stable internet connection
That being covered, let’s jump right into the first step.
How to Install aaPanel on Debian 12: Step-By-Step
Step 1: Download the aaPanel Installation Script
- The first thing you should do is update your system. This ensures that you have all the latest packages available in your software repository list. To update the system, run the below command:
sudo apt update
- After updating the system, you should download the aaPanel installation script for Debian from the official website. Go to the downloads page. Click the Copy button on the right side of Debian. For your convenience, I’m posting the command here as well:
wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh
- Run the above command to download the installation script, and you should see as follows:
Now that you’ve downloaded the script, let’s see how you can install aaPanel using it.
Related: How to Reconfigure Installed Packages on Debian 11
Step 2: Install aaPanel on Debian 12 Using the Installation Script
Since it’s a script file, it’s not executable out of the box. Thus, you need to make the script executable first so that you can run the script on your system.
- Make the script executable using the following command:
sudo chmod +x install.sh
- Next, install aaPanel by running the script with this command:
- You should see a prompt asking for confirmation whether you want to install aaPanel to the /www directory. Enter y and press the Enter button to confirm.
- Then, you’ll be asked to enable SSL. Depending on your choice, enter y or n and then press the Enter button. I will not enable SSL for this tutorial.
- Once the installation is done, you’ll notice a green text indicating that. You’ll also receive two web addresses, a username, and a password. You need to note them down because you’ll need them once you try to access the panel from our browser.
With that, you’ve successfully installed aaPanel on Debian 12. In the next step, I’ll configure it from the web interface.
Related: How to Install Google Chrome on Debian 12 Bookworm
Step 3: Access aaPanel GUI From a Browser
In the previous step, you received two internal addresses for aaPanel. You can open them in two ways — 1) You can either copy the URL and paste it into your browser or 2) you can right-click on that link and press Open Link. I’m going with the second approach.
- On the second link, right-click to bring up the context menu. Then press the Open Link option.
- This should open your default web browser and open the link in the browser. Once the page finishes loading, you should see the below web interface. Enter the username and password you received after installing aaPanel. Then click the Login button.
That should bring you to the aaPanel dashboard.
- Immediately after you enter the dashboard, you’ll receive a popup about installing some software packages. You’re given two options — 1) the LNMP stack and 2) the LAMP stack. aaPanel recommends you install the LNMP stack. You can choose an installation option between Fast (faster but less performance) and Compiled (slower but better stability). When you’ve chosen your desired packages, click the One-Click button to install.
You can also skip this step by pressing the cross button (X). I’m skipping this step for now. Once you have access to this dashboard, you can start setting up your servers.
Step 4: Install Nginx/Apache on aaPanel
If you skipped the step where you had to install the software packages, then you can install them later individually.
For example, one of the first things you can install is web servers. You can install Nginx or Apache. I’m installing Apache for demonstration.
- On the left side panel, go to Website.
- You should see a small popup asking you to install a web server. Click on Install Apache.
- You will see an installation wizard. From there, choose the Apache Version to Install and the installation Method. After that, press the Submit button.
- Then, you’ll see a popup asking for confirmation. Press the Confirm button.
- This will start the installation. You can monitor the installation process in the window that appears. For reference, see the below screenshot:
- When the installation is over, it will appear in the Message List tab.
Step 5: Configure aaPanel as You Wish
You’ve done the main part of installing and setting up aaPanel. Now, you can explore the dashboard and play with each setting as needed. For example, you can install an FTP manager, database systems, Docker, etc.
The Monitor tab lets you monitor your servers and other devices. The Security tab is for measuring your overall system security aspects such as Firewall, SSH, Anti Intrusion, and System Hardening. The File tab is for uploading and managing files on your device. The Log tab shows you the current and past operations you ran in aaPanel. You can also explore the app store to find the necessary software you’d like to install.
Related: How to Install PostgreSQL 14 on Debian 11
Conclusion
And that wraps up this guide. I hope this step-by-step tutorial helped you successfully install aaPanel on Debian 12.
Interested in other server monitoring guides? Check out how to monitor your server’s resource consumption on Linux or how to install Froxlor Server Management on Debian 12.
If this guide helped you, please share it.