keycloak_installation_on_windows_and_linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| keycloak_installation_on_windows_and_linux [2026/01/24 09:19] – [Pull Keycloak Image] pradnya | keycloak_installation_on_windows_and_linux [2026/01/24 09:29] (current) – [Prerequisites (Common for Both)] pradnya | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| |Port 8080 free|✅| | |Port 8080 free|✅| | ||
| - | ====== Keycloak Installation on | + | Recommended Folder Structure (Both OS) |
| + | < | ||
| + | |||
| + | iam/ | ||
| + | ├─ keycloak/ | ||
| + | │ | ||
| + | │ | ||
| + | │ | ||
| + | └─ scripts/ | ||
| + | | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ====== Keycloak Installation on Windows ====== | ||
| ===== Install Docker Desktop (Windows) ===== | ===== Install Docker Desktop (Windows) ===== | ||
| Line 28: | Line 45: | ||
| </ | </ | ||
| + | ===== Keycloak Installation on Linux (Ubuntu / RHEL / Amazon Linux) | ||
| + | |||
| + | ==== Install Docker ==== | ||
| + | |||
| + | **ubuntu** | ||
| + | < | ||
| + | sudo apt update | ||
| + | sudo apt install -y docker.io | ||
| + | sudo systemctl start docker | ||
| + | sudo systemctl enable docker | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| ==== Pull Keycloak Image ==== | ==== Pull Keycloak Image ==== | ||
| - | '' | + | < |
| + | docker pull quay.io/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | Verify: | ||
| + | |||
| + | < | ||
| + | docker images | ||
| + | |||
| + | </ | ||
| + | |||
| + | Run Keycloak (Development Mode) | ||
| + | |||
| + | < | ||
| + | docker run -d ^ | ||
| + | --name keycloak ^ | ||
| + | -p 8080:8080 ^ | ||
| + | -e KEYCLOAK_ADMIN=admin ^ | ||
| + | -e KEYCLOAK_ADMIN_PASSWORD=admin ^ | ||
| + | quay.io/ | ||
| + | start-dev | ||
| + | |||
| + | </ | ||
| + | |||
| + | Access Keycloak | ||
| + | |||
| + | < | ||
| + | http:// | ||
| + | |||
| + | </ | ||
| + | |||
| + | Login: | ||
| + | |||
| + | < | ||
| + | username: admin | ||
| + | password: admin | ||
| + | |||
| + | </ | ||
keycloak_installation_on_windows_and_linux.1769246391.txt.gz · Last modified: by pradnya
