Update README.md

This commit is contained in:
tteckster 2022-05-19 22:52:25 -04:00 committed by GitHub
parent bc953559dd
commit 2def24e8a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. 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 First, stop Keycloak
``` ```yaml
systemctl stop keycloak.service systemctl stop keycloak.service
``` ```
then start Keycloak by coping & pasting the following (only needed once) then start Keycloak by coping & pasting the following (only needed once)
``` ```yaml
cd /opt/keycloak cd /opt/keycloak
export KEYCLOAK_ADMIN=admin export KEYCLOAK_ADMIN=admin
export KEYCLOAK_ADMIN_PASSWORD=changeme export KEYCLOAK_ADMIN_PASSWORD=changeme