ページ ツリー

比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

Software Name

Version

Notes

CentOS (64bit)

7.29

Operating System

Shibboleth-SP

23.54.51

Service Provider

Shibboleth-IdP

24.41.57

Identity Provider

Apache HTTP Server

2.4 (*1)

WEB Server

Java

OpenJDK 711.0.8519 (*1)

IdP Executable Environment

Apache TomcatJetty

79.0.54 (*1)4.51

Servlet Container

MariaDBMySQL

5.5.44 (*1)7.38

Relational Database

Postfix

2.10 (*1)

Mail Transfer Agent

PHP

5.4.16 (*1)

Programing Language

*1 Latest version of yum package as of  20152023/205/2918

These software will be used in the following structure:

...

In addition to Shibboleth IdP, Java and Tomcat Jetty should be installed as well. Please setup these environment as well.

Installing and Setting Up

...

MySQL

Install MariaDB by using following command.

コード ブロック
$ sudo yum install mariadb-server

* If the MariaDB has already been installed as the initial component, you can skip this process.

Setup /etc/my.cnf
localinstall http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
$ sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 
$ sudo yum install mysql-community-server

* If the MySQL has already been installed as the initial component, you can skip this process.


Setup /etc/my.cnf
コード ブロック
コード ブロック
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
symbolic-links=0
 
old_passwords=1
character-set-server=utf8
 
[mysqld_safe]
 log-error=/var/log/mariadb/mariadbmysqld.log
pid-file=/var/run/mariadbmysqld/mariadbmysqld.pid
 
  [mysql]
default-character-set=utf8

...

コード ブロック
$ sudo systemctl start mariadbmysqld.service 
$ sudo systemctl enable mariadbmysqld.service


Create Database
コード ブロック
$ mysql -u root
CREATE DATABASE vo;
GRANT INSERT, SELECT, UPDATE, DELETE ON vo.* TO 'vouser'@'localhost' IDENTIFIED BY 'YOUR OWN PASSWORD';

...

Download files from the following URL.


Deployment
コード ブロック
$ unzip cloudgateway-1.0.zip
$ sudo mv map /usr/local/.

...

  • /usr/local/map/app/config/database.php
    In the 'password' => '',  set the password defined at “6. Installing and Setting Up MariaDB”
  • /usr/local/map/app/config/mail.php
    In the 'host' => '', set the SMTP server.
    In the $from, $this->from, set the FROM address of the email which will be send from this server.
    In the $footer_jp_map, $footer_jp_test, $footer_eng_map and $footer_eng_test, modify to the appropriate sentences as you want.
  • /usr/local/map/app/config/system.php
    In the "host" and the host of "loginlink" in $config["production"], $config["test"], set the host name of this server.
  • Registration of System Administrator
    Create a new account by accessing to the following URL.
    https://HOTS-NAME-OF-THIS-SERVER/map/
    After selecting the IdP and then login, create a new account.

    Register the Administrator of the Database.

    コード ブロック
    $ mysql -u vouser vo -pYOUR-OWN-PASSWORD
    
    mysql> select id,name,mail from accounts;
    Find your ID by the above command, and then and execute the following SQL to your ID.
    mysql> insert into mygroups(account_id, groupid, admin, created, modified) values(YOUR-ACCOUNT-ID, 1, 1, UTC_TIMESTAMP(), UTC_TIMESTAMP());
    
    Example)
    mysql> insert into mygroups(account_id, groupid, admin, created, modified) values(1, 1, 1, UTC_TIMESTAMP(), UTC_TIMESTAMP());
Registration of IdP administrators

By the following commands, will be registered IdP administrators.

コード ブロック
$ cd /usr/local/map/cake/console
$ ./cake -app /usr/local/map/app idp_administrator /path/to/somewhere/idp_administrator.tsv

/path/to/somewhere/idp_administrator.tsv must be created in the format below.

...

Registration of organizations

...