Problems with the installation instructions?
danielcshn opened this issue · 2 comments
danielcshn commented
Describe the bug
Problem when following the steps for the installation.
To Reproduce
Steps to reproduce the behavior:
- Install Ubuntu Server 22.04.2 LTS.
- Install keycloak-21.1.1.
- wget https://github.com/vzakharchenko/keycloak-radius-plugin/releases/download/v1.4.11-21.0.0/keycloak-radius.zip
- unzip keycloak-radius.zip -d keycloak-radius
- cd keycloak-radius
- sh bin/kc.sh --debug 8190 start-dev --http-port=8090
Expected behavior
Installation successful?
Desktop (please complete the following information):
- OS: Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-71-generic x86_64)
- Browser Google Chrome
- Version 113.0.5672.92 (64 bits)
andrm commented
Can you try to use "bash" instead of "sh" ?
danielcshn commented
Solved:
apt-get update -y
apt-get install default-jdk unzip -y
wget https://github.com/vzakharchenko/keycloak-radius-plugin/releases/download/v1.4.11-21.0.0/keycloak-radius.zip
unzip keycloak-radius.zip -d keycloak-radius
mv keycloak-radius /opt/keycloak
useradd -r -g keycloak -d /opt/keycloak -s /sbin/nologin keycloak
chown -R keycloak: /opt/keycloak
chmod o+x /opt/keycloak/bin/
mkdir /etc/keycloak
export KEYCLOAK_ADMIN=<USERNAME>
export KEYCLOAK_ADMIN_PASSWORD=<PASSWORD>
bin/kc.sh --debug 8190 start-dev --http-port=8090