Download Shibboleth 2.1.5 from here to /root/ directory Then unpack shibboleth-identityprovider-2.1.5-bin.tar.gz file by:
tar zxf shibboleth-identityprovider-2.1.5-bin.tar.gzGo to shibboleth-identityprovider-2.1.5 and copy all files from endorsed/ into ${TOMCAT_HOME}/endorsed/
Tomcat 6.x doesn't contain endorsed directory by default so you need to create it. Then copy..
cd shibboleth-identityprovider-2.1.5
cp endorsed/* ${TOMCAT_HOME}/endorsed/
Also copy downloaded mysql java connector into shibboleth-identityprovider-2.1.2/lib/ change permissions of install.sh file to be executable and run install.sh
chmod u+x install.sh ./install.shDuring a installation process you will be asked to enter path and hostname. as a path enter /opt/shibboleth-idp
as a hostname enter long host name ex. idp.example.com
chown -R tomcat6 /opt/shibboleth-idpSet IDP_HOME in /etc/profile
IDP_HOME=/opt/shibboleth-idp export IDP_HOMETomcat
Create file $TOMCAT_HOME/conf/Catalina/localhost/idp.xml and add
<Context
docBase="/opt/shibboleth-idp/war/idp.war"
privileged="true" antiResourceLocking="false"
antiJARLocking="false" unpackWAR="true" />
restart tomcatCheck tomcat and shibboleth (/opt/shibboleth-idp/logs/) logs.
The check https://your_host/idp/profile/Status you should get OK in result. That means at least shibboleth servlet has been loaded by tomcat.

