Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 72732 invoked from network); 2 Jun 2004 20:48:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jun 2004 20:48:37 -0000 Received: (qmail 85734 invoked by uid 500); 2 Jun 2004 20:48:51 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 85700 invoked by uid 500); 2 Jun 2004 20:48:51 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 85686 invoked by uid 99); 2 Jun 2004 20:48:51 -0000 Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Wed, 02 Jun 2004 13:48:51 -0700 Received: (qmail 72695 invoked from network); 2 Jun 2004 20:48:33 -0000 Received: from unknown (HELO minotaur.apache.org) (127.0.0.1) by 127.0.0.1 with SMTP; 2 Jun 2004 20:48:33 -0000 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: general@gump.apache.org To: general@gump.apache.org Subject: =?iso-8859-1?q?=5BGump_Wiki=5D_New=3A__SolarisConfig?= Date: Wed, 02 Jun 2004 20:48:32 -0000 Message-ID: <20040602204832.72687.73304@minotaur.apache.org> X-Spam-Rating: 127.0.0.1 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Date: 2004-06-02T13:48:32 Editor: 217.42.133.87 <> Wiki: Gump Wiki Page: SolarisConfig URL: http://wiki.apache.org/gump/SolarisConfig initial New Page: =3D Random notes on PythonGump install on Solaris =3D This is most definately a work in progress =3D=3D Solaris =3D=3D Install the following: Python 2.2 or better from ActiveState. The version of Python on the SunF= reeware disk does not include SAX support and the version of PyXML I tried = (0.8.3) seems to make some bad assumptions (in particular, it assumes that = gcc will be at the location it was when python was installed - which is not= true as SFW python is supplied in binary form) http://www.activestate.com/Products/ActivePython/ Apache webserver from the SunFreeware disk or from http://apache.org/ CVS from the SunFreeware disk or from http://cvshome.org/ subversion from the SunFreeware disk or from http://subversion.org/ If your server does not have a graphics card, you will also need to insta= ll Xvfb from the SunFreeware disk You may also want to install lynx, curl, htdate, sudo and vim =3D=3D=3D Create gump user =3D=3D=3D * {{{create and share the directory/mount point /share/gump}}} * {{{useradd -d /share/gump -s /bin/bash -G staff gump}}} * {{{passwd gump xxxxxxxx}}} (preferably with something more imaginative t= han xxxxxxxx for the password) * {{{chown gump:gump /share/gump}}} =3D=3D=3D Other prereqs =3D=3D=3D * Apache Forrest: * {{{cd /usr/local}}} * {{{cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout xml= -forrest}}} (at time of writting we need CVS HEAD) * {{{export JAVA_HOME=3D/usr/j2se}}} * {{{cd xml-forrest}}} * {{{./build.sh}}} * {{{cd ..}}} * {{{mv xml-forrest/build/dist/shbat forrest}}} * {{{rm -rf xml-forrest}}} * {{{share /usr/local/forrest as /share/forrest}} * '''Note''': FORREST_HOME will be exported and added to the PATH in ste= p 4 * Apache Maven: * {{{cd /usr/local}}} * Download [http://maven.apache.org/start/download.html Maven] to /tmp (= select .tar.gz format) * {{{tar -xzf /tmp/maven-1.0-rc2.tar.gz}}} * {{{mv maven-1.0-rc2 maven}}} * {{{share /usr/local/maven as /share/maven}} * '''Note''': MAVEN_HOME will be exported and added to the PATH in step 4 =3D=3D=3D Gump Setup =3D=3D=3D The rest of thes document refers to the configuration for 'enterprize.coder= age.org'. This host is not configured for multiple flavours. Set up /share/gump/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 /share/gump/gump/}}} * {{{cd /share/gump/gump/}}} * {{{cvs login}}} * {{{cvs checkout gump}}} * create/edit {{{`hostname`.xml}}}, that is: {{{enterprize.xml}}} {{{ }}} * install packages in {{{/share/gump/gump-installed}}} [shared, not under = 'flavour'], after first diligently clicking on license agreements as requir= ed. * create/edit {{{/share/gump/local-env-py-hostname.sh}}}: {{{ # Note: These next three are for gumpy.sh and obsoleted # for gumpy.py (which reads them from the workspace). export GUMP=3D/share/gump/gump export GUMP_WS=3D/share/gump/gump/work export GUMP_LOG_DIR=3D/share/gump/gumphome/log export JAVA_HOME=3D/usr/j2se export CLASSPATH=3D$JAVA_HOME/lib/tools.jar export PATH=3D$PATH:$JAVA_HOME/bin export FORREST_HOME=3D/share/forrest export PATH=3D$PATH:$FORREST_HOME/bin export MAVEN_HOME=3D/share/maven export PATH=3D$PATH:$MAVEN_HOME/bin }}} * create/edit /home/gump/.bash_profile: {{{set -o vi umask 002 . /share/gump/local-env-py-enterprize.sh }}} * add this crontab entry: {{{0 0 * * * cd /share/gump/gump; /bin/bash gumpy.sh }}} * add the following to {{{/etc/apache/httpd.conf}}} immediately after all = the other Aliases: {{{Alias /gump/ /share/gump/gumphome/logs Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all }}} * {{{/etc/init.d/apache restart}}} * logoff, logon as gump, and run some tests: {{{cd /usr/local/gump/public/gump/python export PYTHONPATH=3D`pwd` which python which cvs python gump/check.py -w ../enterprize.xml all --debug python gump/integrate.py -w ../enterprize.xml all --debug }}} --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@gump.apache.org For additional commands, e-mail: general-help@gump.apache.org