Menu
User

DropVPS Team

Writer: Cooper Reagan

How to install aapanel on Ubuntu 25.04

How to install aapanel on Ubuntu 25.04

Publication Date

11/17/2025

Category

Articles

Reading Time

2 Min

Table of Contents

aaPanel is a lightweight, user-friendly hosting control panel that lets you manage websites, databases, DNS, FTP, SSL, and servers through a clean web dashboard. Ubuntu 25.04 supports aaPanel perfectly with a simple shell-based installation.

Step 1: Update System Packages

Start by updating your Ubuntu 25.04 system to avoid dependency issues.

sudo apt update && sudo apt upgrade -y

Step 2: Install Required Dependencies

aaPanel requires curl and basic build tools. Install them:

sudo apt install -y curl wget unzip

Step 3: Download and Run the aaPanel Installer

Use the official installation script for Ubuntu/Debian:

URL=https://www.aapanel.com/script/install_7.0_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO "$URL" ;else wget --no-check-certificate -O install_7.0_en.sh "$URL";fi;bash install_7.0_en.sh aapanel

During the installation you may be prompted:

Do you want to install aaPanel to /var/www/bt? (y/n)

Type y and press Enter. The installation usually takes 2–5 minutes.

Step 4: Open aaPanel Firewall Port

aaPanel’s default port is 7800.
If UFW is activated, allow it:

sudo ufw allow 7800/tcp

Check status:

sudo ufw status

Step 5: Access the aaPanel Dashboard

After installation you will see output like:

aaPanel URL: http://your-server-ip:7800/xxxxxx
Username: xxxxx
Password: xxxxx

Open the URL in your browser and log in using the provided credentials.

Step 6: Select Your Environment Stack

When logging in for the first time, aaPanel asks you to install a software stack.

Choose either:

  • LNMP (Nginx + MySQL/MariaDB + PHP)
    or

  • LAMP (Apache + MySQL/MariaDB + PHP)

Click One-Click Install to proceed.

Optional Step: Change Default Port

To improve security, change the aaPanel port:

Inside the panel:
Settings → Panel Settings → Panel Port

Or via terminal:

bt 14

Enter a new port (e.g., 8822), and update your firewall:

sudo ufw allow 8822/tcp

For secure production use, always configure SSH key authentication, disable root login, and enable Fail2Ban inside aaPanel’s security features.

Linux VPS
U
Loading...

Related Posts