2023-02-09 09:29:41 +00:00
|
|
|
<#import "/templates/guide.adoc" as tmpl>
|
2023-10-12 21:33:25 +00:00
|
|
|
<#import "/templates/profile.adoc" as profile>
|
2023-02-09 09:29:41 +00:00
|
|
|
|
|
|
|
<@tmpl.guide
|
|
|
|
title="OpenJDK"
|
|
|
|
summary="Get started with Keycloak on bare metal">
|
|
|
|
|
|
|
|
:links-local: true
|
|
|
|
:links-admin-console: http://localhost:8080/admin[Keycloak Admin Console]
|
|
|
|
:links-account-console: http://localhost:8080/realms/myrealm/account[Keycloak Account Console]
|
|
|
|
|
2023-02-13 07:40:02 +00:00
|
|
|
== Before you start
|
2023-02-09 09:29:41 +00:00
|
|
|
|
2023-10-12 21:33:25 +00:00
|
|
|
Make sure you have https://openjdk.java.net/[OpenJDK 17] installed.
|
2023-02-09 09:29:41 +00:00
|
|
|
|
2023-02-13 07:40:02 +00:00
|
|
|
== Download Keycloak
|
2023-02-09 09:29:41 +00:00
|
|
|
|
2023-02-20 12:58:57 +00:00
|
|
|
Download and extract https://github.com/keycloak/keycloak/releases/download/{version}/keycloak-{version}.zip[keycloak-{version}.zip]
|
2023-02-09 09:29:41 +00:00
|
|
|
from the Keycloak website.
|
|
|
|
|
2023-10-12 21:33:25 +00:00
|
|
|
<@profile.ifCommunity>
|
|
|
|
After extracting this file, you should have a directory with a name that starts with `keycloak-{version}`.
|
|
|
|
</@profile.ifCommunity>
|
|
|
|
|
|
|
|
<@profile.ifProduct>
|
|
|
|
After extracting this file, you should have a directory with a name that starts with `rhbk-{version}`.
|
|
|
|
</@profile.ifProduct>
|
2023-02-09 09:29:41 +00:00
|
|
|
|
|
|
|
include::templates/start-keycloak-localhost.adoc[]
|
|
|
|
|
|
|
|
include::templates/create-admin-localhost.adoc[]
|
|
|
|
|
|
|
|
include::templates/realm-config.adoc[]
|
|
|
|
|
|
|
|
include::templates/login-to-account.adoc[]
|
|
|
|
|
|
|
|
include::templates/first-app.adoc[]
|
|
|
|
|
|
|
|
include::templates/next.adoc[]
|
|
|
|
|
|
|
|
</@tmpl.guide>
|