Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Configure the system to use Apache 2.2.x, according to other pages on this wiki.
  2. Download the source code tarball and build script from either Trogdor Aether or the /mit/webauth/shibboleth/source webauth Athena locker.
    1. Download from TrogdorAether:
      Code Block
      cd /home/www/tmp
      scp root@trogdorroot@aether.mit.edu:/opt/software-repository-tmp/Touchstone/shibboleth-sp-1.3.1-sources.tgz \
         /home/www/tmp
      
    2. Download for the webauth Athena locker:
      Code Block
      cd /home/www/tmp
      scp athena.dialup.mit.edu:/mit/webauth/shibboleth/source/shibboleth-sp-1.3.1-sources.tgz /home/www/tmp
      
  3. Make certain that the correct version of apxs from httpd-devel packages are installed.
    Code Block
    yum install httpd-devel-2.2.3-11.el5_1.3.x86_64
    
  4. Create a Shibboleth build directory, unpack the tarball into it, and run the build script.
    Code Block
    mkdir /home/www/tmp/shibboleth-build-directory
    cd /home/www/tmp/shibboleth-build-directory
    tar -xzvf /home/www/tmp/shibboleth-sp-1.3.1-sources.tgz
    ./build-sp.sh -p /home/www/shibboleth
    chown -R www:www /home/www
    
  5. Configure Shibboleth, as described in Configuring+and+customizing+the+Shibboleth+SP.
    • Download to the config files from Trogdor Aether of the webauth Athena locker and run the gen-shib.sh script:
      Code Block
      cd /home/www/shibboleth/etc/shibboleth
      scp root@trogdorroot@aether:/opt/software-repository-tmp/Touchstone/config-SP/* \
         /home/www/shibboleth/etc/shibboleth
      chmod u+x /home/www/shibboleth/etc/shibboleth/gen-shib.sh
      ./gen-shib.sh
      
    • Edit the file /home/www/apache/conf/httpd.  After the line "Include conf/extra/httpd-ssl.conf", insert the following:
      Code Block
      # Touchstone/Shibboleth
      Include /home/www/shibboleth/etc/shibboleth/apache22.config
      
      
  6. At a convenient time, bounce Apache and related web services.
    Code Block
    /etc/init.d/web stop
    /etc/init.d/web start