Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2007-05-01 22:55:40
Size: 143
Editor: adsl-76-192-189-233
Comment:
Revision 10 as of 2007-08-22 03:24:39
Size: 2620
Editor: adsl-76-223-128-18
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Keywords: Debian photo server, install, configure, windows xp, internet, photo album online, etch, sarge.
Line 4: Line 5:
 *'''[Optional]''' You should have apache, mysql and php installed already. If you don't have these installed please install them.
{{{
apt-get update
apt-get install apache2
apt-get install mysql-server
apt-get install php5
apt-get install php5-mysql

}}}
 *Let's start.
Line 9: Line 20:
 *Provide root password for the database.
 *Done with install.
== Configure ==
 *Now you need to enable gallery2 in your apache2 configuration.
 *Uncomment the following line in /etc/apache2/conf.d/gallery
{{{
Alias /gallery2 /usr/share/gallery2
}}}
 *[FYI]/etc/apache2/conf.d/gallery is a link to /etc/gallery2/apache.conf
*Now restart or start your apache server/
{{{
/etc/init.d/apache2 restart
}}}

 *Now visit http://localhost/gallery2 and you should see your gallery 2 configuration page.
== Gallery2 configuration ==
 *Start the instalation
 *Then they ask you to copy or create login.txt in /usr/share/gallery2. Download the login.txt and copy it into that folder
{{{
cp /home/lucas/Desktop/login.txt /usr/share/gallery2/
}}}
 *Authenticate
 *Follow to the next step and next ....
 *Pick a '''standard installation'''
 *Now choose a folder where you are going to store the pictures, movies etc.
{{{
mkdir /usr/share/gallery2/g2data
chmod 755 /usr/share/gallery2/g2data
chown www-data:www-data /usr/share/gallery2/g2data
}}}
 *First one creates a folder, second makes it user writable, 3rd changes the owner to web server.
 *Provide password for the database
 *If you need to create gallery2 database. Log into mysql
{{{
mysql -u root -p
}}}
 *Issue this command:
{{{
create database gallery2;
}}}
 *Create an admin account
 *Now lets go to gallery2 components.
== Gallery2 Components ==
 *They are all selected, so go over a list and desable the once you don't want. (commerce print cars, new user registration, quotas, etc)
 *If you need to install some programs you could issue this commands:
{{{
apt-get install imagemagick
}}}
 *Done. You should have your gallery at: http://localhost/gallery2
 *'''[Optional]''' If you want to make it something else ex. http://localhost/photos edit the /etc/apache2/conf.d/gallery2 and make this line look like:
{{{
Alias /photos /usr/share/gallery2
}}}

= Manage Photos =
 *Now you are ready to manage photos.
 *Log in with your admin user and start adding files to your photo server

Photo Album Server

TableOfContents(2) Keywords: Debian photo server, install, configure, windows xp, internet, photo album online, etch, sarge.

Install

  • [Optional] You should have apache, mysql and php installed already. If you don't have these installed please install them.

apt-get update
apt-get install apache2
apt-get install mysql-server
apt-get install php5
apt-get install php5-mysql
  • Let's start.
  • Install gallery software

apt-get update
apt-get install gallery2
  • Provide root password for the database.
  • Done with install.

Configure

  • Now you need to enable gallery2 in your apache2 configuration.
  • Uncomment the following line in /etc/apache2/conf.d/gallery

Alias /gallery2 /usr/share/gallery2
  • [FYI]/etc/apache2/conf.d/gallery is a link to /etc/gallery2/apache.conf

*Now restart or start your apache server/

/etc/init.d/apache2 restart

Gallery2 configuration

  • Start the instalation
  • Then they ask you to copy or create login.txt in /usr/share/gallery2. Download the login.txt and copy it into that folder

cp /home/lucas/Desktop/login.txt /usr/share/gallery2/
  • Authenticate
  • Follow to the next step and next ....
  • Pick a standard installation

  • Now choose a folder where you are going to store the pictures, movies etc.

mkdir /usr/share/gallery2/g2data
chmod 755 /usr/share/gallery2/g2data
chown www-data:www-data /usr/share/gallery2/g2data
  • First one creates a folder, second makes it user writable, 3rd changes the owner to web server.
  • Provide password for the database
  • If you need to create gallery2 database. Log into mysql

mysql -u root -p
  • Issue this command:

create database gallery2;
  • Create an admin account
  • Now lets go to gallery2 components.

Gallery2 Components

  • They are all selected, so go over a list and desable the once you don't want. (commerce print cars, new user registration, quotas, etc)
  • If you need to install some programs you could issue this commands:

apt-get install imagemagick

Alias /photos /usr/share/gallery2

Manage Photos

  • Now you are ready to manage photos.
  • Log in with your admin user and start adding files to your photo server

MyWiki: PhotoAlbumServer (last edited 2009-09-06 02:50:02 by localhost)