source: genesis/config/iris/node/FreeBSD/8.0-RELEASE/INSTALL.txt@ 8957

Last change on this file since 8957 was 8620, checked in by rick, 14 years ago

Fix relative path definitions

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 2.1 KB
Line 
1!!! BEGIN WARNING !!!
2This script are NOT written to run in a production envirionment,
3people who has access to the subversion genesis directory all allowed to
4put marvilous code in there, which will potentially ruin your machine
5!!! END WARNING !!!!
6
7XXX: Cleanup to match new reality
8== apache configuration CleanURL ==
9/usr/local/etc/apache22/Includes/something.conf:
10 # WLConfig
11 ScriptAliasMatch /config/iris/freebsd/8.0-RELEASE/(.*) /usr/local/www/wlconfig/freebsd/iris-8.0/g_list.pl
12 <Directory /usr/local/www/wlconfig>
13 Allow from all
14 </Directory>
15
16
17In order to get the genesis webinterface up and running we need to
18configure some bits and pieces:
19* Apache
20* Subversion (in order to update)
21* Perl
22
23So lets get started:
24#Make a working directory and jump to it
25$mkdir /usr/local/www/data/genesis
26$cd /usr/local/www/data/genesis
27
28#Make a checkout of the genesis directory
29$svn co http://svn.wirelessleiden.nl/svn/node-config/genesis .
30#Allow the webserver to update nodes
31$chown -R www:www nodes
32
33#Make local config file
34$mv tools/FreeBSD6_x/genesis.conf.local{.tmpl,}
35
36#Edit the following variables $home, $server, $cgi_dir (and others and
37#needed)
38$vim tools/FreeBSD6_x/genesis.conf.local
39
40Next job, apache configuration
41=== begin httpd.conf ===
42<VirtualHost *:80>
43 ServerName wlconfig
44 ServerAlias wlconfig.wzoeterwoude.net
45 ServerAlias rick.wleiden.net
46 ServerAlias 172.27.129.66
47 DocumentRoot "/usr/local/www/data/genesis"
48
49 ErrorLog "|/usr/local/sbin/rotatelogs \
50 /var/log/httpd/wlconfig.wzoeterwoude.net-error-%Y-%m-%d.log 5M"
51 CustomLog "|/usr/local/sbin/rotatelogs \
52 /var/log/httpd/wlconfig.wzoeterwoude.net-access-%Y-%m-%d.log 5M" combined
53
54
55 DirectoryIndex g_list.pl
56 AddHandler cgi-script .pl
57
58 <Directory "/usr/local/www/data/genesis">
59 Options +ExecCGI
60 AllowOverride None
61 Allow from all
62 </Directory>
63
64</VirtualHost>
65=== begin httpd.conf ===
66
67Restart apache and hit your webbrowser to the configured webpage
68
69Thats all folks :-), questions/problems/suggestions ->
70<beheer@lijst.wirelessleiden.nl> (english/dutch)
71
72/Rick <rick@wirelessleiden.nl>
Note: See TracBrowser for help on using the repository browser.