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 to license server, specify license server name in the variable value.
To search for a stand-alone license, specify NO-NET value 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/fp9.2-biserver/bin.
NOTE. The lservrc file must be without 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.
Execute the lsinit script that is included into the BI server software package of Foresight Analytics Platform in Linux OS. Execute the following commands in the terminal to run the script:
cd /opt/Foresight/fp9.2-biserver/bin
sudo ./lsinit
If the initialization is successful, the "Successful to initialize the system" message appears. If a different message appears, 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/fp9.2-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 Ubuntu and Debian. On working in other Linux distribution files replace www-data:www-data with value from the table:
Username:Group | Linux distribution file |
www-data:www-data | Ubuntu, Debian |
daemon:daemon | Astra Linux |
apache:apache | ALT Linux, Red Hat Enterprise Linux, Zircon 36C, Sintez-OS.WS |
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 Centos OS, execute the command:
vi "/opt/Foresight/fp9.2-biserver/logs/axis2.log
See also: