• Home
  • Solutions
  • Create a Blog
  • Web into AppTry now
  • Pricing
  • Contact

🎉  Get  50% off  on Convert to Web Application Android or IOS . Limited time offer!  Purchase now

🇺🇦 Flag: Ukraine, Emoji by Twitter Let’s make an impact together to stand with the people of Ukraine.

How to Install aaPanel on Ubuntu 22.04

aaPanel is an open-source lightweight Linux control panel with a web interface and tools for creating a web hosting environment. The control panel provides a simple online interface for configuring websites, databases, DNS records, mail accounts, and applications on the server.

In this article, we install aaPanel on a Ubuntu 22.04 Server, then create a simple website using the web interface.


Install aaPanel

1.Download the aaPanel installation script.

$ wget http://www.aapanel.com/script/install-ubuntu_6.0_en.sh

2.Run the downloaded script.

 $ sudo bash install-ubuntu_6.9_en.sh

3.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 is complete, your console will show a random administrator username and password, and the relevant aaPanel ports will be automatically set 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: ***************


If you cannot access the panel, 

release the following port (8888|888|80|443|20|21) in the security group


Time consumed: 3 Minute!

4.Confirm current firewall rules if port 7800, and other aaPanel ports are allowed:

$ sudo ufw status

aaPanel is now ready for configuration.

Configure aaPanel

Take a note of the random secure URL from your SSH terminal. Copy it and enter the control panel using the random credentials supplied by the installation script.


Install a LAMP Stack

aapanel install,webpanel install

The installation of the web stack will begin. The installation should take around 5 minutes, depending on your server requirements.

The primary aaPanel dashboard then displays the server’s current usage, traffic, statistics, and control panel tools for configuring the server.

Add a Domain Name

Let’s create a fresh domain name and a basic website to put on the server.

On the right pane, navigate to Website, then select a PHP or Node JS Project and click Add Site. Enter your domain name, a website description, and then choose your database server and PHP version.

Click Apply for SSL, then Submit to construct your new website, to protect it using HTTPS.

Your website will be parked with the system’s default page. It is possible to update it by adding your website files to the domain web files directory.


Secure the Server

To secure the control panel, go to Settings and change the default port from 7800 to anything random, then change Alias (Panel name) to whatever custom text you like.

Set a timeout duration of at least 360 seconds (6 minutes) to log out active users if the control panel is inactive and no user action is detected.

Change Security Entrance to a custom string that you may use to get secure access to the control panel. Because Security Entrance is on by default, you cannot enter the web panel without the security key.

Change the administrator Panel user account and Panel Password from the installation script’s random defaults to your chosen ones. To better secure your server, under Allowed IP, you may optionally select a list of authorized IP addresses that can access the web panel.

Configure the System Service

If the server reboots, the web panel on port 7800 will not load. Begin aaPanel with the service identification bt.

$ sudo systemctl start bt

Check the bt service status to see if the panel is running with or without faults.

$ sudo systemctl status bt
No code app builder,mobile apps
This is a staging enviroment