Installation
Preparations
Before you install the BPC, you should check System requirements and make the following preparations.
License
You need a License file for your installation. You can obtain this from Support or your sales contact.
System user
It is recommended that you create a dedicated user on the system for installation and operation. This is to prevent negative interaction with other applications on the server.
The system user used should have a home directory.
If this is not the case, org.ops4j.pax.url.mvn.localRepository, in KARAF/etc/org.ops4j.pax.url.cfg, must be set to a valid path at the end of the installation.
Otherwise, errors will occur if additional features are installed in Karaf.
|
The application should never run under a user with unrestricted administration rights (such as root).E.g. root). |
Installation procedure
There are various ways to install the BPC. The following describes the options of using a prefabricated bundle (recommended) or assembling all components individually.
Alternatively, it is also possible to install the BPC as part of an INUBIT installation using its installer. You can find a description of this in the INUBIT documentation.
Installation using a bundle file
Installation using the Bundle file is an easy way to install the BPC, as in this case all required files (except License) are already included.
-
First download the Bundle file suitable for your operating system.
-
Unpack the Bundle file into the
INSTALLATIONSVERZEICHNIS. -
If you are using Windows as your operating system, you should also create additional links.
cd INSTALLATIONSVERZEICHNIS mklink /J opensearch_config\virtimo\ssl ssl mklink /J opensearch-3.2.0 opensearch mklink /J karaf-5.0.X karaf mklink /J jdk-21.X _jvmDies ist nicht zwingend nötig, aber es erleichtert den Betrieb, wenn zukünftig Updates eingespielt werden. So bleiben die Pfade der Systemkomponenten stabil.
-
Create your License file in the
INSTALLATIONSVERZEICHNIS/karaf/deploydirectory. -
If the BPC is to be set up as an operating system Service, you can follow the instructions at Services.
Alternatively, you can also start and stop the BPC directly and stop it directly.
At the end, the contents of INSTALLATIONSVERZEICHNIS should look like this.
Installing the individual components
The following describes how the BPC system components can be installed individually.
Providing central configuration files
It is recommended to use Central configuration file. This makes it possible to store important configurations outside of the system components. This simplifies the updating of the individual components, as the configuration is retained.
-
Load the central configuration files download.
-
Store the files directly at
INSTALLATIONSVERZEICHNIS.
Further information can be found at Central configuration file.
Install Java
The two system components OpenSearch and Karaf require a corresponding runtime environment (Java 21). If you already have a suitable runtime environment on the system, you can skip the first two steps.
-
Unpack the appropriate Java runtime environment archive (
jdk_*) to theINSTALLATIONSVERZEICHNIS. -
Create a link with the name
_jvm, which points to the directory of the runtime environment:-
Unix systems
-
Windows systems
ln -s jdk-21.X _jvmmklink /J jdk-21.X _jvm -
-
You must set the environment variable
JAVA_HOMEwith the path to the runtime environment (e.g. ) for the user executing the BPC.E.g.INSTALLATIONSVERZEICHNIS/_jvm).To set
JAVA_HOME, we recommend using the Central configuration file
Install OpenSearch
-
Unpack the appropriate OpenSearch archive into the
INSTALLATIONSVERZEICHNIS. -
Create a link with the name
opensearch, which points to the new directory:-
Unix systems
-
Windows systems
ln -s opensearch-3.2.0/ opensearchmklink /J opensearch opensearch-3.2.0 -
As described in section Configuring OpenSearch section, we recommend that you outsource the configuration directory.
To do this, move the OpenSearch configuration directory to the BPC installation directory, rename this to opensearch_config and reset the symbolic link to the SSL directory.
-
Unix systems
-
Windows systems
mv opensearch/config opensearch_config
cd opensearch_config/virtimo/
rm ssl # falls symlink existiert
ln -s ../../ssl ssl
mv opensearch\config opensearch_config
mklink /J opensearch_config\virtimo\ssl ssl
Then activate the following line in the central configuration file:
-
Unix systems
-
Windows systems
export OPENSEARCH_PATH_CONF=../opensearch_config
SET OPENSEARCH_PATH_CONF=..\opensearch_config
Installing Karaf
-
Unpack the archive that matches your operating system Karaf archive to the
INSTALLATIONSVERZEICHNIS. -
Create a link with the name
karaf, which points to the new directory:-
Unix systems
-
Windows systems
ln -s karaf-5.0/ karafmklink /J karaf karaf-5.0.X -
Install license
Create your license file License file in the directory INSTALLATIONSVERZEICHNIS/karaf/deploy.
BPC modules
The BPC modules can now be installed.
To do this, download all the required BPC modules and copy them to the directory INSTALLATIONSVERZEICHNIS/karaf/deploy.
A simple installation usually includes the following modules:
If the file storage functionality is to be used, which enables files to be stored in cloud services, the corresponding modules must be installed:
Central Java trust and keystores
It is recommended, central trust/keystores are recommended. These are necessary in order to set up encrypted network connections The system components are already equipped with sample stores that enable an encrypted connection. You should nevertheless replace these and adapt them to your needs.
-
Put together a Java trust store and keystore that contains all the keys and certificates you need.
-
If you do not need your own trust and keystores, e.g. for simple tests, you can use the example Trust and keystores can be used.
-
-
Copy these to the directory
INSTALLATIONSVERZEICHNIS/ssl. -
Carry out the configuration according to the Instructions for using the central trust/keystores
Start and stop scripts
If you want to start and stop the BPC with a single script start and stopthen you can set this up as follows.
-
Load the appropriate start and stop scripts for your operating system Start and stop scripts for your operating system.
-
Copy these to the directory
INSTALLATIONSVERZEICHNIS/bin.
For more information on using the scripts, see BPC start and stop.
Setting up as an operating system service
If you want to set up the BPC as an operating system service, you can follow the instructions at Services.
Initial login
As soon as you have completed the installation and started the Started the BPC you can log in.
The BPC can be accessed in your browser at http://localhost:8181/ if OpenSearch and Karaf have been started.
See also BPC start and stop.
To initially log in to the BPC, Karaf is set as the identity provider by default.
There are two standard users here:
| Username | Comment |
|---|---|
|
Admin user with the role bpcadmin. |
|
Only for access to the Karaf console. |
|
The passwords for the standard users are assigned randomly and must be set manually (see Karaf as identity provider)! |
Other identity providers can also be used for the BPC. You can find out how to configure these in detail at Create, configure and use an identity provider.