Below is the additional setup of Apache2 to access resources of designer of business applications in Debian-based distributions if designer of business applications back end was installed manually.
To access resources of designer of business applications:
Make sure that the following conditions are satisfied:
The designer of business applications is unpacked and is located in the /opt/foresight/dba/10.x folder
The DBA.config.json configuration file is set up.
Specify the path to the folder with the installed designer of business applications in /etc/apache2/envvars:
Specify server URL or IP address with BI server port in the end of the /etc/apache2/envvars file:
When systemd is used as an initialization system, do not use the export command for correct setup:
Open the /etc/apache2/sites-available/webserver.conf file for edit, which was created during Apache2 setup to access web application resources at Step 4, and add the following strings before the closing tag </VirtualHost>:
Specify the address contained in ProxyPass, as a value of the ppServiceUrl field in the DBA.config.json file:
"ppServiceUrl": "http://<web server>/dba/PPService.axd"
NOTE. The dba directory name can be changed. For details about setting up virtual hosts in Apache2 see the official documentation.
Grant Apache2 access permissions to the designer of business applications files:
Restart Apache2:
After executing the operations open the designer of business applications at:
http://localhost/dba/#/login?repo=FPREPOSITORY
Where:
FPREPOSITORY. Repository identifier.
If authorization failed, check BI server performance and its settings according to the Installing and Setting Up BI Server in Debian-Based Distributions article.
See also:
Manual Installation and Setup of Apache2 to Access Designer of Business Applications | Installing an Setting Up BI Server in Debian-Based Distributions