Aapanel is one of the best easy to use and free web hosting control panel nowdays. These tutorial we will guide How to install aapanel on ubuntu or centos. Aapanel offers by Chinese developers of BT.CN.
Aapanel is very user friendly and it offers GUI for most of the essential linux servers. Aapanel is open source web hosting panel. It offers many great features for free like editor, uploader, file manager, backups, multi php, php ini editor, database management, multiple websites, free ssl and so on. It have a great feature like NGINX preconfigured firewall.
Following these tutorial you can install aapanel on ubuntu 16.04, 18.04, 20.04 and debin. Also we added commands for centos installation. Let's see what's prerequisites you need:
· Minimum disk space 20GB
· Fresh Installed Ubuntu or Centos Server
· Minimum Ram 1GB
· Minimum 1vcpu
· Ssh access of the server
Let's start the installation. At first login to the ssh using putty or any other ssh client. Installing is pretty much easy. First, you have to switch to root if you are not root user currently.
# sudo su -
Now you have to update OS
# apt-get update; apt-get upgrade -y;
Download and install the aaPanel installation script on your ununtu or debin.
For Centos run these commands
Here is the list of answers installation script going to ask you:
> Do you want to install aaPanel to the /www directory now? (y/n): y
> Do you need to enable the panel SSl ? (yes/n): n
After the installation completes, a random administrator username and password will be displayed in your console. You have to note them.
Firewall reloaded
===================================
Congratulations! Installed successfully!
===================================
aaPanel Internet Address: http://example.com:7800/5b52b2f3
aaPanel Internal Address: http://example.com:7800/5b52b2f3
username: ***************
password: ***************
Warning:
If you cannot access the panel,
release the following port (7800|888|80|443|20|21) in the security group
===================================
Time consumed: 3 Minute!
Now open your browser and browse the url of aapanel internet address. It should look like
http://example.com:7800/5b52b2f3
Now enter you username and password and hit login. You should now able to enter the control panel. Then you will be asked to install Lnmp or Lamp. LNMP is always recommanded. Also make sure to hit on complied if you want to use the server for production websites.
It should take time to be fully installed. Then you are done, Now you can enjoy your fastest
control panel to host your websites. You can see how can you add your website to cloudflare to add to aapanel.