/[gentoo-x86]/www-apps/gallery/files/postinstall-en2.txt
Gentoo

Contents of /www-apps/gallery/files/postinstall-en2.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Aug 21 00:33:05 2005 UTC (15 years, 1 month ago) by rl03
Branch: MAIN
File MIME type: text/plain
Add unstable versions.
(Portage version: 2.0.51.22-r2)

1 For new installations:
2
3 1. Create a directory to share photos and make it writeable by the web server.
4
5 2. Create a database for Gallery 2.
6 MySQL: mysqladmin -uroot create gallery2
7 mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO
8 username@localhost IDENTIFIED BY 'password'"
9 PostgreSQL: createdb gallery2 -E UNICODE
10 if that doesn't work, try
11 createdb gallery2 -E SQL_ASCII
12 if that doesn't work either, try
13 createdb gallery2
14
15 3. Now browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
16
17 For upgrades:
18
19 1. Copy over your config.php and the g2data directory.
20
21 2. If you are using a PHP accelerator, flush its cache.
22
23 3. Browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/upgrade and follow the
24 instructions.

  ViewVC Help
Powered by ViewVC 1.1.20