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.
留言
張貼留言