]> git.decadent.org.uk Git - memories.git/blob - debian/README.Debian
ced2817e33a1c4824fdaca0cac114bb34679ad51
[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 database with the
6 schema given in /usr/share/memories/memories.sql and grant the
7 www-data user permission to delete, insert, select and update in all
8 the tables in that schema.  Currently only MySQL databases are
9 supported.  You can set up a suitable database with the following
10 commands in the mysql client:
11
12     mysql> create database memories;
13     mysql> use memories
14     mysql> source /usr/share/memories/memories.sql
15     mysql> grant delete,insert,select,update on * to 'www-data';
16     mysql> quit
17
18 The configuration file for Memories itself is /etc/memories/Config.pm.
19 You will almost certainly need to change the 'uri_base' and
20 'data_store_external' parameters in this to match your web site
21 configuration.  You will also need to change the 'dsn' parameter if
22 the database name is not 'memories'.
23
24  -- Ben Hutchings <ben@decadentplace.org.uk>  Fri, 17 Feb 2006 02:12:31 +0000