[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: set up ntpdate (GUMP-133) -- Install the following via {{{apt-get install}}}: - * '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python python2.3 subversion xvfb mysql-server python2.3-dev python2.3-mysqldb python2.4-dev unzip libxml2 libxml2-utils xsltproc libtool curl + * '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python python2.3 subversion xvfb mysql-server python2.3-dev python2.3-mysqldb python2.4-dev unzip libxml2 libxml2-utils xsltproc libtool curl ntp ntpdate * '''convenience''': lynx sudo vim bzip2 mutt nano mysql-client rsync * '''for building projects''': autoconf automake @@ -95, +95 @@ * {{{cd rdflib-xxx}}} * (as root) python2.3 setup.py install * (as root) python2.4 setup.py install + + * ntpdate +* point /etc/init.d/ntpdate to ntp.unitedlayer.com +* run {{{sudo ntpdate -v ntp.unitedlayer.com}}} === Optional prereqs === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: don't do it. It causes problems. -- * {{{a2ensite vmgump.apache.org a2enmod proxy a2dissite default}}} * {{{/etc/init.d/apache2 reload}}} - * edit gumprun.py to disable all actors except the xdoc one, since one of the others seems to be + * PLEASE DON'T edit gumprun.py to disable all actors except the xdoc one, since one of the others seems to be causing weird issues. === gump3 setup === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: need maven packages... -- /workspace}}} * sync over packages from {{{brutus.apache.org:/usr/local/gump/packages}}} [shared, not under 'flavour']. * sync over {{{brutus.apache.org:~gump/.cvspass}}} (saves typing in a whole bunch of 'public' cvs passwords) + * TODO: sync over {{{brutus.apache.org:~gump/.maven}}} * update /usr/local/gump/packages/java-runtime-1.3 to have working symlinks {{{ [EMAIL PROTECTED]:/usr/local/gump/packages/java-runtime-1.3$ rm LICENSE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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 -- threads updaters=5 builders=0 / /workspace}}} * sync over packages from {{{brutus.apache.org:/usr/local/gump/packages}}} [shared, not under 'flavour']. + * sync over {{{brutus.apache.org:~gump/.cvspass}}} (saves typing in a whole bunch of 'public' cvs passwords) * update /usr/local/gump/packages/java-runtime-1.3 to have working symlinks {{{ [EMAIL PROTECTED]:/usr/local/gump/packages/java-runtime-1.3$ rm LICENSE - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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 -- * '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python python2.3 subversion xvfb mysql-server python2.3-dev python2.3-mysqldb python2.4-dev unzip libxml2 libxml2-utils xsltproc libtool curl * '''convenience''': lynx sudo vim bzip2 mutt nano mysql-client rsync + * '''for building projects''': autoconf automake === Create gump user and group and stuff === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: need rdflib -- Install the following via {{{apt-get install}}}: - * '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python python2.3 subversion xvfb mysql-server python2.3-mysqldb unzip libxml2 libxml2-utils xsltproc libtool curl + * '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python python2.3 subversion xvfb mysql-server python2.3-dev python2.3-mysqldb python2.4-dev unzip libxml2 libxml2-utils xsltproc libtool curl * '''convenience''': lynx sudo vim bzip2 mutt nano mysql-client rsync @@ -67, +67 @@ === Other prereqs === - We manage these in /opt: + We manage most of these in /opt: {{{ mkdir /x1/opt mkdir /x1/opt/__versions__ @@ -87, +87 @@ * {{{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 + + * rdflib +* Download [http://rdflib.net/stable/ Rdflib] to /tmp (select .tgz format) +* {{{tar -zxf /tmp/rdflib-xxx.tgz}}} +* {{{cd rdflib-xxx}}} +* (as root) python2.3 setup.py install +* (as root) python2.4 setup.py install === Optional prereqs === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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 -- threads updaters=5 builders=0 / /workspace}}} * sync over packages from {{{brutus.apache.org:/usr/local/gump/packages}}} [shared, not under 'flavour']. + * update /usr/local/gump/packages/java-runtime-1.3 to have working symlinks + {{{ + [EMAIL PROTECTED]:/usr/local/gump/packages/java-runtime-1.3$ rm LICENSE + [EMAIL PROTECTED]:/usr/local/gump/packages/java-runtime-1.3$ rm rt.jar + [EMAIL PROTECTED]:/usr/local/gump/packages/java-runtime-1.3$ ln -s /opt/jdk1.4/LICENSE + [EMAIL PROTECTED]:/usr/local/gump/packages/java-runtime-1.3$ ln -s /opt/jdk1.4/jre/lib/rt.jar + }}} * create/edit {{{/usr/local/gump/public/gump/cron/local-env-vmgump.sh}}}: {{{ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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 -- * {{{a2ensite vmgump.apache.org a2enmod proxy a2dissite default}}} * {{{/etc/init.d/apache2 reload}}} + * edit gumprun.py to disable all actors except the xdoc one, since one of the others seems to be +causing weird issues. + === gump3 setup === {{{ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: D'oh! -- {{{ cd /usr/local/gump/public/gump/mysql - mysql -u gump -p gump gump.sql + mysql -u gump -p gump_public gump.sql # enter password here... }}} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: some changes still needed -- /workspace}}} * sync over packages from {{{brutus.apache.org:/usr/local/gump/packages}}} [shared, not under 'flavour']. - * create/edit {{{/usr/local/gump/public/gump/local-env-py-vmgump.sh}}}: + * create/edit {{{/usr/local/gump/public/gump/cron/local-env-vmgump.sh}}}: {{{ export JAVA_HOME=/opt/jdk1.4 export CLASSPATH=$JAVA_HOME/lib/tools.jar @@ -126, +126 @@ * create/edit /home/gump/.bash_profile: {{{ umask 002 - . /usr/local/gump/public/gump/local-env-py-vmgump.sh + . /usr/local/gump/public/gump/cron/local-env-vmgump.sh }}} * set up cron for user gump: {{{ @@ -164, +164 @@ #Clean up after POI... 0 0 * * * /bin/rm -f /tmp/*.xls }}} - * 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: + * configure {{{/etc/apache2/sites-available/vmgump.apache.org}}} somewhat like this: {{{NameVirtualHost * VirtualHost * @@ -219, +218 @@ ProxyPassReverse /gump3/ http://localhost:8080/ /VirtualHost}}} * {{{mkdir /var/www/vmgump.apache.org chown gump:gump /var/www/gump.apache.org}}} - * {{{a2ensite vmgump.apache.org a2enmod proxy}}} + * {{{a2ensite vmgump.apache.org a2enmod proxy a2dissite default}}} * {{{/etc/init.d/apache2 reload}}} === gump3 setup === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: mysql instructions -- chown gump:gump /x1/gump echo 'general@gump.apache.org' ~gump/.forward echo '[EMAIL PROTECTED]' ~root/.forward + }}} + + === Set up mysql === + + * Secure the root account (http://dev.mysql.com/doc/mysql/en/default-privileges.html): + + {{{ + shell mysql -u root + mysql SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpwd'); + mysql SET PASSWORD FOR 'root'@'vmgump' = PASSWORD('newpwd'); + }}} + + * Create a gump database and user + + {{{ + mysql create database gump_public; + mysql GRANT ALL PRIVILEGES ON gump_public.* to 'gump'@'localhost' identified by 'passwd'; + Query OK, 0 rows affected (0.00 sec) + + mysql flush privileges; + Query OK, 0 rows affected (0.01 sec) }}} === Other prereqs === @@ -107, +128 @@ profile href=profile/gump.xml/ - database database=gump_public passwd=password / + database database=gump_public user=gump passwd=password / !-- additional background threads, over main thread -- threads updaters=5 builders=0 / - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: you need to create tables... -- mysql flush privileges; Query OK, 0 rows affected (0.01 sec) + }}} + + * set up tables + + {{{ + cd /usr/local/gump/public/gump/mysql + mysql -u gump -p gump gump.sql + # enter password here... }}} === Other prereqs === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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/
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: more instructions... -- === Debian === + + Upgrade to sid: + {{{ + #deb file:///cdrom/ sarge main + + deb http://linux.csua.berkeley.edu/debian/ sid main + deb-src http://linux.csua.berkeley.edu/debian/ sid main + #deb http://linux.csua.berkeley.edu/debian/ testing main + #deb-src http://linux.csua.berkeley.edu/debian/ testing main + + deb http://security.debian.org/ testing/updates main + }}} 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 === @@ -40, +53 @@ * 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 === + === Optional prereqs === - [BrutusConfig/Mono] + * Mono: +* {{{apt-get install mono}}} + + TODO: + {{{ + lrwxrwxrwx 1 root root35 Oct 6 2004 ant - /opt/__versions__/apache-ant-1.6.2/ + lrwxrwxrwx 1 root root31 Jan 7 11:57 cocoon - /opt/__versions__/cocoon-trunk/ + lrwxrwxrwx 1 root root32 Jan 7 11:57 forrest - /opt/__versions__/forrest-trunk/ + lrwxrwxrwx 1 root root29 Jan 24 23:47 jdk1.3 - /opt/__versions__/jdk1.3.1_14 + lrwxrwxrwx 1 root root27 Oct 6 2004 jdk1.5 - /opt/__versions__/jdk1.5.0/ + lrwxrwxrwx 1 root root31 Oct 6 2004 jetty - /opt/__versions__/jetty-4.2.21/ + lrwxrwxrwx 1 root root23 Oct 12 2004 kaffe - /opt/__versions__/kaffe + lrwxrwxrwx 1 root root29 Oct 6 2004 loader - /opt/__versions__/loader-1.0/ + lrwxrwxrwx 1 root root49 Oct 6 2004 mysql - /opt/__versions__/mysql-connector-java-3.0.15-ga/ + lrwxrwxrwx 1 root root31 Oct 6 2004 rdflib - /opt/__versions__/rdflib-2.0.3/ + lrwxrwxrwx 1 root root30 Oct 6 2004 servlet-api - /opt/__versions__/servlet-2.4/ + lrwxrwxrwx 1 root root32 Oct 9 2004 webware - /opt/__versions__/Webware-0.8.1/ + }}} + === Gump Setup === @@ -57, +88 @@ * {{{cvs checkout -P -d metadata gump}}} * create/edit {{{./metadata/vmgump.xml}}} (to match {{{`hostname`.xml}}} and supplying the database password) {{{ - workspace name=brutus-public + workspace name=vmgump-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; + logurl=http://vmgump.apache.org/gump/public; version=0.4 property name=build.sysclasspath value=only/ @@ -76, +107 @@ 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}}}: {{{ @@ -150, +179 @@ 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) + * {{{mkdir /var/www/vmgump.apache.org chown gump:gump /var/www/gump.apache.org}}} + * {{{a2ensite vmgump.apache.org a2enmod proxy}}} - * {{{/etc/init.d/apache2 restart}}} + * {{{/etc/init.d/apache2 reload}}} - * logoff, logon as gump, and run some tests: + + === Done! === + + Get to business... + + * su into gump, and run some tests: {{{cd /usr/local/gump/public/gump/python export PYTHONPATH=`pwd` python gump/check.py -w ../brutus.xml all --debug @@ -176, +211 @@ /usr/local/gump/{flavour}/results -- WWW site /usr/local/gump/{flavour}/jars -- Artifact Repository + /opt -- prereqs not installed using apt + /var/www/vmgump.apache.org -- website }}} HTTP: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: gump3 basics... -- * {{{a2ensite vmgump.apache.org a2enmod proxy}}} * {{{/etc/init.d/apache2 reload}}} + === gump3 setup === + + {{{ + useradd -d /home/gump3 -s /bin/bash gump3 + addgroup gump3 + adduser gump3 gump3 + adduser gump3 staff + mkdir /home/gump3 + chown -Rf gump3:gump3 /home/gump3 + su - gump3 + svn co https://svn.apache.org/repos/asf/gump/branches/Gump3 + }}} + + * [VmgumpConfig/Gump3BashConfig] + === Done! === Get to business... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: more on the gump3 setup -- 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 + * '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python python2.3 subversion xvfb mysql-server python2.3-mysqldb unzip libxml2 libxml2-utils xsltproc libtool curl * '''convenience''': lynx sudo vim bzip2 mutt nano mysql-client rsync @@ -192, +192 @@ adduser gump3 staff mkdir /home/gump3 chown -Rf gump3:gump3 /home/gump3 + passwd gump3 + $EDITOR ~gump3/.passwd # save password + chmod 600 ~gump3/.passwd + chown gump3:gump3 ~gump3/.passwd su - gump3 svn co https://svn.apache.org/repos/asf/gump/branches/Gump3 }}} + * disable auth caching for svn, editing ~gump3/.subversion/config so that + {{{ + ### Section for authentication and authorization customizations. + [auth] + ### Set store-passwords to 'no' to avoid storing passwords in the + ### auth/ area of your config directory. It defaults to 'yes'. + ### Note that this option only prevents saving of *new* passwords; + ### it doesn't invalidate existing passwords. (To do that, remove + ### the cache files by hand as described in the Subversion book.) + store-passwords = no + ### Set store-auth-creds to 'no' to avoid storing any subversion + ### credentials in the auth/ area of your config directory. + ### It defaults to 'yes'. Note that this option only prevents + ### saving of *new* credentials; it doesn't invalidate existing + ### caches. (To do that, remove the cache files by hand.) + store-auth-creds = no + }}} * [VmgumpConfig/Gump3BashConfig] + + * install gump3 prereqs + {{{ + exit # fromp gump3, back into su mode + apt-get install python2.4 python2.4-mysqldb python-pmock + # no python2.4-pmock... + cp /usr/lib/python2.3/site-packages/pmock.py /usr/lib/python2.4/site-packages + python2.4 -OO -c from pmock import *; import pmock; import sys; sys.exit() + }}} + + * test it + {{{ + su - gump3 + GUMP_TEST_NO_MYSQL=yes gump test + }}} === Done! === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: reflect reality -- mkdir /x1/gump ln -s /x1/gump /usr/local/gump chown gump:gump /x1/gump + }}} + + === Other prereqs === + + We manage these in /opt: + {{{ 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 @@ -58, +62 @@ * Mono: * {{{apt-get install mono}}} - TODO: + TODO: figure out which packages of the below on brutus is needed {{{ lrwxrwxrwx 1 root root35 Oct 6 2004 ant - /opt/__versions__/apache-ant-1.6.2/ lrwxrwxrwx 1 root root31 Jan 7 11:57 cocoon - /opt/__versions__/cocoon-trunk/ @@ -82, +86 @@ * 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}}} + * {{{svn checkout https://svn.apache.org/repos/asf/gump/trunk/ gump}}} (note we're not using the live branch!) * {{{cd gump}}} * {{{cvs login}}} * {{{cvs checkout -P -d metadata gump}}} @@ -122, +126 @@ umask 002 . /usr/local/gump/public/gump/local-env-py-vmgump.sh }}} - * add this crontab entry: + * set up cron for user gump: + {{{ + #NOT OFFICIAL Public - The official Gump run, the one that sends email (uses JDK 1.4 and the 'live' branch) + #0 0 * * * cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all --official + + # Public - these are subruns of public that don't send email but update the web site - {{{0 0 * * * cd /usr/local/gump/public/gump; /bin/bash gumpy.sh + #0 18 * * *cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all + 0 0,6,12,18 * * *cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all + + #DISABLED JDK 1.5 - This Gump runs on JDK 1.5 + #0 6 * * * cd /usr/local/gump/jdk15/gump/cron; /bin/bash gump.sh all + + #DISABLED Test - This Gump runs on JDK 1.4 but uses the latest-and-greatest gump code out of 'trunk' + #0 12 * * * cd /usr/local/gump/test/gump/cron; /bin/bash gump.sh all + + #DISABLED Gump3 - This is the new Gump... + #0 12 * * * cd /usr/local/gump/gump3/Gump3/; /bin/bash gump run --databasename=gump3 + + #DISABLED Kaffe - This Gump runs on top of Kaffe and uses the 'live' branch + #0 3,9,15,21 * * * cd /usr/local/gump/kaffe/gump/cron; /bin/bash gump.sh all; /usr/bin/killall -9w kaffe-bin; rm -f /home/gump/workspaces/kaffe/workspace/ant/src/main/org/apache/tools/ThisIsALink + + # Clean up older artifacts + 0 0 * * * /usr/bin/find /usr/local/gump/*/jars -type f -ctime +6 | /usr/bin/xargs -r /bin/rm + + #TODO Update the local environments and workspace information + #55 * * * * /home/gump/update-envs.sh + + #TODO Checkout (from CVS) and update blog + #1,16,31,46 * * * * /home/gump/update-blog.sh + + #TODO Update website from svn + #2,17,32,47 * * * * /home/gump/update-site.sh + + #Clean up after POI... + 0 0 * * * /bin/rm -f /tmp/*.xls }}} * 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: @@ -196, +233 @@ $EDITOR ~gump3/.passwd # save password chmod 600 ~gump3/.passwd chown gump3:gump3 ~gump3/.passwd - su - gump3 + su - gump3 # do the below as gump3 user in /home/gump3... svn co https://svn.apache.org/repos/asf/gump/branches/Gump3 }}} @@ -242, +279 @@ {{{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 }}} + * now kick of an actual run manually: + {{{cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all}}} === Gump Farm Layout Details === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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 -- python gump/check.py -w ../brutus.xml all --debug }}} + * make sure we trust svn.apache.org + {{{cd /usr/local/gump/public/gump; svn up}}} (hit 'p' to store cert) + * now kick of an actual run manually: {{{cd /usr/local/gump/public/gump/cron; /bin/bash gump.sh all}}} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Gump Wiki] Update of VmgumpConfig by LeoSimons
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: e-mail forwarding -- mkdir /x1/gump ln -s /x1/gump /usr/local/gump chown gump:gump /x1/gump + echo 'general@gump.apache.org' ~gump/.forward + echo '[EMAIL PROTECTED]' ~root/.forward }}} === Other prereqs === @@ -235, +237 @@ chown gump3:gump3 ~gump3/.passwd su - gump3 # do the below as gump3 user in /home/gump3... svn co https://svn.apache.org/repos/asf/gump/branches/Gump3 + echo 'general@gump.apache.org' ~gump3/.forward }}} * disable auth caching for svn, editing ~gump3/.subversion/config so that - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]