mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
7b8c2bbf81
The wrong gallerydir is echoed in pkg-message (obviously a copy from gallery 1) PR: ports/89867 Submitted by: Melvyn Sopacua <melvyn@melvyn.homeunix.org>
28 lines
995 B
Plaintext
28 lines
995 B
Plaintext
*****************************************************************
|
|
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%%/%%GALLERY2DIR%%>
|
|
AllowOverride Options FileInfo
|
|
</Directory>
|
|
|
|
Then restart Apache: 'apachectl graceful'
|
|
|
|
Please visit 'http://{host.domain}/%%GALLERY2DIR%%/' in a
|
|
web-browser and follow the configuration instructions.
|
|
*****************************************************************
|