Keycloak 17 & FileMaker: Installation & Configuration Tutorial Part 1: Ubuntu & MySQL

Introduction

Keycloak 17: What’s Changed?

Installing Ubuntu

  • Hyper-V on Windows 10 (probably Windows 11 too but we’ve not upgraded yet!)
  • VMware
  • Parallels
  • Amazon Web Services or other cloud provider
  • Old Mac Mini you have kicking around
  • Something else…

Installing MySQL

cd
sudo apt install mysql-server
sudo mysql_secure_installation
  • If you wish to use the Validate Password component, which enforces password complexity. Given we’re trying to improve security, this is not a bad option to elect yes for.
  • After that, enter your password for the MySQL root user — our placeholder for this is MYSQL_ADMIN_PASSWORD
  • Next you’ll be asked to remove the anonymous user — select yes.
  • And then disallow root login remotely — again yes.
  • Then remove the test database.
  • Finally, reload the privileges table.

Creating The Database

sudo mysqlCREATE DATABASE keycloak CHARACTER SET utf8 COLLATE utf8_unicode_ci;CREATE USER 'keycloak'@'localhost' IDENTIFIED BY 'MYSQL_DATABASE_PASSWORD';GRANT ALL PRIVILEGES ON keycloak.* TO 'keycloak'@'localhost';FLUSH PRIVILEGES;exit;
sudo shutdown -r now

Tools

  • Hyper-V
  • We’ve talked about this virtualization technology before
  • It’s included in Windows and is free
  • You can create Checkpoints, so if you mess something up or just want to experiment, you can revert back to the clean install of Ubuntu without having to start from scratch
  • Run multiple instances of different operating systems or software on one machine
  • Export images of operating systems/installations
  • Again, it’s free — there’s nothing to stop you from trying out Keycloak!
  • iTerm2
  • https://iterm2.com
  • This is a Terminal replacement on Mac
  • It’s free
  • You can save Snippets, paste history, make notes and more
  • We’ve only just started using this and the jury is still out but it seems to be a step up on the default Terminal program
  • There are others such as Termius that we’ll be keeping an eye on too

Summary

--

--

--

FileMaker Developers; Keycloak Enthusiasts; Data Magicians

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

TIL-12-FEB-2020

How Does Git Version Control Work?

Comprehensive Guide to Bucket Aggregations in Elasticsearch: Part I

Starting out with Kubernetes — Why we rolled our own despite the naysayers

Dell Boomi Integration Platform: Key Basics which make it Create Marvels for Users

Humans of DataHub: Harvey Li

Python One-Liners That Every Programmer Should Know

Guide and Tips for Apache Spark 3.0/2.4 Databricks Certification Preparation

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sounds Essential

Sounds Essential

FileMaker Developers; Keycloak Enthusiasts; Data Magicians

More from Medium

Keycloak 17 & FileMaker: Installation & Configuration Tutorial Part 3: Preparing Keycloak 17

Custom Autoscaling for GitLab Kubernetes Executors

Recovering corrupted RabbitMQ data by reversing its storage protocol (part 2)

Golang Authentication Rest Api’s with MongoDB and JSON-web-token (JWT)