Difference between revisions of "Photo album using gallery"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Prerequisites)
m (Prerequisites)
Line 9: Line 9:
 
LAMP or LLMP
 
LAMP or LLMP
 
*Linux-Apache-Mysql-Php (LAMP)
 
*Linux-Apache-Mysql-Php (LAMP)
** [[Apache w/ PHP and MySQL Support (MIPSel)]]  
+
** [[Apache w/ PHP and MySQL Support (MIPSel)]] - OpenLink
** [[Apache w/ PHP and MySQL Support (PowerPC)]]
+
** [[Apache w/ PHP and MySQL Support (PowerPC)]] - OpenLink
** [[Apache HTTP server, installing]]  
+
** [[Apache HTTP server, installing]] - FreeLink
 
*[[Lighttpd with mysql and php (LLMP)]]
 
*[[Lighttpd with mysql and php (LLMP)]]
  

Revision as of 04:35, 10 September 2006

logo.png

Contents

Gallery 2 - Photo Album

The Gallery Project is an open source PHP project enabling simple management and publication of photographs and other digital media through a PHP-enabled Apache, IIS or Zeus web server. Photo management includes automatic thumbnails, resizing, rotation, and flipping, among other things. Albums can be organized hierarchically and individually controlled by administrators or privileged users.

More information can be found here: http://gallery.menalto.com/

Prerequisites

LAMP or LLMP

Mysql setup

mysqladmin -u root password 'mypass'
mysqladmin -uroot -p create gallery2

(gets prompted for a password, type in "mypass")

mysql gallery2 -uroot -p -e"GRANT ALL ON gallery2.* TO root@localhost IDENTI

FIED BY 'mypass'"

Php setup

Edit /etc/php5/php5-cgi/php.ini

post_max_size = 12M
upload_max_filesize = 12M
php_value memory_limit 24M

Install other utilities prior to installing Gallery

apt-get install netpbm jhead ffmpeg