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>"
-
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 - 23.0.0.66 - msi folder. It is saved as
Keycloak - 23.0.0.66 - msi.zip
. -
Extract the
.zip
archive. -
In a PowerShell (Administrator), change to the
Keycloak - 23.0.0.66 - msi
directory and start installing the package:cd "Keycloak - 23.0.0.66 - 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