Automatic License Installation
When installing IQ Server on a new machine, it's possible to have IQ Server grab your license file automatically, without needing to manually upload it through the browser UI.
To accomplish this, open your config.yml file and find the following option.
# Path to a license file to automatically install if unlicensed. #licenseFile: ./license.lic
First, remove the "#" character in front of
licensefile to uncomment the line. Change the value to be the path to your .lic file. In this context, the dot in front of the slash denotes the current directory, i.e. the directory where your config.yml file is located.
An example would be:
# Path to a license file to automatically install if unlicensed. licenseFile: ./folder where our license is saved/our2022license.lic
Note that, in this example, we've changed the name of the license file from the default
license.lic, and the process still works.
When using this process, keep in mind these considerations.
- If a license is already installed, this option will have no effect.
- If IQ Server is unlicensed and this option has been uncommented, but the license file can't be found or installed, IQ Server will fail to start.