aaPanel

aaPanel

aaPanel is an open-source, lightweight, web-based hosting control panel used to manage Linux servers. With a simple and user-friendly interface, aaPanel simplifies server management, including the installation and configuration of applications such as Nginx, Apache, MySQL, PHP, and more. Its standout features include file management, SSL certificates, firewalls, scheduled tasks (cron jobs), and server performance monitoring. Suitable for both beginners and professionals, aaPanel supports website and application hosting needs with efficiency and ease.

1. System Requirements

System requirements for running aaPanel:

  • 1 CPU, 1 GB RAM
  • OS: Debian 12, Ubuntu 22.04, AlmaLinux 8/9, Rocky Linux 8

Before starting the installation, prepare the following:

  • A VPS or server with Ubuntu 22.04 OS
  • SSH access to the server
  • A domain already pointed to the server

2. Server Preparation

Log in to the server

ssh user@IP-SERVER

Switch to the root user

sudo su -

Update the system

apt update 
apt upgrade -y

3. Install aaPanel

Download script installer aaPanel dan jalankan

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

Answer y to the following question.

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

Jika instalasi awal aaPanel telah selesai, ditampilkan pesan seperti berikut ini

==================================================================
Congratulations! Installed successfully!
==================================================================
aaPanel Internal Address: https://170.64.171.105:34306/68c65310
username: nh915pqh
password: e951185d
Warning:
If you cannot access the panel, 
release the following port (34306|888|80|443|20|21) in the security group
==================================================================
Time consumed: 2 Minute!

4. Install LEMP

Access aaPanel using the displayed URL, username, and password. aaPanel supports LEMP (Nginx) or LAMP (Apache) as web server packages. aaPanel recommends using LEMP/LNMP.

  1. Select Nginx, MySQL, PHP, and phpMyAdmin, then click One-Click to start the LEMP stack installation.
  2. A Messages Box will appear showing the installation progress. If the Task list (0) or the message says Currently no tasks!, it means the installation is complete.
  3. Verify the installation results by checking in App Store > Installed to see if Nginx, MySQL, PHP, and phpMyAdmin have been installed.

5. Add a Website

Steps to add a website:

  1. Click on the Website menu.
  2. Click Add Site.
  3. Enter the Domain name, for example, contoh.com, then on the next line, add www.contoh.com as an alias.
  4. For Database, select MySQL.
  5. Then click Confirm.

6. Install SSL

Steps to install SSL:

  1. Click Conf on the row of the Site name where you want to install SSL.
  2. Click the SSL menu, then the Let's Encrypt tab.
  3. Under Domain, click Select All to request SSL for the domain name and the www alias, then click Apply.
  4. Click Apply and Open.
  5. If successful, the Private Key and Certificate will be displayed. Enable Force HTTPS to redirect all HTTP requests to HTTPS.