Vanilla Bare Metal Keycloak Install for Linux in Dev Mode

Vanilla Bare Metal Keycloak Install for Linux in Dev Mode

This is the the bare metal plain vanilla keycloak install on Linux. I used an Ubuntu like machine, however it should work on any distro. This tutorial follows the directions in the official docs which can be found here: https://www.keycloak.org/getting-started/getting-started-zip. This tutorial is a simple quickstart launch guide for launching keycloak on any Linux machine and assumes you have OpenJDK 21 installed.

Download Keycloak

First off we need to download keycloak. The latest keycloak download link can be found on their site here: https://www.keycloak.org/getting-started/getting-started-zip or this is a direct download link for Keycloak Version 25.0.2: https://github.com/keycloak/keycloak/releases/download/25.0.2/keycloak-25.0.2.zip

Starting Keycloak in Dev Mode

Once you extract the files, open your terminal and navigate inside the main keycloak directory, and run the following command which will startup keycloak in dev mode.

							
							
					bin/kc.sh start-dev				
			

Launched!

That’s it! You have successfully launched keycloak on your local machine in dev mode just open your browser to http://localhost:8080 and login.

Walter Miely is a tech entrepreneur and CEO of Phoenix Ignited Tech You can find him on Linkedin. This material is licensed under the CC BY 4.0 License LEGAL DISCLAIMER: The content provided here is provided AS IS, and part of, or the entirety of this content may be incorrect. Please read the entireLegal Disclaimer here.