If you are upgrading from a previous version of Gallery, please see the Upgrading Guide.
Gallery 1.x requires certain programs to be installed before it can work correctly. For information on how to install these programs, see the installing required programs guide.
Before you can start doing anything, you must first download Gallery. Gallery is available for download from the SourceForge Download Page. Once you have downloaded Gallery, you're ready to start installing it.
First, untar Gallery. Move the Gallery tarball (named gallery-1.x.x.tar.gz to somewhere in your web directory). Next type the following command:
tar -xvzf gallery-1.x.x.tar.gz
You should see a long list of files as Gallery is decompressed.
Create two blank files, .htaccess and config.php and chmod them world-writable.
touch config.php .htaccess chmod 0777 config.php .htaccess
You now need to create a directory to hold Gallery's albums. You can create the directory anywhere in your web space (accessible via the web). It is easiest to just create another directory in your gallery/ directory.
mkdir albums
This directory must be chmodded 0777
chmod 0777 albums
Run the configuration wizard, as described in this guide.
Enjoy your new Gallery!