blob: 4cbd916dd98f1f6c556c7d496b857607c1027d8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
*****************************************************************
Before using Gallery 2, you will need to configure your database.
Full instructions are available here:
http://cvs.sourceforge.net/viewcvs.py/*checkout*/gallery/gallery2/README.html
If you are using MySQL, here's the short version of the instructions:
1. Create a new database:
$ mysqladmin -uroot create gallery2
2. Grant access to the database:
$ mysql -uroot -e"GRANT ALL ON gallery2.* TO USERNAME@localhost IDENTIFIED BY 'PASSWORD'" gallery2
(choose your own values for USERNAME and PASSWORD)
You will also need to configure Apache. Consider adding the following
to your httpd.conf:
<Directory %%PREFIX%%/%%GALLERYDIR%%>
AllowOverride Options FileInfo
</Directory>
Then restart Apache: 'apachectl graceful'
Please visit 'http://{host.domain}/%%GALLERYDIR%%/' in a
web-browser and follow the configuration instructions.
*****************************************************************
|