Installing on a Unix/Linux Server with Shell Access


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.

  1. You now need to untar Gallery. Move the Gallery tarball (named gallery-1.x.x.tar.gz to somewhere in your web directory [accessible to the web]). Next type the following command:

         tar -xvzf gallery-1.x.x.tar.gz

    You will see a long list of files. You are now ready for the next step.

  2. Create two blank files, .htaccess and config.php. The easiest way is to use the script.


  3. 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

    If you didn't create the albums directory in your Gallery directory, make sure you remember where you did create it. You'll need to tell Gallery where you put it later.

  4. Run the configuration wizard, as described in this guide.

  5. Enjoy your new Gallery!