1 You can run Memories through CGI or Apache's mod_perl:
3 - The CGI script is /usr/lib/cgi-bin/memories.cgi.
5 - Use of mod_perl is configured in /etc/memories/apache.conf,
6 which by default uses the path /memories/. If you use mod_perl
7 you must also enable mod_apreq. If both these modules are
8 enabled for Apache 2 when Memories is installed or upgraded,
9 Memories is added to the Apache configuration automatically.
10 To do this later, run:
11 ln -s ../../memories/apache.conf /etc/apache2/conf.d/memories
13 In order to run Memories you will need to set up a database with the
14 schema given in /usr/share/memories/memories.sql and grant the
15 www-data user permission to delete, insert, select and update in all
16 the tables in that schema. Currently only MySQL databases are
17 supported. You can set up a suitable database with the following
18 commands in the mysql client:
20 mysql> create database memories;
22 mysql> source /usr/share/memories/memories.sql
23 mysql> grant delete,insert,select,update on * to 'www-data';
26 The configuration file for Memories itself is /etc/memories/Config.pm.
27 You will almost certainly need to change the 'uri_base' and
28 'data_store_external' parameters in this to match your web site
29 configuration. You will also need to change the 'dsn' parameter if
30 the database name is not 'memories'.
32 -- Ben Hutchings <ben@decadent.org.uk> Tue, 21 Aug 2007 00:37:26 +0100