티스토리 뷰

System Requirements

Edit this sectionReport an issue

These are the requirements to run the Keycloak authentication server:

  • Can run on any operating system that runs Java
  • Java 8 JDK
  • zip or gzip and tar
  • At least 512M of RAM
  • At least 1G of diskspace
  • A shared external database like PostgreSQL, MySQL, Oracle, etc. Keycloak requires an external shared database if you want to run in a cluster. Please see the database configuration section of this guide for more information.
  • Network multicast support on your machine if you want to run in a cluster. Keycloak can be clustered without multicast, but this requires a bunch of configuration changes. Please see the clustering section of this guide for more information.
  • On Linux, it is recommended to use /dev/urandom as a source of random data to prevent Keycloak hanging due to lack of available entropy, unless /dev/random usage is mandated by your security policy. To achieve that on Oracle JDK 8 and OpenJDK 8, set the java.security.egd system property on startup to file:/dev/urandom.
  1. centos7 pull

     docker pull centos:centos7
  2. JDK Download

    #yum upgrade
    yum -y upgrade
    
    yum -y install wget
    
    #JDK 11 download
    wget http://cdn.azul.com/zulu/bin/zulu11.39.15-ca-jdk11.0.7-linux_x64.tar.gz
    
    tar -zxvf zulu11.39.15-ca-jdk11.0.7-linux_x64.tar.gz
    mkdir /usr/local/java
    mv /usr/local/src/zulu11.39.15-ca-jdk11.0.7-linux_x64.tar.gz /usr/local/java
  3. JAVA_HOME 설정

    vi ~/.bash_profile
    
    #아래의 설정 추가
    JAVA_HOME=/usr/local/java/zulu11.39.15-ca-jdk11.0.7-linux_x64
    PATH=$PATH:$JAVA_HOME/bin
    export PATH JAVA_HOME
    
    source ~/.bash_profile
    java -version
  4. keycloak download

    wget --no-check-certificate https://downloads.jboss.org/keycloak/9.0.3/keycloak-9.0.3.zip
  • unzip 설치

    #확인
    rpm -qa | grep unzip
    yum list unzip
    
    #설치
    yum install unzip
  • keycloak unzip

    unzip keycloak-9.0.3.zip
    #설치경로
    /opt/keycloak-10.0.0
    

'Programming > Keycloak' 카테고리의 다른 글

[Keycloak] Keycloak?  (0) 2021.05.10
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함