Gallery

From Gentoo Wiki
Jump to: navigation, search
Resources

Gallery is a lamp stack application to build a photo gallery.

Installation

USE flags

Cannot load package information. Is the atom www-apps/gallery correct?

Installation

root #emerge --ask gallery3

MySQL

root #mysql -u root -p
mysql> CREATE DATABASE IF NOT EXISTS `gallery3` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
mysql> CREATE USER 'gallery3'@'localhost' IDENTIFIED BY 'changeme';
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `gallery3`.* TO 'gallery3'@'localhost' IDENTIFIED BY 'changeme';
mysql> \q

Web install

Point the browser to http://localhost/gallery3/installer/

  • Change user from root to gallery3
  • Set database prefix to g3_
  • Select continue
  • Document the admin username and password generated for you. You may change the admin user name & password when you login to the freshly installed web application.

http://localhost/gallery3/