From 2def24e8a1a483247f0bd47c77e84655b5d53c8e Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 19 May 2022 22:52:25 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d1f263b9..2df0dd33 100644 --- a/README.md +++ b/README.md @@ -1641,11 +1641,11 @@ The initial admin user can be added manually using the web frontend when accesse To add the initial admin user using environment variables, set `KEYCLOAK_ADMIN` for the initial admin username and `KEYCLOAK_ADMIN_PASSWORD` for the initial admin password. First, stop Keycloak -``` +```yaml systemctl stop keycloak.service ``` then start Keycloak by coping & pasting the following (only needed once) -``` +```yaml cd /opt/keycloak export KEYCLOAK_ADMIN=admin export KEYCLOAK_ADMIN_PASSWORD=changeme