Execute the following command :
cd /usr/local/directadmin/scripts
./getLicense.sh ClientDI LicenseID
service directadmin restart
In case, you get errors while extracting update.tar.gz file, execute the following :
head -n 1 /usr/local/directadmin/conf/license.key
If there is an error inside the file, please check the IPs and license and
make sure it’s licensed. If there are multiple IPs on the device and wget binds, you can mention
the IP to bind by adding it as last argument :
cd /usr/local/directadmin/scripts
./getLicense.sh clientID LicenseID 1.2.3.4
service directadmin restart