Building Shibboleth 1.0 origin side on Debian GNU/Linux stable/i386 ------------------------------------------------------------------- # location: http://www.switch.ch/aai/docs/shibboleth/SWITCH/1.0/ # [where you also find sample config files] # authors: Thomas Lenggenhager & Urs Marti, SWITCH # contact: aai@switch.ch # version: 2.1 - 20030702 # This guide is only an addition to the original Shibboleth 1.0 # Origin-Deployment Guide which you should read first. # References to that original guide are marked as # (see ORIG-chapter#) Debian Packet management ------------------------ There is a bug in apt. Add the following two lines to the file "/etc/apt/apt.conf" APT::Default-Release "woody"; APT::Cache-Limit "8388608"; Java (see ORIG-3.a) ---- Java 2 source development kit 1.4 is not part of Debian. Add this to "/etc/apt/sources.list": deb http://share.runtime-collective.com/~berkan/debian/ \ /dists/woody/misc/binary-i386/ Debian Package Selection ------------------------ There is a minimal selection of packages at the end of this file generated by 'dpkg --get-selections >> selections.txt'. With 'diff -b', this can be used to find required, but not yet installed packages on your system. Tomcat4 (see ORIG-3.a) ------- Debians stable tomcat 4.0.4 is not sufficient. There is a mirror list on http://jakarta.apache.org/site/binindex.cgi . Following the Filesystem Hierarchy Standard, /opt is the right place to install. as root: $ cd /opt $ wget $YOUR_MIRROR_HERE/tomcat-4.1.24-LE-jdk14.tar.gz $ tar xzf tomcat-4.1.24-LE-jdk14.tar.gz opensaml-java ------------- This package is developed together with shibboleth: $ cd /opt $ wget http://wayf.internet2.edu/shibboleth/opensaml-java-0.9.tar.gz $ tar xzf opensaml-java-0.9.tar.gz $ mv opensaml opensaml-java-0.9 $ cd opensaml-java-0.9/java $ export JAVA_HOME=/usr/lib/j2sdk1.4 $ ./ant shibboleth-origin ----------------- That is the main Shibboleth package. Again, following the Filesystem Hierarchy Standard, /etc/opt is used for configuration files $ cd /opt $ wget http://wayf.internet2.edu/shibboleth/shibboleth-origin-1.0.tar.gz $ tar xzf shibboleth-origin-1.0.tar.gz $ export JAVA_HOME=/usr/lib/j2sdk1.4 $ cd shibboleth-origin-1.0 $ cp -p ../opensaml-java-0.9/java/dist/opensaml.jar webApplication/WEB-INF/lib/ Copy the libraries to be endorsed (see ORIG-3.b): $ cp -p endorsed/* /opt/jakarta-tomcat-4.1.24-LE-jdk14/common/endorsed/ The only configuration file that is used at build time is origin.properties. To save it between releases, move it to /etc/opt and link it back to the source tree. as root: $ cd /opt/shibboleth-origin-1.0 $ mkdir -p /etc/opt/jakarta-tomcat-4.1.24-LE-jdk14/shibboleth $ mv src/conf/origin.properties /etc/opt/jakarta-tomcat-4.1.24-LE-jdk14/shibboleth $ ln -s /etc/opt/jakarta-tomcat-4.1.24-LE-jdk14/shibboleth/origin.properties src/conf/ Edit origin.properties (see ORIG-4 and conf-origin-1.0-debian.txt) After changeing this file, always rebuild shibboleth-origin, copy shibboleth.war and restart tomcat. $ cd /opt/shibboleth-origin-1.0 $ ./ant build-util $ ./ant dist-origin $ cp dist/shibboleth.war /opt/jakarta-tomcat-4.1.24-LE-jdk14/webapps/SWICHaai.war $ /etc/init.d/tomcat restart selection.txt ------------- adduser install ant install apache install apache-common install apache-ssl install apt install apt-utils install aptitude install at install base-config install base-files install base-passwd install bash install bind9-host install bsdmainutils install bsdutils install console-common install console-data install console-tools install console-tools-libs install cron install debconf install debianutils install diff install dnsutils install dpkg install e2fsprogs install exim install fdutils install file install fileutils install findutils install ftp install gettext-base install grep install gzip install hostname install ifupdown install iptables install j2sdk1.4 install java-common install joe install kernel-image-2.4.18-bf2.4 install klogd install less install libapache-auth-ldap install libapache-mod-jk install libc6 install libcap1 install libdb2 install libdb3 install libdns5 install libexpat1 install libfreetype6 install libgdbmg1 install libident install libisc4 install libldap2 install liblwres1 install libncurses5 install libnewt0 install libpam-modules install libpam-runtime install libpam0g install libpcre3 install libpopt0 install libreadline4 install libsasl7 install libsigc++0 install libssl0.9.6 install libstdc++2.10-glibc2.2 install libstdc++2.9-glibc2.1 install libwrap0 install libxerces-java install lilo install locales install login install logrotate install lsof install makedev install mawk install mbr install mime-support install modconf install modutils install mount install ncurses-base install ncurses-bin install ncurses-term install net-tools install netbase install netkit-inetd install netkit-ping install ntp install ntp-simple install openssl install passwd install perl install perl-base install perl-modules install procps install psmisc install sed install sharutils install shellutils install slang1 install ssh install strace install sysklogd install sysvinit install tar install tasksel install tcpd install textutils install time install util-linux install util-linux-locales install wget install whiptail install xfree86-common install xlibs install zlib1g install