Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: mv idp logs from prev step

...

Table of Contents
maxLevel4
printablefalse

Make sure Tomcat is still stopped (from the previous step) before continuing below.

Install the IDP software

Download and unpack the latest Shibboleth IDPv5 software, adjusting the value of $VER to the latest/current version. Optional, but recommended (if you understand how PGP and the Web of Trust work), commands to verify the software using cryptographic signatures from the Shibboleth devlopers are also included below.

...

No Format
cd /opt/shibboleth-idp/
mkdir -p edit-webapp/WEB-INF/lib
curl -O --output-dir edit-webapp/WEB-INF/lib/ https://repo.maven.apache.org/maven2/jakarta/servlet/jsp/jstl/jakarta.servlet.jsp.jstl-api/3.0.0/jakarta.servlet.jsp.jstl-api-3.0.0.jar
./bin/build.sh

Adjust IDP log files location

You might prefer having IDP log files written to a more standard location in the file system, specifically one outside the application's own directory and on a file system where data usage is expected to grow dynamically, i.e., on /var. To do that simply set the idp.logfiles property in any of the property files read by the IDP, e.g. within conf/idp.properties:

idp.logfiles=/var/log/shibboleth

We also have to create that directory. And in order for the example commands in this documentation to work with either log directory location we'll remove the (still empty) log dir created by the IDP installer and replace it with a symlink to one we just created ourselfs:

No Format
install -o tomcat -g root -m 0750 -d /var/log/shibboleth/
cd /opt/shibboleth-idp/ && rmdir logs && ln -s /var/log/shibboleth logs

Adjust Tomcat configuration

...