]> git.decadent.org.uk Git - memories.git/blob - debian/README.Debian
f2429770949671d05f137662cb363fe9f37e267f
[memories.git] / debian / README.Debian
1 This Debian package of Memories configures any installed version of
2 Apache with mod_perl so that Memories is available through the path
3 /memories/.  This is controlled by /etc/memories/apache.conf.
4
5 In order to run Memories you will need to set up a MySQL database
6 using the schema given in /usr/share/memories/memories.sql and allow
7 the www-data user permission to delete, insert, select and update in
8 all the given tables.  The following commands should work, if the
9 database server is on the same computer:
10
11     mysql> create database memories;
12     mysql> use memories
13     mysql> source /usr/share/memories/memories.sql
14     mysql> grant delete,insert,select,update on * to 'www-data';
15     mysql> quit
16
17 The configuration file for Memories itself is /etc/memories/Config.pm.
18 You will almost certainly need to change the 'uri_base' parameter in
19 this to match your web site configuration.  You will also need to
20 change the 'dsn' parameter if the database name is not 'memories'.
21
22  -- Ben Hutchings <ben@decadentplace.org.uk>  Fri, 17 Feb 2006 01:34:47 +0000