Difference between revisions of "Gallery2:Installation on Debian" - Gallery Codex
Personal tools

Difference between revisions of "Gallery2:Installation on Debian"

From Gallery Codex

Line 1: Line 1:
 +
== Debian Distributions ==
 +
 
Gallery2 is currently available in [http://www.debian.org Debian] [http://www.debian.org/releases/testing/ Testing (aka Etch)] and [http://www.debian.org Debian] [http://www.debian.org/releases/unstable/ Unstable (aka Sid)] in the package [http://packages.debian.org/gallery2 gallery2]
 
Gallery2 is currently available in [http://www.debian.org Debian] [http://www.debian.org/releases/testing/ Testing (aka Etch)] and [http://www.debian.org Debian] [http://www.debian.org/releases/unstable/ Unstable (aka Sid)] in the package [http://packages.debian.org/gallery2 gallery2]
  
To install gallery2 using the [http://packages.debian.org/gallery2 gallery2 package], make sure you have testing or unstable in your <tt>/etc/apt/sources.list</tt>. As root, run <tt>apt-get update</tt> followed by <tt>apt-get install gallery2</tt> and follow the instructions.
+
 
 +
== Prerequisites ==
 +
 
 +
Gallery2 requires either the Postgres or MySQL database server. The Debian package only requires the database client, so if you don't have the database server you'll have to install it yourself.  Make sure that you have testing or unstable in your <tt>/etc/apt/sources.list</tt> and first run:
 +
 
 +
  apt-get update
 +
 
 +
So that you get the latest list of packages.
 +
 
 +
=== MySQL ===
 +
 
 +
To install the MySQL server simply run:
 +
 
 +
  apt-get install mysql-server-4.1
 +
 
 +
=== Postgres ===
 +
 
 +
To install the Postgres server, run:
 +
 
 +
  apt-get install postgresql-7.4
 +
 
 +
Since the Gallery2 package does not require the postgres client, you'll also have to do:
 +
 
 +
  apt-get install postgresql-client-7.4
 +
 
 +
== Gallery 2 ==
 +
 
 +
To install Gallery2, run:
 +
 
 +
  apt-get install gallery2
 +
 
 +
This will download and install Gallery2.  It will ask you for MySQL database information.  You must enter this, even if you're planning on using Postgres.  In a later version of the package we will provide better support for Postgres during the debian pacakge installation.
 +
 
 +
Once Gallery2 is installed, browse to:
 +
 
 +
  http://your-server.com/gallery2
 +
 
 +
And run through the regular installer.
 +
 
 +
To see where Gallery2 files are installed, you can run:
 +
 
 +
  dpkg -L gallery2
 +
 
 +
This will provide you with a complete list of all installed files.

Revision as of 23:35, 10 August 2005

Debian Distributions

Gallery2 is currently available in Debian Testing (aka Etch) and Debian Unstable (aka Sid) in the package gallery2


Prerequisites

Gallery2 requires either the Postgres or MySQL database server. The Debian package only requires the database client, so if you don't have the database server you'll have to install it yourself. Make sure that you have testing or unstable in your /etc/apt/sources.list and first run:

 apt-get update

So that you get the latest list of packages.

MySQL

To install the MySQL server simply run:

 apt-get install mysql-server-4.1

Postgres

To install the Postgres server, run:

 apt-get install postgresql-7.4

Since the Gallery2 package does not require the postgres client, you'll also have to do:

 apt-get install postgresql-client-7.4

Gallery 2

To install Gallery2, run:

 apt-get install gallery2

This will download and install Gallery2. It will ask you for MySQL database information. You must enter this, even if you're planning on using Postgres. In a later version of the package we will provide better support for Postgres during the debian pacakge installation.

Once Gallery2 is installed, browse to:

 http://your-server.com/gallery2

And run through the regular installer.

To see where Gallery2 files are installed, you can run:

 dpkg -L gallery2

This will provide you with a complete list of all installed files.

advertisements