Dear Wiki user, You have subscribed to a wiki page or wiki category on "Gump Wiki" for change notification.
The following page has been changed by LeoSimons: http://wiki.apache.org/gump/VmgumpConfig The comment on the change is: document vmgump setup in progress... New page: === Debian === Install the following via {{{apt-get install}}}: * '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python python2.4 subversion xvfb mysql-server python2.3-mysqldb unzip libxml2 libxml2-utils xsltproc libtool curl * '''convenience''': lynx sudo vim bzip2 mutt nano mysql-client rsync === Create gump user and group and stuff === {{{ useradd -d /home/gump -s /bin/bash gump addgroup gump adduser gump gump adduser gump staff mkdir /home/gump chown -Rf gump:gump /home/gump mkdir /x1/gump ln -s /x1/gump /usr/local/gump chown gump:gump /x1/gump mkdir /x1/opt mkdir /x1/opt/__versions__ rm -r /opt ln -s /x1/opt /opt }}} === Other prereqs === * Java SDK: * Download [http://java.sun.com/j2se/1.4.2/download.html 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 [http://maven.apache.org/start/download.html 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 === ["BrutusConfig/Mono"] === Gump Setup === Set up /usr/local/gump/[flavour]/..., the first flavour being public: * set CVSROOT per [http://gump.apache.org/gettingstarted.html#Getting+the+source+to+Gump 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 -P -d metadata gump}}} * create/edit {{{./metadata/vmgump.xml}}} (to match {{{`hostname`.xml}}} and supplying the database password) {{{ <workspace name="brutus-public" basedir="/usr/local/gump/public/workspace" jardir="/usr/local/gump/public/jars" pkgdir="/usr/local/gump/packages" logdir="/usr/local/gump/public/results" logurl="http://brutus.apache.org/gump/public" version="0.4"> <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" /> </workspace>}}} * sync over packages from {{{brutus.apache.org:/usr/local/gump/packages}}} [shared, not under 'flavour']. ***NB: done up to here...*** * create/edit {{{/usr/local/gump/public/gump/local-env-py-vmgump.sh}}}: {{{ export JAVA_HOME=/opt/jdk1.4 export CLASSPATH=$JAVA_HOME/lib/tools.jar export PATH=$PATH:$JAVA_HOME/bin export MAVEN_HOME=/opt/maven export PATH=$PATH:$MAVEN_HOME/bin }}} * create/edit /home/gump/.bash_profile: {{{ umask 002 . /usr/local/gump/public/gump/local-env-py-vmgump.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]}}} somewhat like this: {{{NameVirtualHost * <VirtualHost *> ServerAdmin [EMAIL PROTECTED] ServerName vmgump.apache.org DocumentRoot /var/www/vmgump.apache.org <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/vmgump.apache.org> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/vmgump.apache.org.error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/vmgump.apache.org.access.log combined ServerSignature On Alias /gump/public/ /usr/local/gump/public/results/ Alias /gump/public-jars/ /usr/local/gump/public/jars/ <Directory /usr/local/gump/> HeaderName /disclaimer.html Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <Location /gump/public/workspace_defn.html> Order deny,allow Deny from all </Location> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /gump3/ http://localhost:8080/ ProxyPassReverse /gump3/ http://localhost:8080/ </VirtualHost>}}} * 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: {{{ http://vmgump.apache.org/gump/{flavour} -> /usr/local/gump/{flavour}/results -- WWW site http://vmgump.apache.org/gump/{flavour}-jars/ -> /usr/local/gump/{flavour}/jars -- Artifact Repository }}} --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
