How to generate a license key and customize installation options?

beansbaxter

Verified User
Joined
Mar 17, 2004
Messages
218
Location
WA
Trying to install DA on a new server...

1) How to get your DA license key?

Looking in my Client Area, I changed my IP address for the license, but I cannot figure out how to generate a license key. For a new license, the Client Area says:

Code:
/usr/local/directadmin/scripts/getLicense.sh
service directadmin restart

But that doesn't work.

And the DA Install Guide says to type in "auto" but that doesn't work.

What are the correct steps for generating a license key for installation?


2) How to config CB before the installation process proceeds?

In the past, I would have two SSH instances into the server. During the first instance, when I went through DA installation, I would pause on the "Choose Fastest DA Mirror" and open the second instance, to customize this file:

Code:
/usr/local/directadmin/custombuild/options.conf

Save my customization, close the second instance, proceed with the first instance, and DA would install the way I had it setup.

With this new licensing setup that wants to auto install, how to customize CB before installation proceeds?

Thanks in advance,
 
Tried this:
Code:
bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'auto'

But that doesn't work, and it says:
Code:
Unable to detect your license key, please re-run setup.sh with LK provided as the argument.

Tried again with LK as the argument:
Code:
bash <(curl -fsSL https://download.directadmin.com/setup.sh) 'LK'

And the script stops with this error:
Code:
[setup.sh] Failed to start directadmin service, please make sure you have a valid license

When the setup script halts, it shows the server IP and it matches the new IP address that I assigned to that license in the Client Area...

Does it make any difference that this is a Legacy License?
 
Oh my, figured out Step 1, but you should update your install manual...

My License ID never had a License Key. And the only way to get one is to click the red Reset link. This could be worded better, because it only focuses on people with a preexisting license key and not a license without a key.
 
Back
Top