Required packages to be installed:
Please check latest information on the site of original Shibboleth:
Linux, Mac OS X, Solaris, Windows, Java Servlets
SELinux is not supported with this document. Please confirm it is disabled with:
$ /usr/sbin/getenforce |
hostname
Determine a hostname for SP: sp.example.asia
Hostname is defined as follows in /etc/sysconfig/network
HOSTNAME=sp.example.asia |
In local testing environment, registering to /etc/hosts may be enough.
Use of NTP is recommended. Configure ntpd to refer nearby NTP servers.
(It may be configured already at installation to refer default NTP servers provided by pool.ntp.org project, though)
Shibboleth IdP and SP must work within 5min difference of clock.
The yum repository is available from the SP version 2.3, making the installing procedure very easy.
The instruction described here is for the following OS.
Please refer to the following instruction in case of the other OS.
The above OS but x86_64
⇒Please modify "yum install shibboleth" as "yum install shibboleth.x86_64" in the instruction below.
Other Linux distribution
⇒Here
Other OS
⇒Here
WS Participants The following instruction requires the Internet connection. If you don't have the Internet connection, all required files are stored under /root/source directory and you can install directly with this command.
|
Download the repository file for Shibboleth.
(Following command is for the CentOS 6. In case of different OS, please modify the part of URL described as "CentOS_CentOS-6")
# wget http://download.opensuse.org/repositories/security://shibboleth/CentOS_CentOS-6/security:shibboleth.repo |
Add the downloaded repository file to yum.
(File name is modified since using colon in the file name is not my preference^^)
# cp security\:shibboleth.repo /etc/yum.repos.d/shibboleth.repo |
WS Participants If you are installing the software from /root/source directory by using rpm command, skip these steps and go straight to section 3.3 . |
In order to install the shibboleth SP, just type the following command.
# yum install shibboleth |
Following packages will also be installed additionally (This is an example in case of prepared Virtual Box image 2014-01-07).
================================================================================ |
Setup ServerName in /etc/httpd/conf.d/ssl.conf
|
Start shibd daemon by the following command.
# service shibd start |
# service httpd start |
# service shibd start |
# service httpd stop |
# service shibd stop |
# service httpd restart |
# service shibd restart |
In addition to shibd, httpd is also include SP configuration file (shibboleth2.xml), therefore, please restart httpd when you modify the SP configuration. Shibboleth module (mod_shib) which is involved in the httpd, will include shibboleth2.xml. |
Proceed to next step for configuration of SP