aaPanel currently recommends you use Ubuntu 22.04 and to install the free version of aaPanel you can run the following command:
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
If you have a pro edition license you can install it using the following command:
URL=https://www.aapanel.com/script/install_pro_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO $URL ;else wget --no-check-certificate -O install_pro_en.sh $URL;fi;bash install_pro_en.sh aa372544 aapanel
Once installation is completed instructions on how to access the control panel are provided.