1-
sudo su -

2-
sudo apt update && sudo apt upgrade -y

reboot (recommended)

3-

URL=https://www.aapanel.com/script/install_6.0_en.sh && if [ -f /usr/bin/curl ];then curl -ksSO “$URL” ;else wget –no-check-certificate -O install_6.0_en.sh “$URL”;fi;bash install_6.0_en.sh aapanel

4- (settings)
bt

for PHP 
Compiled

Module name: mbstring
Module parameter:- --enable-mbstring

hide PHPMyAdmin errors
config.inc.php 

$cfg[‘SendErrorReports’] = ’never’;

To disable strict_trans_tables, you simply need to remove it from the list. So your sql-mode setting should look like:
sql-mode=NO_ENGINE_SUBSTITUTION

Once you’ve made this change, save the file and restart the MySQL service for the changes to take effect.

While installing add any CODE to code field, then go to /install/ folder open index.php go to line 71 and change this line :

from : $ServerErrors[] = $p[‘ERROR_NAME’]:
to : $can = 1;