license: License Keys
Plesk comes with a limited trial license key which is installed automatically. Therefore, to fully use Plesk as you need, you should obtain a license key from Plesk or one of its resellers and install it to your Plesk.
Once you purchase a Plesk license key at the Plesk online store, you will receive an activation e-mail with your activation code and a license key file. You can install a Plesk license key either by entering the activation code or by uploading the file from this e-mail. In both cases, you should use the license
utility. You may also use this utility for installing additional license keys that allow using Plesk additional features (add-ons) like Acronis True Image, Kaspersky Antivirus, and so on. Note that the license
utility supports the installation of additional keys through an activation code only.
Usage
license <command> [<option_1> [<param>][<option_2> [<param>]]
Example
The following command installs an additional license key:
plesk bin license -i AB1C23-4DEF56-7GHI89-JK1L23-MNP456 -additional-key true
Commands
Command | Parameter | Description | Example |
---|---|---|---|
|
|
If a filename is provided, installs a license key from the specified file. If a code is provided, installs a license key that is associated with the code. |
To install a license key from the file: plesk bin license -i key.xml To install a license key by using the activation code: plesk bin license -i AB1C23-4DEF56-7GHI89-JK1L23-MNP456 |
|
|
Checks the validity of the installed license key (returns the 0 exit code if the key is valid and 1 if it is invalid)
|
To check the validity of the installed license: plesk bin license -c |
|
|
Retrieves the installed license keys. |
To retrieve the installed license keys: plesk bin license |
|
|
Displays help on the use of the utility. |
To view help on the use of this utility: plesk bin license -h |
Options
Option | Parameter | Description | Example |
---|---|---|---|
|
|
Specifies whether the provided activation code is for an additional license key. You can skip this option in case you are installing a Plesk's main license key. |
To install an additional license key: plesk bin license -i AB1C23-4DEF56-7GHI89-JK1L23-MNP456 -additional-key true |