summaryrefslogtreecommitdiff
path: root/www-apps/gallery/files/postinstall-en2.txt
diff options
context:
space:
mode:
authorMarcin Deranek <gringo@slonko.net>2016-03-10 08:43:35 +0100
committerMarcin Deranek <gringo@slonko.net>2016-03-10 08:43:35 +0100
commitb909c3390a5db00c2fd2c5d83cede0d9a4c8dfce (patch)
tree5348b6a1d2cbe69493672e287b476b0b9653493a /www-apps/gallery/files/postinstall-en2.txt
parentdb9b9b5979b4292c814ada22a31b4edd1ba802a7 (diff)
downloadportage-b909c3390a5db00c2fd2c5d83cede0d9a4c8dfce.tar.gz
portage-b909c3390a5db00c2fd2c5d83cede0d9a4c8dfce.tar.bz2
portage-b909c3390a5db00c2fd2c5d83cede0d9a4c8dfce.zip
Added gallery as it got removed from portage
Diffstat (limited to 'www-apps/gallery/files/postinstall-en2.txt')
-rw-r--r--www-apps/gallery/files/postinstall-en2.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/www-apps/gallery/files/postinstall-en2.txt b/www-apps/gallery/files/postinstall-en2.txt
new file mode 100644
index 0000000..bcc9770
--- /dev/null
+++ b/www-apps/gallery/files/postinstall-en2.txt
@@ -0,0 +1,27 @@
+For new installations:
+
+1. Create a directory to share photos and make it writeable by the web server.
+
+2. Create a database for Gallery 2.
+ MySQL: mysqladmin -uroot create gallery2
+ mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO
+ username@localhost IDENTIFIED BY 'password'"
+ PostgreSQL: createdb gallery2 -E UNICODE
+ if that doesn't work, try
+ createdb gallery2 -E SQL_ASCII
+ if that doesn't work either, try
+ createdb gallery2
+
+3. Now browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
+
+NOTE: The installer may complain that FfmpegToolkit.class has been modified.
+This is normal, as we patch it to fix a bug with newer versions of ffmpeg.
+
+For upgrades:
+
+1. Copy over your config.php and the g2data directory.
+
+2. If you are using a PHP accelerator, flush its cache.
+
+3. Browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/upgrade and follow the
+ instructions.