Gallery2

From ArchWiki
Revision as of 18:53, 21 April 2011 by Isaksen (Talk | contribs) (I wrote this some time ago http://isaksen.biz/blog/?p=221)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Gallery2 gives you an intuitive way to blend photo management seamlessly into your own website or simply use it as a gallery... surely there is a gallery3 see http://gallery.menalto.com/ but I like gallery2.

Here is my steps.

cd /tmp
wget http://downloads.sourceforge.net/gallery/gallery-2.3.1-full.tar.gz
tar xzf gallery-2.3.1-full.tar.gz
sudo mv gallery2 /usr/share/webapps/
sudo emacs /etc/httpd/conf/extra/httpd-gallery2.conf
       Alias /gallery2 "/usr/share/webapps/gallery2"
       <Directory "/usr/share/webapps/gallery2">
               AllowOverride All
               Options FollowSymlinks
               Order allow,deny
               Allow from all
       </Directory>

add

Include conf/extra/httpd-gallery2.conf

to /etc/httpd/conf/httpd.conf

restart apache

 sudo /etc/rc.d/httpd restart


At some point during installation you need to verify your server writeablility.

sudo echo "RANDOM KEY" >> /usr/share/webapps/gallery2/login.txt