Installing Keycloak¶
Hint - active virus scanner
An active virus scanner may slow down the installation.
-
In a browser, log on to the SEAL Systems delivery platform with your logon data:
https://delivery.sealsystems.de
Hint - logon data
You receive the logon data from your Technical Project Manager at SEAL Systems.
-
Download the Keycloak - 26.8.1.162 - rpm folder. It is saved as
Keycloak - 26.8.1.162 - rpm.zip. -
Extract
.ziparchive:unzip "Keycloak - 26.8.1.162 - rpm.zip" -
Change to the
Keycloak - 26.8.1.162 - rpmdirectory and start installing the package:cd "Keycloak - 26.8.1.162 - rpm"sudo sh install.shHint - insufficient java version
If the Java Version is insufficient, the
install.shscript stops the installation with an error. Keycloak 22.0 and later versions require at least version 17, see requirements.Set the
JAVA_HOMEenvironment variable when installing Java. -
Open the required firewall ports:
sudo sh firewall.sh -
Start the service:
sudo systemctl start seal-keycloakHint - service does not start
If the service does not start, maybe Java cannot be found in the service context. In this case, stop the
seal-keycloakservice and add the following line to the[Service]section of the/usr/lib/systemd/system/seal-keycloak.servicefile:[Service] ... Environment="JAVA_HOME=<java_installation_dir>" ...