# mkdir -p /opt/tmp # mkdir /opt/shibboleth-sp # export SHIB_HOME=/opt/shibboleth-sp
Poznámka: Zde uvedene verze software nemusí být nejnovější. Použití novější verze pravděpodobně bude fungovat.
# cd /opt/tmp # wget http://shibboleth.internet2.edu/downloads/log4shib/latest/log4shib-1.0.1.tar.gz # tar xvfz log4shib-1.0.1.tar.gz # cd log4shib-1.0.1 # ./configure --disable-static --disable-doxygen --prefix=$SHIB_HOME # make # make install
Xerces C++ Parser 2.8.0: https://spaces.internet2.edu/display/OpenSAML/Xerces-C
# cd /opt/tmp # wget http://apache.mirror.superhosting.cz/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz # tar xvfz xerces-c-src_2_8_0.tar.gz # cd xerces-c-src_2_8_0 # export XERCESCROOT=`pwd` # cd src/xercesc # ./runConfigure -p linux -c gcc -x g++ -r pthread -P $SHIB_HOME # make # make install
XML Security 1.4.x: https://spaces.internet2.edu/display/OpenSAML/XML-Security-C
# cd /opt/tmp # wget http://xml.apache.org/security/dist/c-library/xml-security-c-1.4.0.tar.gz # tar xvfz xml-security-c-1.4.0.tar.gz # cd xml-security-c-1.4.0 # ./configure --prefix=$SHIB_HOME --without-xalan --disable-static # make # make install
XML Tooling: https://spaces.internet2.edu/display/OpenSAML/XMLTooling-C
# cd /opt/tmp # wget http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/xmltooling-1.1.tar.gz # tar xvfz xmltooling-1.1.tar.gz # cd xmltooling-1.1 # ./configure --with-log4shib=$SHIB_HOME --prefix=$SHIB_HOME -C # make # make install
OpenSAML: https://spaces.internet2.edu/display/OpenSAML/OSTwoUsrManCPPInstall
# cd /opt/tmp # wget http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/opensaml-2.1.tar.gz # tar xvfz opensaml-2.1.tar.gz # cd opensaml-2.1 # ./configure --prefix=$SHIB_HOME --with-log4shib=$SHIB_HOME -C # make # make install
Shibboleth SP: https://spaces.internet2.edu/display/SHIB2/NativeSPLinuxSourceBuild
# cd /opt/tmp # wget http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/shibboleth-sp-2.1.tar.gz # tar xvfz shibboleth-sp-2.1.tar.gz # cd shibboleth-2.1 # ./configure --prefix=$SHIB_HOME --with-log4shib=$SHIB_HOME --enable-apache-22 --with-apxs22=/usr/bin/apxs2 --with-apr1=/usr/bin/apr-1-config --disable-odbc # make # make install
# ln -s /opt/shibboleth-sp/etc/shibboleth /etc/shibboleth # chown www-data.www-data /opt/shibboleth-sp/var/log/httpd/
pridat do konfigurace apache radku:
Include /etc/shibboleth/apache22.config
Metadata pro SP v zavislosti na konfiguraci lze vygenerovat pristupem k handleru /Metadata:
https://sp.example.cz/Shibboleth.sso/Metadata