Before the installation of DirectAdmin, please make sure the pre-provision installation or setup has completed. The pre-provision steps can be found at here.
Run a pre-install commands, where you can refer at here.
Download the installer
cd /opt wget -O setup.sh https://directadmin.com/setup.sh chmod 755 setup.sh ./setup.sh
You will need to enter the Client ID (4115) and License ID (it can be retrieved from your Supervisor). The License ID is tagged to the IP Address and OS version.
Once the installation completed, we have to customise the DirectAdmin setup.
cd /usr/local/directadmin/custombuild ./build set php1_release 5.6 ./build set php1_mode mod_php ./build set php2_release 5.3 ./build set php2_mode fastcgi ./build set opcache yes ./build set php_timezone Asia/Kuala_Lumpur ./build secure_php yes ./build set mariadb 10.1 ./build set mysql_inst mariadb ./build set http_methods GET:HEAD:POST:PUT ./build set modsecurity yes ./build set modsecurity_ruleset no ./build set mod_ruid2 no ./build set clamav yes ./build set ftpd proftpd ./build update ./build mariadb ./build apache ./build php ./build clamav ./build proftpd