This page contains notes taken while installing a new FreeBSD jail in August 2010 - the new machine was named gump2 and later renamed to gump (which was the name of the old machine as well). It has been amended after the OS has been upgraded in March 2012
gump runs in a FreeBSD 9.0 jail on sigyn.
The installation procedure is pretty similar to that of VmgumpConfig so only the differences are note here.
OS level software installed via ports
This has been installed by the infrastructure team.
no differences to VmgumpConfig
Create the gump user
adduser interactively to create a user gump in group gump.
create the Gump directory structure
similar to VmgumpConfig but had to explicitly disable storing of svn password for root in
/root/.subversion/config - and checked out Gump's trunk instead of the live branch, i.e.
create a testbed workspace
similar to VmgumpConfig but the file names are
/srv/gump/public/gump/cron/local-env-gump2.sh the later contains:
Some of the builds really only work with GNU make, so the workspace needs an attribute
make the results world-visible
make it a real Gump instance
switch to the gump profile and set up crontab for Gump like described in VmgumpConfig
crontab needs an extra line
because python (and most anything else) is in /usr/local
can be done before starting the Gump run, see VmgumpConfig
Unlike the svn client on Ubuntu systems the one found on FreeBSD doesn't accept server certificates automatically. I'm sure there is a setting somewhere that can (and should) be tweaked, for now I've accepted all cetificates manually so the updates will work on subsequent Gump runs.
help Maven 1.x
Applied recommendations from http://dev.mysql.com/doc/refman/5.1/en/default-privileges.html
Created the gump_public database and the gump user as in VmgumpConfig.
Used the "create database from scratch" approach.
Added a database element to the profile.
Note this is obviously not enough to make Gump use the database, this topic is under investigation 8-)
Rename gump2 -> gump
Hostname has to be changed from outside the jail.
# mv /srv/gump/public/gump/cron/local-env-gump2.sh /srv/gump/public/gump/cron/local-env-gump.sh
edit /usr/local/etc/apache22/Includes/gump.zones.apache.org.conf and change ServerName to gump.zones.apache.org
$ sudo apachectl graceful