1. Requirements

      • Clean OS — no existing Nginx/Apache/MySQL/PHP stack already installed
      • Recommended OS — Ubuntu 22.04 or 24.04 (also supports Debian/Rocky/Alma in many cases)
      • Root access — install must run as root
      • Resources — 512 MB RAM minimum, 768 MB+ recommended for comfort
      • SSH access — connect from your PC with PuTTY, Terminal, or similar

2. Connect as root

      • SSH into your server
      • If you are not root, switch with: sudo -i (or su)
      • Confirm with: whoami (should show root)

3. Run the official install command

Paste this in SSH (official English install script style): 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

      • When asked to install to /www, type y and press Enter
      • Wait a few minutes while packages install
      • At the end, save the panel URL, username, and password shown in the terminal

4. Open the panel in your browser

      • Open the panel address shown after install (includes IP and port)
      • Log in with the printed username/password
      • Change the default password immediately
      • If the page does not load, open the panel port in your cloud firewall/security group

5. First-time setup (LNMP/LAMP)

      • Use the App Store / one-click installer inside aaPanel
      • Install Nginx (or Apache), MySQL/MariaDB, and PHP
      • Install phpMyAdmin if you need database management
      • Create your first website and point the domain A record to the server IP

6. Enable SSL for your site

      • In the website settings, open SSL
      • Use Let's Encrypt one-click SSL if available
      • Force HTTPS after the certificate is issued
      • Confirm https://yourdomain.com loads with a lock icon

7. Security tips

      • Change panel port if possible
      • Enable firewall rules carefully (do not lock yourself out of SSH)
      • Keep aaPanel and apps updated
      • Take backups before major changes

8. Where Px Mailer fits

aaPanel manages websites and server apps. Px Mailer manages outbound email campaigns (SMTP pools, personalization, PDFs, QR codes, dashboards). Many teams use aaPanel for the site and Px Mailer for sending. Learn more: https://pxtoolx.com Note: Always verify the latest install command on the official aaPanel download page before running scripts on production servers.