Before going into details on Knowage installation, it is necessary to check if certain requirements are satisfied. We start to distinguish between the certified environments and the compatible ones. The first are those where check tests take place. The latter are those environments technically compatibles but where integration tests are not executed.
The following Operating Systems (OS) are those ones which suit with Knowage platform.
|RHEL Red Hat Enterprise
|16 LST,18 LST
The Knowage installation requires 2 GB of free space on file system. This space does not include the space relative to the data and the metadata storage.
The enviroment in which Knowage will be installed must include a JDK 1.8 installation. Be sure that the JDK component is successfully installed and that the environment variable
JAVA_HOME is properly configured. The steps to configure it depend on the OS.
JAVA_HOME variable inside the users’ file
.bash_profile used in the installation process
1 2 3 export JAVA_HOME=<root path of the Java installation> export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_60/ export PATH=$JAVA_HOME/bin:$PATH
JAVA_HOME variable and
PATH in the section “Environment variables” which can be reached from the “System”.
The following lists the supported application servers:
JBoss support will be available on Q4 2018
For each application server installation please refer to the official documnetation.
In the following we will refer to Tomcat installation folder as
It is recommended to create a proper user for the execution of Tomcat. We state the main steps to follow for this purpose.
Create the Tomcat user.
useradd -m tomcat passwd <password for the tomcat user>
Install the Tomcat using the Tomcat user. Remeber to define the
export TOMCAT_HOME=<path of the installation Tomcat root folder >
Be sure that the Tomcat uses the JDK 1.8: usually the Tomcat settings are defined in the
TOMCAT_HOME/bin/setenv.shfile, therefore if the
TOMCAT_HOME/bin/setenv.shfile does not exit, the user must create it and insert it in the content as shown below. Note that
CATALINA_PIDcontains the ID of the Tomcat process and it kills the process if needed.
export CATALINA_PID=<root folder of the Tomcat installation>/logs/tomcat7. pid export JAVA_HOME=<root folder of the JDK 1.8 installation>
TOMCAT_HOME/bin/shutdown.shfile to force the shut down of the application in case of hanging:
exec "$PRGDIR"/"$EXECUTABLE" stop -f "$@"
It is recommended to install Tomcat as a service. Documentation is available at https://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html.
Database schema for metadata¶
Knowage uses a schema to manage metadata, that is all those information required for its operation. These concern the configuration, the users and the analytical documents. It is possible to use the following DBMSs for the creation of this schema.
|8, 9, 10, 11, 12
|10.1, 10.2, 10.3
Therefore, a schema must be available. It can be reached through the JDBC protocol by the Knowage installation server; such a schema will be called metadata DB in the following. Observe that Knowage includes all the DDL for table creation.
Database schema for data¶
A schema for data must be also available. It can be queried through Knowage and can be reached through the JDBC protocol by the Knowage installation server; such a schema will be called data DB in the following.
Knowage includes a standalone edition of SlimerJS 0.9 to export some contents to PDF and image files. Usually SlimerJS runs out-of-the-box on Windows, but requires OS-dependent libraries on Unix-like operating systems.
- In order to fulfill all SlimerJS requirements please refer to its official documentation at https://docs.slimerjs.org/0.9/installation.html#requirements.
- Xvfb may be required on Unix-like operating systems if no suitable X display server is available; install it with package manager.
Troubleshooting missing requirements may be difficult on Unix-like operating systems. Executing SlimerJS manually with debug option may help to investigate further:
xvfb-run ./slimerjs --debug=yes