许可证ID(lid):
IP地址:
cd /usr/local/directadmin/scripts
./getLicense.sh 123 1234
service directadmin restart
cd /usr/local/directadmin/scripts
./getLicense.sh 123 1234 1.2.3.4
service directadmin restart
echo 1 > /root/.insecure_download
脚本将自动通过端口80下载,无需加密。如果在重启过程中出现错误,例如:
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]
killall -9 directadmin
/etc/init.d/directadmin start
cd /usr/local/directadmin/conf
cp -f license.key license.key.old
wget -O license.key --no-check-certificate 'https://license.directadmin.com/licenseupdate.php?uid=123&lid=1234'
chown diradmin:diradmin license.key
chmod 600 license.key
相关的错误信息
*** An error has occurred while trying to update the license file ***