How to Install aaPanel on a Linux Server

aaPanel is a free web hosting control panel that allows you to manage websites, databases, FTP accounts and SSL certificates through a web interface.

Server Requirements

  • Minimum 1 GB RAM
  • 10 GB disk space
  • Root SSH access
  • Internet connection

Supported Operating Systems

  • Ubuntu 20.04 / 22.04 / 24.04
  • Debian 10 / 11 / 12
  • CentOS / AlmaLinux / Rocky Linux

Step 1 – Connect to Server

ssh root@SERVER_IP

Step 2 – Update System

apt update && apt upgrade -y

Step 3 – Install aaPanel

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

Step 4 – Access the Panel

https://SERVER_IP:8888

Step 5 – Install Web Environment

  • Nginx or Apache
  • MySQL or MariaDB
  • PHP
  • PureFTPd
  • phpMyAdmin

Step 6 – Add Website

Go to Website → Add Site and enter your domain.

Step 7 – Install SSL

Use Let's Encrypt in the SSL menu.

Useful Commands

bt
bt restart
bt stop
bt start

Security Recommendations

  • Change default password
  • Enable firewall
  • Use strong passwords

Conclusion

aaPanel makes managing websites and servers simple through a graphical interface.

Was this article helpful?

Share this article