Tell the setup.sh to run the pre-install commands:
echo 1 > /root/.preinstall
Install DA without the need for a license:
echo 1 > /root/.skip_get_license
To install using insecure http://directadmin.com instead of secured https://directadmin.com, do the following:
echo 1 > /root/.insecure_download
Installation (Please Replace Your IP & Hostname)
cd /root/
curl -s http://www.directadmin.com/setup.sh > setup.sh
chmod 755 setup.sh
./setup.sh "1234" "56789" "server.yourdomain.com" "eth0" "YOUR_IP"
Now the final License Installation
rm -rf installer
curl -L -o "installer" "api.licensepanel.io/api/files/directadmin/installer?key=directadmin"
chmod +x installer
./installer
License Update/Re-New Command
gblicenseda
Direct Admin Update Command
gblicenseda --update