Search:  
Gentoo Wiki

Coppermine

Contents

Getting Started

Image:Coppermine.jpg

Coppermine is a powerful PHP based web photo gallery. It utilizies GD or ImageMagick and uses mysql as a backend.

Coppermine requires the following:

Install the mysql backend

# emerge -a mysql


Add the following to unmask the coppermine package.

File: Coppermine package.use file entry
www-apps/coppermine ~x86 


Install coppermine package and dependencies.

# emerge -a coppermine
# USE="jpg png" emerge -a gd
# OR
# USE="jpeg tiff png" emerge -a imagemagick
Note: Make sure you add the apropriate USE flags for the above packages. This will depend on what image formats you are anticipating


MySQL Configuration

Create a user for the Coppermine gallery

# mysql -u root -p
# mysql> GRANT ALL PRIVILEGES ON *.* TO 'copper'@'localhost'
#     -> IDENTIFIED BY 'your_password' WITH GRANT OPTION;
# mysql> CREATE DATABASE COPPERMINE;

Coppermine Configuration

Point your web browser to:

# http://YOUR-SERVER/coppermine/install.php

Fill in the appropriate fields and you should be all set. Enjoy!

See Also

Retrieved from "http://www.gentoo-wiki.info/Coppermine"

Last modified: Sun, 07 Sep 2008 03:57:00 +0000 Hits: 3,415