<\/span><\/h2>\n\n\n\nFirst, log in to your Ubuntu 20.04 server via SSH as the root user:<\/p>\n\n\n\n
ssh root@IP_Address -p Port_number<\/pre>\n\n\n\nYou will need to replace ‘IP_Address’ and ‘Port_number’ with your server\u2019s respective IP address and SSH port number. Additionally, replace ‘root’ with the username of the admin account if necessary.<\/p>\n\n\n\n
Before starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. You can do this by running the following commands:<\/p>\n\n\n\n
apt-get update -y\napt-get upgrade -y<\/pre>\n\n\n\n<\/span>Install aaPanel<\/span><\/h2>\n\n\n\naaPanel provides an auto-installation script that you can download from the aaPanel website. You can also download it using the following command:<\/p>\n\n\n\n
wget -O install.sh http:\/\/www.aapanel.com\/script\/install-ubuntu_6.0_en.sh<\/pre>\n\n\n\nAfter downloading the aaPanel installer script, run it using the following command:<\/p>\n\n\n\n
bash install.sh<\/pre>\n\n\n\nYou will be asked to provide the installation directory:<\/p>\n\n\n\n
+----------------------------------------------------------------------\n| aaPanel 6.0 FOR CentOS\/Ubuntu\/Debian\n+----------------------------------------------------------------------\n| Copyright \u00a9 2015-2099 BT-SOFT(http:\/\/www.aapanel.com) All rights reserved.\n+----------------------------------------------------------------------\n| The WebPanel URL will be http:\/\/SERVER_IP:8888 when installed.\n+----------------------------------------------------------------------\n\nDo you want to install aaPanel to the \/www directory now?(y\/n): y\n<\/pre>\n\n\n\nType y<\/strong> and hit Enter to start the installation. Once the installation has been finished, you should see aaPanel access URL with admin username and password:<\/p>\n\n\n\n==================================================================\nCongratulations! Installed successfully!\n==================================================================\naaPanel Internet Address: http:\/\/your-server-ip:8888\/fae893fe\naaPanel Internal Address: http:\/\/your-server-ip:8888\/fae893fe\nusername: 4ng4rix0\npassword: 461b3ed5\nWarning:\nIf you cannot access the panel, \nrelease the following port (8888|888|80|443|20|21) in the security group\n==================================================================\nTime consumed: 3 Minute!\n<\/pre>\n\n\n\nBy default, aaPanel runs on port 8888. You can check it using the following command:<\/p>\n\n\n\n
ss -antpl | grep 8888<\/pre>\n\n\n\nOutput:<\/p>\n\n\n\n
LISTEN 0 128 0.0.0.0:8888 0.0.0.0:* users:((\"BT-Panel\",pid=18902,fd=5)) \n<\/pre>\n\n\n\nDuring the installation process, aaPanel enables and configures the UFW firewall and allows necessary ports through the firewall. You can check them with the following command:<\/p>\n\n\n\n
ufw status<\/pre>\n\n\n\nYou should see the following output:<\/p>\n\n\n\n
Status: active\n\nTo Action From\n-- ------ ----\n888\/tcp ALLOW Anywhere \n20\/tcp ALLOW Anywhere \n21\/tcp ALLOW Anywhere \n22\/tcp ALLOW Anywhere \n80\/tcp ALLOW Anywhere \n39000:40000\/tcp ALLOW Anywhere \n8888\/tcp ALLOW Anywhere \n888\/tcp (v6) ALLOW Anywhere (v6) \n20\/tcp (v6) ALLOW Anywhere (v6) \n21\/tcp (v6) ALLOW Anywhere (v6) \n22\/tcp (v6) ALLOW Anywhere (v6) \n80\/tcp (v6) ALLOW Anywhere (v6) \n39000:40000\/tcp (v6) ALLOW Anywhere (v6) \n8888\/tcp (v6) ALLOW Anywhere (v6) \n<\/pre>\n\n\n\n