Build of Shibboleth 0.8 origin side on Debian GNU/Linux stable/i386 location: http://www.switch.ch/aai/docs/shibboleth/SWITCH/ author: Urs Marti contact: aai@switch.ch version: 1.0 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 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/ Selection There is a minimal selection of packages at the end of this file. With diff -b, this can be used to find required, but not installed packages. Tomcat4 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 part of shibboleth: $ wget http://wayf.internet2.edu/shibboleth/opensaml-java-0.8.tar.gz $ mkdir opensaml-java-0.8 $ cd opensaml-java-0.8 $ tar xzf opensaml-java-0.8.tar.gz $ export JAVA_HOME=/usr/lib/j2sdk1.4 $ cd java $ ant shibboleth-origin This package is part of shibboleth. Again, following the Filesystem Hierarchy Standard, /etc/opt is used for configuration files $ wget http://wayf.internet2.edu/shibboleth/shibboleth-origin-0.8.tar.gz $ tar xzf shibboleth-origin-0.8.tar.gz $ export JAVA_HOME=/usr/lib/j2sdk1.4 $ cd shibboleth-origin-0.8 $ cp ../opensaml-java-0.8/java/dist/opensaml.jar webApplication/WEB-INF/lib/ The only configuration file that is used at build time is origin.properties. To save it between releases, move it to /etc and link it back to the source tree. as root: $ 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. For the configuration check the origin deployment guide "DEPLOY-GUIDE-ORIGIN.html" on Shibboleth's home page http://shibboleth.internet2.edu/. After a change of this file, always rebuild shibboleth-origin, copy shibboleth.war and restart tomcat. $ ./ant build-util $ ./ant dist-origin $ cp dist/shibboleth.war /opt/jakarta-tomcat-4.1.24-LE-jdk14/webapps/ 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