This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Gallery

From Gentoo Wiki (test)
Jump to:navigation Jump to: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/