Photo album using gallery
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
m |
(→Mysql setup) |
||
| (4 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
{{Articles|Debian|Mediaserver}} | {{Articles|Debian|Mediaserver}} | ||
| - | + | <table align=right><tr><td>http://gallery.menalto.com/themes/gmc/logo.png</td></tr></table> | |
| - | + | ||
| - | + | ||
=Gallery 2 - Photo Album= | =Gallery 2 - Photo Album= | ||
| - | + | The '''[[w:Gallery Project|Gallery Project]]''' is an [[w:open source|open source]] [[w:PHP|PHP]] project enabling simple management and publication of [[w:photograph|photograph]]s and other digital media through a PHP-enabled [[w:Apache HTTP Server|Apache]], [[w:Internet Information Services|IIS]] or [[w:Zeus Technology|Zeus]] [[w:web server|web server]]. Photo management includes automatic [[w:thumbnail|thumbnail]]s, resizing, rotation, and flipping, among other things. Albums can be organized hierarchically and individually controlled by administrators or privileged users. | |
| - | The '''[[w:Gallery Project|Gallery Project]]''' is an [[w:open source|open source]] [[w:PHP|PHP]] project enabling simple management and publication of [[w:photograph|photograph]]s and other digital media through a PHP-enabled [[w:Apache HTTP Server|Apache]], [[w:Internet Information Services|IIS]] or [[w:Zeus Technology|Zeus]] [[w:web server]]. Photo management includes automatic [[w:thumbnail]]s, 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/ | More information can be found here: http://gallery.menalto.com/ | ||
== Prerequisites == | == Prerequisites == | ||
| - | + | [[LAMP]] or [[Lighttpd with mysql and php (LLMP)|LLMP]] | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
== Mysql setup == | == Mysql setup == | ||
| Line 21: | Line 14: | ||
(gets prompted for a password, type in "mypass") | (gets prompted for a password, type in "mypass") | ||
| - | mysql gallery2 -uroot -p -e"GRANT ALL ON gallery2.* TO root@localhost | + | mysql gallery2 -uroot -p -e"GRANT ALL ON gallery2.* TO root@localhost IDENTIFIED BY 'mypass'" |
| - | + | ||
== Php setup == | == Php setup == | ||
Latest revision as of 04:27, 7 February 2007
![]() |
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
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 IDENTIFIED 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


