Differences between revisions 28 and 29
Revision 28 as of 2005-07-07 09:48:50
Size: 4955
Editor: giraffe
Revision 29 as of 2009-09-20 23:49:25
Size: 4961
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
   * Download [http://java.sun.com/j2se/1.4.2/download.html j2sdk-1_4_2_xx for Linux] to /tmp    * Download [[http://java.sun.com/j2se/1.4.2/download.html|j2sdk-1_4_2_xx for Linux]] to /tmp
Line 26: Line 26:
   * Download [http://maven.apache.org/start/download.html Maven] to /tmp (select .tar.gz format)    * Download [[http://maven.apache.org/start/download.html|Maven]] to /tmp (select .tar.gz format)
Line 34: Line 34:
 ["BrutusConfig/Mono"]  [[BrutusConfig/Mono]]
Line 40: Line 40:
 * set CVSROOT per [http://gump.apache.org/gettingstarted.html#Getting+the+source+to+Gump Gump Getting Started]  * set CVSROOT per [[http://gump.apache.org/gettingstarted.html#Getting+the+source+to+Gump|Gump Getting Started]]

Brutus no longer runs gump!


Install the following via apt-get install:

  • required: apache2 cvs libxp-dev libxt6 libxtst6 python subversion xvfb mysql-server python2.3-mysqldb unzip libxml2 libxml2-utils xsltproc libtool curl

  • convenience: lynx sudo vim bzip2 mutt nano mysql-client libapache2-mod-php4 phpmyadmin

Create gump user

  • useradd -d /home/gump -s /bin/bash -p xxxxxxxx gump (preferably with something more imaginative than xxxxxxxx for the password)

  • adduser gump staff

  • mkdir /usr/local/gump

  • chown gump:staff /usr/local/gump

Other prereqs

  • Java SDK:
    • Download j2sdk-1_4_2_xx for Linux to /tmp

    • cd /opt/__versions__

    • execute /tmp/j2sdk-1_4_2_xx-linux-i586.bin

    • create a symbolic link /opt/jdk1.4 pointing to the installed version

  • Apache Maven:
    • Download Maven to /tmp (select .tar.gz format)

    • cd /opt/__versions__

    • tar -xzf /tmp/maven-xxx.tar.gz

    • create a symbolic link /opt/maven pointing to the installed version

    • Note: MAVEN_HOME will be exported and added to the PATH in step 5

Optional Extra

Gump Setup

Set up /usr/local/gump/[flavour]/..., the first flavour being public:

  • set CVSROOT per Gump Getting Started

  • mkdir -p /usr/local/gump/public

  • cd /usr/local/gump/public

  • svn checkout https://svn.apache.org/repos/asf/gump/trunk/ gump

  • cd gump

  • cvs login

  • cvs checkout -d metadata gump

  • create/edit ./metadata/brutus.xml (to match `hostname`.xml and supplying the database password)

    <workspace name="brutus-public"
            <property name="build.sysclasspath" value="only"/>
            <sysproperty name="java.awt.headless" value="true"/>
            <profile href="profile/gump.xml"/>
            <database database="gump_public" passwd="password" />
            <!-- additional background threads, over main thread -->
            <threads updaters="5" builders="0" />
  • install packages in /usr/local/gump/packages [shared, not under 'flavour'], after first diligently clicking on license agreements as required.

  • create/edit /usr/local/gump/public/gump/local-env-py-brutus.sh:

    export JAVA_HOME=/usr/local/j2sdk1.4.2_04
    export CLASSPATH=$JAVA_HOME/lib/tools.jar
    export PATH=$PATH:$JAVA_HOME/bin
    export MAVEN_HOME=/usr/local/gump/maven-1.0-rc{N}
    export PATH=$PATH:$MAVEN_HOME/bin
  • create/edit /home/gump/.bash_profile: {{{set -o vi

umask 002 . /usr/local/gump/public/gump/local-env-py-brutus.sh }}}

  • add this crontab entry: {{{0 0 * * * cd /usr/local/gump/public/gump; /bin/bash gumpy.sh


  • copy the file /etc/apache2/sites-available/default into /etc/apache2/sites-available/[virtual.host]

  • configure /etc/apache2/sites-available/[virtual.host] for your needs

  • add the following to /etc/apache2/sites-avaliable/[virtual.host] immediately after all the other Aliases: {{{Alias /gump/public /usr/local/gump/public/results

<Directory /usr/local/gump/public/results>


  • run a2ensite and when prompted, enter [virtual.host] (the same name that you used above)

  • /etc/init.d/apache2 restart

  • logoff, logon as gump, and run some tests: {{{cd /usr/local/gump/public/gump/python

export PYTHONPATH=pwd python gump/check.py -w ../brutus.xml all --debug python gump/integrate.py -w ../brutus.xml all --debug }}}

Gump Farm Layout Details

Current structure is:

File System:

    /usr/local/gump -- root
    /usr/local/gump/packages -- shared packages

    /usr/local/gump/{flavour} -- e.g. public or jdk15 or test or ...
    /usr/local/gump/{flavour}/gump -- Installation of Gump
    /usr/local/gump/{flavour}/workspace -- working area 
    /usr/local/gump/{flavour}/results -- WWW site
    /usr/local/gump/{flavour}/jars -- Artifact Repository


    http://brutus.apache.org/gump/{flavour} ->
        /usr/local/gump/{flavour}/results -- WWW site

    http://brutus.apache.org/gump/{flavour}-jars/ ->
        /usr/local/gump/{flavour}/jars -- Artifact Repository

BrutusConfig (last edited 2009-09-20 23:49:25 by localhost)