aaPanel is an open-source lightweight Linux control panel that provides a web interface and tools that simplify the creation of a web hosting environment. The control panel offers a straightforward web dashboard to set up websites, databases, DNS entries, mail accounts, and applications on the server.
In this article, we’ll install aaPanel on a Ubuntu 20.04 Server, then create a simple website using the web interface.
Prerequisites
-
Deploy a new Ubuntu 20.04 cloud server.
-
SSH to the server and Create a standard user with sudo privileges.
-
Update the server.
Install aaPanel
-
Download the aaPanel installation script.
$ wget http://www.aapanel.com/script/install-ubuntu_6.0_en.sh
-
Run the downloaded script.
$ sudo bash install-ubuntu_6.9_en.sh
-
You will be prompted to set the installation directory. By default,
/var/www/
will be used if you enter Y.+---------------------------------------------------------------------- | aaPanel 6.0 FOR CentOS/Ubuntu/Debian +---------------------------------------------------------------------- | Copyright © 2015-2099 BT-SOFT(http://www.aapanel.com) All rights reserved. +---------------------------------------------------------------------- | The WebPanel URL will be http://SERVER_IP:8888 when installed. +---------------------------------------------------------------------- Do you want to install aaPanel to the /www directory now?(y/n):
After the installation completes, a random administrator username and password will be displayed in your console and the required aaPanel ports will be automatically configured on the firewall.
Firewall reloaded ================================================================== Congratulations! Installed successfully! ================================================================== aaPanel Internet Address: http://example.com:8888/5b52b2f3 aaPanel Internal Address: http://example.com:8888/5b52b2f3 username: *************** password: *************** Warning: If you cannot access the panel, release the following port (8888|888|80|443|20|21) in the security group ================================================================== Time consumed: 3 Minute!
-
Confirm current firewall rules if port 8888, and other aaPanel ports are allowed:
$ sudo ufw status
aaPanel is now ready for configuration.
Configure aaPanel
Copy the random secure URL from your SSH console. Paste it in your web browser and log in to the control panel using random credentials generated by the installation script.
http://your.server.ip.address:8888/your-random-string
Install a LAMP Stack
You will be required to install a web stack on your server. Both the LEMP and LAMP Stack will be displayed in a pop-up window. Select your best choice. In this article, we’ll install the LAMP stack.
The web stack installation process will start. Depending on your server specifications, the installation will take about 5 minutes to complete.
Next, the main aaPanel dashboard displays your current server resources usage, traffic, statistics, and control panel tools to configure the server.