4
The Prewikka installation guide is available at:
5
https://trac.prelude-ids.org/wiki/InstallingPrewikka
11
Once you have created the database for Prewikka you need to edit /etc/prewikka/prewikka.conf to fit your database settings prior to starting Prewikka.
12
The debian installation script will try to create the database and set the values, for the [database] section ONLY.
13
Even if you used the installer to create the database and tables, you will need to edit the configuration file for
17
#This is the name at the top right and left of the Prewikka interface
18
#You can change it or leave as is
21
title: Prelude management
23
#The following are the setting for your prelude database
31
#This is the database information for the prewikka DB you created above
39
#You can comment this out to stop logs from writing to stderr
42
#No real need to edit this except to increase/decrease expiration time
50
Choose one of the following methods to configure your web server:
52
Running Prewikka from the Apache web server (CGI/Apache)
53
========================================================
55
Apache / CGI setup with VirtualHost
56
-----------------------------------
59
ServerName my.server.org
60
Setenv PREWIKKA_CONFIG "/etc/prewikka/prewikka.conf"
67
AddHandler cgi-script .cgi
74
Alias /prewikka/ /usr/share/prewikka/htdocs/
75
ScriptAlias / /usr/share/prewikka/cgi-bin/prewikka.cgi
79
Note that the PREWIKKA_CONFIG environment variable is optional, if unset the default configuration file relative to your installation path will be used.
82
Apache / mod_python setup with VirtualHost
83
------------------------------------------
85
Experimental mod_python support is available in Prewikka starting from rc9.
88
ServerName my.server.org
92
PythonHandler prewikka.ModPythonHandler
93
PythonOption PrewikkaConfig /etc/prewikka/prewikka.conf
100
Alias /prewikka /usr/share/prewikka/htdocs
103
Note that the PrewikkaConfig? settings is optional, if unset the default configuration file relative to your installation path will be used.
107
Running Prewikka from the command line tool
108
===========================================
110
If you didn't install Prewikka system wide (ie: you specified a prefix), use:
112
$ PYTHONPATH=$prefix/lib/python2.4/site-packages $prefix/bin/prewikka-httpd
114
If you installed Prewikka system wide:
116
$ /usr/bin/prewikka-httpd
118
You can then use your browser to connect to your machine on port 8000. The default login/password is admin please remember to change it.
125
Once everything is setup, you can use your browser to connect to the machine were Prewikka was installed. If you are not using Apache support, then remeber you should use the port 8000 to access Prewikka.
127
The default login/password is admin please remember to change it.
130
-- Pierre Chifflier <chifflier@cpe.fr> Wed, 7 Feb 2007 16:51:26 +0100