Photo album using gallery
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
(add category) |
(add link) |
||
| Line 12: | Line 12: | ||
Linux-Apache-Mysql-Php | Linux-Apache-Mysql-Php | ||
Linux-Lighttpd-Mysql-Php | Linux-Lighttpd-Mysql-Php | ||
| - | + | http://linkstationwiki.net/index.php?title=Lighttpd_with_mysql_and_php_%28LLMP%29 | |
== Mysql setup == | == Mysql setup == | ||
Revision as of 02:21, 27 August 2006
Contents |
Photo Album using Gallery 2
Good docs at http://gallery.menalto.com/
Those are the gotchas before starting to install Gallery itself
Prerequisites
LAMP or LLMP Linux-Apache-Mysql-Php Linux-Lighttpd-Mysql-Php http://linkstationwiki.net/index.php?title=Lighttpd_with_mysql_and_php_%28LLMP%29
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

