Aapanel Ubuntu Install

Ubuntu Server

Complete command-line installation guide for Aapanel on Ubuntu Server 18.04/20.04/22.04

Quick Install Commands

1

Set Hostname

Set your server hostname before installation:

hostnamectl set-hostname server1.fluxnoor.com
Hostname Configuration
Replace "server1.fluxnoor.com" with your actual domain or desired hostname. This helps identify your server properly.
2

System Update

Update and upgrade your Ubuntu system packages:

apt update && apt upgrade -y
System Update
Ensures all system packages are up to date before installation
3

Aapanel Installation

Install Aapanel with one command:

wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh aapanel
Installation Time
This will take 5-10 minutes. Do not interrupt the process.
4

Confirm Installation

During installation, confirm when prompted:

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

Press y then Enter to continue.

5

Access Credentials

After installation, you'll see:

Congratulations! Installed successfully!
==================================================================
aaPanel Internet Address: http://YOUR_SERVER_IP:7800
aaPanel Internal Address: http://YOUR_SERVER_IP:7800
username: admin
password: xxxxxxxx
==================================================================
Save Credentials
Copy the URL, username, and password displayed in your terminal

Post-Installation Setup

Access Panel

Visit http://your-server-ip:7800

Install Stack

Choose LNMP or LAMP from panel

Secure Panel

Change default password immediately

Panel Commands

Use 'bt' command for management

Quick Tip
After logging in, you'll need to install either LNMP (Nginx) or LAMP (Apache) stack from the panel interface. LNMP is recommended for better performance.

Useful Panel Commands

bt

Main Aapanel command-line tool

bt restart

Restart Aapanel service

bt default

Show default login info

bt 8

Change panel port

bt 14

Show panel port info

firewall-cmd --permanent --add-port=7800/tcp && firewall-cmd --reload

Open panel port in firewall

hostname

Check current hostname

hostnamectl set-hostname NEW_HOSTNAME

Change hostname anytime

Command copied to clipboard!