From ArchWiki
Revision as of 20:37, 20 April 2012 by Isaksen (Talk | contribs)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.

Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어

External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

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 but I like gallery2.

Here is my steps.

cd /tmp
tar xzf gallery-2.3.2-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


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

If you want maintenance to work then install statistics:

Set "Themes" and "Modules" folder to 755.
Go to "Site Admin" --> "Plugins" --> "Get More Plugins"
Then click "Update Plugin List"
Install "Statistics" and other plugins that you had installed before upgrading.


gd, imagemagick, Ffmpeg and Jpegtran.

surely deps:

apache, php and mysql.