Go to documentation repository
Page History
Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Installation
Note | ||
---|---|---|
| ||
|
To install the private License Server in the Linux OS, do the following:
- Create an activation request. To do this, you need to must collect the computer's HID HIDs using the LS_tool utility byrunningitin the consoleunder the root user:
Code Block language bash /opt/AxxonSoft/LicenseServer/LS_tool-static --collect-hwinfo
Note title Attention! The key is linked binds to the Licensing Server License server, not to to Axxon One. When using the Guardant key, make sure that the USB key is connected to the server where the Licensing Server is installedyou install the License server.
- Contact an AxxonSoft technical support specialist to get the necessary license-server.deb package and the keyfile.zip key package for the private License Server.
The keyfile.zip key package contains:- Certificate: ngp.licserver.crt
- Private key: ngp.licserver.key
- Server key: server.license.key
- Client key: license.key
- Copy the license-server.deb package, received from an AxxonSoft managertechnical support specialis, to to the Downloads folder.
Install the private License Server:
Code Block language bash sudo dpkg -i license-server.deb
Make sure that there is a LEASE_ACCOUNTER_TLS_AUTH_ENABLED=true variable at the /etc/AxxonSoft/LicenseServer/ path in the license.conf configuration file. If the variable is missing, run the following command:
Code Block language bash sudo nano /etc/AxxonSoft/LicenseServer/license.conf
Unzip the keyfile.zip archive, received from an AxxonSoft manager, into the keyfile folder:
Code Block language bash sudo mkdir keyfile & unzip keyfile.zip -d keyfile
Go to the keyfile folder:
Code Block language bash cd ./keyfile/
Add the ngp.licserver.crt certificate and the ngp.licserver.key private key to the /etc/AxxonSoft/LicenseServer/ directory:
Code Block language bash sudo cp ngp.licserver.crt ngp.licserver.key /etc/AxxonSoft/LicenseServer/
Restart the License Server:
Code Block language bash sudo systemctl restart license
Add the server.license.key to the /var/AxxonSoft/LicenseServer/keys directory:
Code Block language bash sudo cp server.license.key /var/AxxonSoft/LicenseServer/keys
Restart the License Server:
Code Block language bash sudo systemctl restart license
As a result, two files will be are located at the /var/AxxonSoft/LicenseServer/keys path: server.license.key and a key named as the system ID.
Delete the server.license.key from the /var/AxxonSoft/LicenseServer/keys directory:
Code Block language bash sudo rm /var/AxxonSoft/LicenseServer/keys/server.license.key
Installing the private License Server in the Linux OS is complete. To access the License Server web interface, you need todo the following:
- Determine Figure out the address of the License Server using the command:
Code Block systemctl status license
- Enter the obtained address into the browser's search bar.
As a result, the License Server web interface will open opens (see Logging in to the License Server web interface).
Useful commands
Install:
Code Block | ||
---|---|---|
| ||
dpkg -i license-server.deb |
...
Code Block | ||
---|---|---|
| ||
journalctl -u license.service -r |
Useful commands using Prometheus metrics
Check the status of the service:
...
The response contains the time in 64-bit Unix format. To convert the response to date and time format, you can use any available converter (for example, https://timeconverter.online/). For example, 1917820800 corresponds to October 10, 2030, in the value of the license key.
...