Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create file named shibboleth.repo in /etc/yum.repos.d/

in it, put:


Code Block
languagebash
themeRDark
titlePreparing yum to install Shibbolet-SP
[shibboleth]


name=Shibboleth (CentOS_7)


# Please report any problems to https://shibboleth.atlassian.net/jira


type=rpm-md


mirrorlist=https://shibboleth.net/cgi-bin/mirrorlist.cgi/CentOS_7


gpgcheck=1


gpgkey=https://shibboleth.net/downloads/service-provider/RPMS/repomd.xml.key


    
  https
   https://shibboleth.net/downloads/service-provider/RPMS/cantor.repomd.xml.key


enabled=1


Install Apache, mod_ssl and Shibboleth:

Note: Apache version should be 2.4.10 or higher so that the local address request field gets populated for use in the back-end code. (see: https://bz.apache.org/bugzilla/show_bug.cgi?id=56661). If it isn't populated the back-end fails with an NPE when looking for the local address in the request. 



Code Block
themeRDark
yum install httpd-2.4.54-1.codeit.el7 mod_ssl-1:2.4.54-1.codeit.el7 shibboleth-3.3.0-1



Verify Installation

The Apache configuration files should be in /etc/httpd/

...

Restart when server.xml, shrine.conf or override.conf are modified

Starting Tomcat:


Code Block
languagebash
themeRDark
titleStarting Tomcat
sudo -u shrine bash


cd /opt/shrine/tomcat


./bin/startup.sh


To deploy a new WAR file:


Code Block
languagebash
themeRDark
titleDeploying a new WAR file
sudo -u shrine bash

...



./bin/shutdown.sh

...



rm -fr ./webapps/shrine api*

...



cp <Shrine war file> ./webapps

...



./bin/startup.sh

Shibboleth

Restart when shibboleth2.xml or other Shibboleth configuration files are modified.


Code Block
languagebash
themeRDark
titleRestart Shibboleth
sudo -u root bash

service shibd 

{color:000000}

sudo -u root bash

service shibd
(re)start


service httpd (re)start
{color}


Apache

Restart after restarting Shibboleth; or when there is a change in Apache configuration.

...