Gallery 2 安裝筆記

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 gallery2 -uroot -e"GRANT ALL ON gallery2.* TO username@localhost IDENTIFIED BY 'password'"


You will also need to configure Apache. Consider adding the following
to your httpd.conf:

<Directory /usr/local/www/data/gallery2>
AllowOverride Options FileInfo
</Directory>

Then restart Apache: 'apachectl graceful'

Please visit 'http://{host.domain}/www/data/gallery2/' in a
web-browser and follow the configuration instructions.

[@more@]

留言

這個網誌中的熱門文章

電腦科評語

拔河技巧

三小時架好 FreeNAS 私有雲(3)