Installing Web Application Back End on Apache2

The web application back end on Apache2 web server is installed automatically using a distribution file or manually. Manual installation and setup of Apache2 is used as an alternative option to access web application resources.

To install the web application back end on Apache2 web server in Linux OS:

  1. Make sure that the following conditions are satisfied:

  2. Copy the distribution file from the software package of Foresight Analytics Platform to the home directory: /home/<user name>:

  1. Install the copied distribution of the web application back end:

sudo dpkg -i foresight-fp10.x-webserver*.deb

sudo yum localinstall foresight-fp10.x-webserver*.rpm

sudo dnf install foresight-fp10.x-webserver*.rpm

sudo apt-get install -y foresight-fp10.x-webserver*.rpm

NOTE. Packages can be installed using another utility.

  1. Disable the AstraMode mode for the apache2-fp10.x-web instance if Astra Linux SE 1.7 is used. To do this, replace the #AstraMode on string in the /etc/apache2-fp10.x-web/apache2.conf file with the following one:

  2. If required, determine IP address or name of the DNS server, on which the web application back end is installed:

ip address
hostname

These parameters are used on setting up web application configuration and checking BI server performance.

After executing the operations, the web application back end is installed to the /opt/foresight/fp10.x-webserver folder. During the installation, a new instance of apache2-fp10.x-web will be created and set up for Astra Linux, httpd-fp10.x-web - for RED OS and Rocky Linux, httpd2-fp10.x-web - for ALT Linux. Two variables PATH_TO_WEB and PP_SOM will be added to the environment variables file /etc/opt/foresight/fp10.x-webserver/envvars: The variables will have the path to web application files and default BI server URL. If required, change the values by specifying the actual path and URL. These variables are used in the Apache2 configuration file.

The web application is set up to work with a local BI server via the 8810 port. The BI server URL can be changed in the file /opt/foresight/fp10.x-webserver/config/PP.xml. The web application itself is available via the 8110 port.

See also:

System Requirements for Web Application Server | Installing BI Server on Linux OS | Manual Installation and Setup of Apache2 to Access Web Application Resources