A security server is installed on Linux OS by means of an archive in the *_security.tar.gz format with installation files of security server of Foresight Analytics Platform.
A security server works via the web service similarly to BI server, installation of security server duplicates all necessary steps for installing of BI server.
Installing of security server on Linux OS is different on different families of the operating system. The following steps must be executed to install security server:
Select hardware and software for the server. It is necessary to follow requirements and versions of supported Linux operating systems.
Repeat all the steps from the BI server preparation guide, depending on the OS in use.
Install security server: Red Hat Enterprise Linux, Ubuntu, Astra Linux.
BI server uses settings specified in the settings.xml file. See its structure and make modifications if required.
To get information about repositories to work with, a security server uses the registry.reg file. This file is an exported version of Windows registry branch, which contains information about repositories. To get the file, execute the following operations:
Export registry branch on a workstation running on Windows OS:
[HKEY_CURRENT_USER\Software\Foresight\Foresight Analytics Platform\9.0\Metabases] - repository settings for the current user regardless of operating system bitness.
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Foresight\Foresight Analytics Platform\9.0\Metabases] - repository settings for 32-bit Foresight Analytics Platform on working in 64-bit operating system. For all users.
Copy registry.reg file to Linux home directory and edit if required. After this, if the file was obtained from the registry branch HKEY_LOCAL_MACHINE, copy it to the folder /opt/Foresight/fp9.2-biserver/bin. File settings are used by all users. If the file is obtained from the registry branch HKEY_CURRENT_USER, copy it to the folder ~/.config/Foresight/Foresight Analytics Platform/registry/, where ~ - Linux user home directory. File settings are available only to this user:
cd /opt/Foresight/9.2-biserver/bin
sudo rm registry.reg
sudo cp ~/registry.reg /opt/Foresight/fp9.2-biserver/bin/
Set up httpd service if the installation is running under Red Hat Enterprise Linux, or set up Apache2 web server for Ubuntu or Astra Linux.
After installing and setting up security server works in background mode as a separate Linux service. Further work with security server will be executed by means of existing web service operations.
NOTE. On working via the security server, the number of available operations is limited: operations are available for working with repository, working with object metadata and working with SQL objects.
On using httpd services/Apache2 server, the security server web service is available at the URL:
http://<workstation>:80/axis2/services/PP.SOM.SomSec.
Where: 80 - a port number (80 by default).
See also: