source: genesis/tools/FreeBSD7_x/INSTALL.txt@ 6664

Last change on this file since 6664 was 6664, checked in by huub, 16 years ago

beginnetje van genesis tools voor FreeBSD 7.1

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.8 KB
RevLine 
[6664]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
7
8In order to get the genesis webinterface up and running we need to
9configure some bits and pieces:
10* Apache
11* Subversion (in order to update)
12* Perl
13
14So lets get started:
15#Make a working directory and jump to it
16$mkdir /usr/local/www/data/genesis
17$cd /usr/local/www/data/genesis
18
19#Make a checkout of the genesis directory
20$svn co http://svn.wirelessleiden.nl/svn/node-config/genesis .
21#Allow the webserver to update nodes
22$chown -R www:www nodes
23
24#Make local config file
25$mv tools/FreeBSD6_x/genesis.conf.local{.tmpl,}
26
27#Edit the following variables $home, $server, $cgi_dir (and others and
28#needed)
29$vim tools/FreeBSD6_x/genesis.conf.local
30
31Next job, apache configuration
32=== begin httpd.conf ===
33<VirtualHost *:80>
34 ServerName wlconfig
35 ServerAlias wlconfig.wzoeterwoude.net
36 ServerAlias rick.wleiden.net
37 ServerAlias 172.27.129.66
38 DocumentRoot "/usr/local/www/data/genesis"
39
40 ErrorLog "|/usr/local/sbin/rotatelogs \
41 /var/log/httpd/wlconfig.wzoeterwoude.net-error-%Y-%m-%d.log 5M"
42 CustomLog "|/usr/local/sbin/rotatelogs \
43 /var/log/httpd/wlconfig.wzoeterwoude.net-access-%Y-%m-%d.log 5M" combined
44
45
46 DirectoryIndex g_list.pl
47 AddHandler cgi-script .pl
48
49 <Directory "/usr/local/www/data/genesis">
50 Options +ExecCGI
51 AllowOverride None
52 Allow from all
53 </Directory>
54
55</VirtualHost>
56=== begin httpd.conf ===
57
58Restart apache and hit your webbrowser to the configured webpage
59
60Thats all folks :-), questions/problems/suggestions ->
61<beheer@lijst.wirelessleiden.nl> (english/dutch)
62
63/Rick <rick@wirelessleiden.nl>
Note: See TracBrowser for help on using the repository browser.