Alfresco Identity Servicesのインストール

Alfresco Identity Servicesのインストール

はじめに

このページでは、CentOS 7 に Alfresco Identity Services をインストールする手順について説明します。

インストール対象の Alfresco Content Services あるいは Alfresco Process Services でサポートされているバージョンのものを選択してください

本手順に記載のバージョンは、適宜読み替えてください

 

1.事前準備

事前準備として、次のものがインストールされていることを前提とします。

  • OpenJDK

  • Nginx

インストールされていない場合は次の手順も参考にインストールをしてください。

  • OpenJDK のインストール(yum リポジトリから)

  • Nginx のインストール

Alfresco Identity Services アクセス制限について

デフォルトの状態の場合、Alfresco Identity Services は localhost からのアクセスのみを許可する状態となっております。これは Alfresco Identity Services のベースとなっている Keycloak が内包している Wildfly アプリケーションサーバの設定です。

本手順では Alfresco Identity Services と同じサーバに Nginx をインストール済みの前提で記載しておりますが、実際の構成はお客様の環境にあわせて適宜修正いただく必要がございます。

2.Alfresco Identity Services をインストール

実行用ユーザ を作成します

実行コマンド
# useradd alfresco

Alfresco Identity Services の Zip ファイルをあらかじめダウンロードしてサーバに配置します

ファイルを解凍します

実行コマンド
# unzip alfresco-identity-service-1.1.0.zip -d /opt/

設定ファイルを編集し、realm ファイルのパスを絶対パスで指定します

実行コマンド
# vi /opt/alfresco-identity-service-1.1.0/bin/standalone.conf
編集内容
## -*- shell-script -*- ###################################################### ## ## ## WildFly bootstrap Script Configuration ## ## ## ############################################################################## # # This file is optional; it may be removed if not needed. # ALF_HOME="/opt/alfresco-identity-service-1.1.0" ←追加 (中略) # Uncomment this out to control garbage collection logging # GC_LOG="true" # Alfresco realm import JAVA_OPTS="$JAVA_OPTS -Dkeycloak.import=$ALF_HOME/realm/alfresco-realm.json" ←編集

所有者を実行ユーザに変更します

実行コマンド
# chown -R alfresco:alfresco /opt/alfresco-identity-service-1.1.0

サービスファイルを作成します

実行コマンド
# vi /etc/systemd/system/identity-services.service
編集内容
[Unit] Description=Alfresco Identity Services service After=network.target [Service] User=alfresco Group=alfresco ExecStart=/opt/alfresco-identity-service-1.1.0/bin/standalone.sh ExecStop=ExecStop=/bin/kill -INT $MAINPID [Install] WantedBy=multi-user.target

Alfresco Identity Services を起動します

実行コマンド
# systemctl daemon-reload \ && systemctl start identity-services

次の情報でアクセスします

 

項目名

1

URL

<ベースURL>/auth/admin/alfresco/console/

2

ID

admin

3

PW

admin

リックソフト株式会社 は、日本でトップレベルのAtlassian Platinum Solution Partnerです。
大規模ユーザーへの対応実績が認められたEnterpriseの認定をうけ、高度なトレーニング要件をクリアし、小規模から大規模のお客様まで対応可能な実績を示したパートナー企業です。


Copyright © Ricksoft Co., Ltd. プライバシーポリシー お問い合わせ