aaPanel
aaPanel Reference Guide & Cheat Sheet
Your technical playbook for high-performance Linux server administration, LAMP/LEMP management, CLI shortcuts, and beginner deployment.
| Category | Action / Goal | Linux Command / Path | Description & Notes |
|---|---|---|---|
| Core Management | Open Interactive Panel CLI Menu | bt |
Launches the master aaPanel CLI control system for service management, password resets, and status checks. |
| Core Management | View Login Credentials & URL | bt 14 (or bt default) |
Displays the current entry port, dynamic security path string, and admin credentials in terminal. |
| Credentials & Security | Reset Web Panel Admin Password | echo "newpassword" | bt 5 |
Instantly overrides and resets the main web administrator account password. |
| Credentials & Security | Change Panel Username | echo "newusername" | bt 6 |
Modifies the administrator login username. |
| Network & Port | Change Access Port | echo "8881" | bt 8 |
Changes aaPanel listen port to a customized value (e.g., 8881) for improved port security. |
| Service State | Restart aaPanel Engine | bt 1 (or bt restart) |
Restarts the core aaPanel web engine without rebooting the underlying Linux OS. |
| Security Override | Clear Dynamic Security Entrance | bt 27 |
Removes the mandatory secret URL path suffix if locked out during login. |
| System Directories | Default Web Root Directory | /www/wwwroot/ |
Primary root storage location where all hosted websites, public files, and application folders reside. |
| System Directories | Nginx / Apache VHost Configs | /www/server/panel/vhost/ |
Contains virtual host server block directives for all configured domains and SSL bindings. |
| Troubleshooting | View aaPanel Master Logs | bt 22 |
Prints real-time panel error logs to diagnose panel startup and operational issues. |
Free vs Pro Plan Breakdown
Ideal for personal sites, agency staging servers, blogs, and developers looking for lightweight, high-performance web hosting control panel features.
- Unlimited Domains & Websites
- One-Click LAMP/LEMP Stack Setup
- Automatic Let's Encrypt SSL Certificates
- Web-Based File Manager & Terminal
- MySQL / MariaDB & phpMyAdmin Management
- Multi-PHP Version Manager (5.6 through 8.3+)
- Basic Fail2ban & Firewall Rules
- Advanced System Tamper-Proofing
- Enterprise WAF (Web Application Firewall)
- One-Click Multi-Server Migration Plugin
Designed for production e-commerce, enterprise clusters, and hosts needing advanced security, automated sync, and professional support.
- Everything in Free Edition
- Nginx & Apache Pro WAF: Deep layer-7 protection
- System Tamper-Proof Module: Locks core web files against injection
- One-Click Server Migration: Seamless VPS-to-VPS site transfer
- Sys-Hardening Suite: OS kernel locking and port isolation
- Advanced Disk & Log Analyzer: Automated cleanup routines
- Priority Technical Support: Direct ticket access
Full Service Setup (DigitalOcean Marketplace 1-Click)
Deploy Droplet from DigitalOcean Marketplace
Log in to your DigitalOcean account, navigate to the Marketplace, search for aaPanel, and click Create aaPanel Droplet. Choose your preferred region and a plan with at least 1 GB RAM (2 GB recommended for optimal speed).
Log In via SSH to Retrieve Credentials
Once your Droplet turns green, connect to your server using SSH or DigitalOcean's web console as root. Run the default command to print your secure URL and initial login credentials:
Authorize Firewall Security Ports
In your DigitalOcean Cloud Firewall settings (or local server firewall), ensure inbound access is enabled for the default aaPanel web port along with standard web ports:
- Port 7800 (or 8888): Default Web Interface Access
- Ports 80 & 443: HTTP & HTTPS Web Traffic
- Port 22: SSH Console Access
Access Panel & Choose Your LNMP / LAMP Stack
Paste the full address generated in Step 2 into your browser. Upon first login, aaPanel displays a one-click wizard asking you to choose your environment:
- LNMP Stack (Recommended): Nginx + MySQL/MariaDB + PHP
- LAMP Stack: Apache + MySQL/MariaDB + PHP
Select LNMP (Fast Installation) and let aaPanel build your server.
Self Service Setup (Manual Installation Guide)
Spin Up a Fresh Linux Droplet
Create a fresh cloud instance with a supported OS (Ubuntu 22.04 LTS or Debian 12 recommended). Make sure the instance is completely clean without existing Apache, Nginx, or MySQL installations.
Connect via Terminal & Upgrade Packages
Open your terminal and SSH into your server as root:
Run a quick system update to verify repositories are current:
Execute Official aaPanel Automatic Installer Script
Run the official universal shell installation command for Ubuntu/Debian:
Type Y when prompted to confirm the installation path to /www. The script takes about 2 minutes to compile environment dependencies.
Save Access Credentials & Complete Initial Setup
Once installation finishes, your terminal output prints your panel URL, port, administrator username, and temporary password.
- Copy the panel URL (e.g.,
https://your-ip:7800/8a2b3c4d). - Log in, change default passwords, and bind your domain name.
- Configure one-click Let's Encrypt SSL certificates for complete encryption.