Installing on a Unix/Linux Server with Shell Access

Note

If you are upgrading from a previous version of Gallery, please see the Upgrading Guide.

Note

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

  2. Create two blank files, .htaccess and config.php and chmod them world-writable.

         touch config.php .htaccess
         chmod 0777 config.php .htaccess
        

  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
        

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

  5. Enjoy your new Gallery!