3. Activate Lycia License

3A. Install KMS Server for Licensing

3B. Configure Firewalls (KMS)

3C. Acquire and Activate License

3A. Install KMS Server for Licensing

Step 1. Install KMS:

Note: The KMS Server can only be installed on a physical machine.

On Linux:

sudo ./qpm install kms-server

On Windows:

qpm install kms-server

Step 2. Define the KMS host and port by setting the QX_KMS_HOST environment variable on Lycia Development and Runtime Systems for both Compilation (as a system environment variable) and Runtime (in the inet.env file).

Step 3. Optionally, set QX_KMS_KEY for restricted access on both server and client. The key can be up to 32 characters long.

Step 4. Adjust QX_KMS_CONNECTION_TIMEOUT if needed for connection attempts (default is 3 seconds). Zero or negative values are invalid.

For more on KMS configuration, see the Licensing with KMS page.

3B. Configure Firewalls (KMS)

Allow Ports: Ensure port 1993 is open.

Command Example:

sudo firewall-cmd --permanent --add-port=1993/tcp

3C. Acquire and Activate License

Step 1. Get the license file from Querix.

Step 2. Save the license file on the KMS Server.

Step 3. Execute the following command:

qxlm -a <license file>

For more on KMS configuration, see the licensing guide.

 

See next: 4. Connect to the Database

 

Contact Us

Privacy Policy

Copyright © 2026 Querix, (UK) Ltd.