Installing Keycloak¶
Hint - active virus scanner
An active virus scanner may slow down the installation.
-
Make sure the
JAVA_HOME
environment variable is set to the Java Runtime Environment installed on the server.If not, open a Command Prompt (Adminstrator) and enter the following command:
setx JAVA_HOME /M "C:\Program Files\Java\<java_install_path>"
Hint - management server
If you whish to install SEAL Keycloak on the management server in parallel to SEAL Elastic Stack, set the variable to the Java Version that Elastic Stack comes with. SEAL Elastic Stack does not automatically set the
JAVE_HOME
environment variable. -
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.3.0.94 - msi folder. It is saved as
Keycloak - 26.3.0.94 - msi.zip
. -
Extract the
.zip
archive. -
In a PowerShell (Administrator), change to the
Keycloak - 26.3.0.94 - msi
directory and start installing the package:cd "Keycloak - 26.3.0.94 - msi"
Set-ExecutionPolicy Bypass -Scope Process -Force; .\install.ps1
Hint - insufficient java version
If the Java Version is insufficient, the
install.sh
script stops the installation with an error. Keycloak 22.0 requires at least version 17, see requirements. -
Open the required firewall ports:
Set-ExecutionPolicy Bypass -Scope Process -Force; .\firewall.ps1
-
After the installation is finished, start the service:
start-service seal-keycloak