Date: 2004-10-06T15:15:46
Editor: StefanoMazzocchi <[EMAIL PROTECTED]>
Wiki: Gump Wiki
Page: BrutusConfig
URL: http://wiki.apache.org/gump/BrutusConfig
adding instructions for apache2
Change Log:
------------------------------------------------------------------------------
@@ -3,8 +3,7 @@
Install the following via {{{apt-get install}}}:
* '''required''': apache2 cvs libxp-dev libxt6 libxtst6 python subversion xvfb
mysql-server python2.3-mysqldb unzip
- * '''convenience''': curl lynx htdate sudo vim bzip2 mutt nano mysql-client
libapache2-mod-php4 phpmyadmin webalizer
- * '''''Couldn't find package htdate''''' --SamRuby
+ * '''convenience''': curl lynx sudo vim bzip2 mutt nano mysql-client
libapache2-mod-php4 phpmyadmin webalizer
=== Create gump user ===
@@ -16,17 +15,15 @@
=== Other prereqs ===
* Java SDK:
- * Download [http://java.sun.com/j2se/1.4.2/download.html j2sdk-1_4_2_04 for Linux]
to /tmp
- * '''''j2sdk-1_4_2_05 is available'''''
+ * Download [http://java.sun.com/j2se/1.4.2/download.html j2sdk-1_4_2_xx for Linux]
to /tmp
* {{{cd /usr/local}}}
- * execute {{{/tmp/j2sdk-1_4_2_04-linux-i586.bin}}}
+ * execute {{{/tmp/j2sdk-1_4_2_xx-linux-i586.bin}}}
* Apache Maven:
* Download [http://maven.apache.org/start/download.html Maven] to /tmp (select
.tar.gz format)
* {{{cd /usr/local/gump}}}
- * {{{tar -xzf /tmp/maven-1.0-rc2.tar.gz}}}
+ * {{{tar -xzf /tmp/maven-xxx.tar.gz}}}
* '''Note''': MAVEN_HOME will be exported and added to the PATH in step 4
- * '''''maven-1.0 is available'''''
=== Optional Extra ===
@@ -85,7 +82,9 @@
* add this crontab entry:
{{{0 0 * * * cd /usr/local/gump/public/gump; /bin/bash gumpy.sh
}}}
- * add the following to {{{/etc/apache/httpd.conf}}} immediately after all the other
Aliases:
+ * 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>
@@ -94,7 +93,8 @@
Order allow,deny
Allow from all
</Directory>}}}
- * {{{/etc/init.d/apache restart}}}
+ * 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`
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]