Linux OS uses special settings to work with a license.
The section describes activation of Foresight Analytics Platform at BI server installed on Linux OS.
NOTE. Foresight Analytics Platform can be activated at BI server only using network or temporary stand-alone license.
License search settings determine how a license is searched.
To manage license search, create the LSFORCEHOST system environment variable:
To address the license server, specify license server name in the variable value.
To search for stand-alone license, specify NO-NET in the variable. To successfully activate the application with a stand-alone license, execute the described below steps in the Stand-alone License Activation subsection.
NOTE. To specify multiple license servers, use the environment system variable LSHOST or registry settings.
To search for a stand-alone license:
Create a LSFORCEHOST system variable. Enter NO-NET in the variable value.
Get computer locking code and send a request to get a license by the email support@fsight.ru. A license is sent in the response email.
Place the obtained license file lservrc to the folder /opt/foresight/fp10.x-biserver/bin.
NOTE. The lservrc file should not have an extension. If the file has the .dat extension, remove it.
The item is relevant if BI server was installed from archive. If an installation package was used, go to the next step.
Start the lsinit utility that is included into the BI server software package of Foresight Analytics Platform in Linux OS. Execute the following commands in the terminal to start the utility:
cd /opt/foresight/fp10.x-biserver/bin
sudo ./lsinit
If the initialization is successful, the "Successful to initialize the system" message is displayed. If a different message is displayed, check if all the previous steps were executed correctly and specified commands were entered correctly. Repeat correct steps. If an error message persists, contact technical support services by sending a request to support@fsight.ru.
Grant access permissions for the license file for an Apache HTTP Server user:
sudo chown www-data:www-data /opt/foresight/fp10.x-biserver/bin/lservrc
Specify the path to the license file, that was obtained at the step 3, in the command.
The specified example can be used to grant permissions in Debian-based distributions. When working in other Linux OS distributions replace www-data:www-data with apache:apache for RedHat-based distributions or with apache2:apache2 for ALT Linux.
To understand which license is in used, check the value of the LSFORCEHOST/LSHOST variable or see log files by using standard text editors or their alternatives. For example, to see an Axis log file in Astra Linux OS, execute the command:
vi "/opt/foresight/fp10.x-biserver/var/log/axis2.log
See also: