This sections describes how to upgrade your Gallery from an old version to a new one. Upgrading is very easy, and you won't loose any data if you follow all the directions.
Make a backup of your old Gallery installation. The easiest way to do this is to use the tar command.
tar -cz gallery > gallery-backup.tar.gz
On Windows, use something like WinZip to create an archive of your Gallery directory.
Put your Gallery into configuration mode. This is very important.
cd gallery sh configure.sh (or configure.bat for Windows)
Download Gallery from the Gallery SF.net Download Page. Put the tarball in your gallery directory's parent directory.
Untar the new Gallery version over the old one.
tar -xvzf gallery-1.x.x.tar.gz [list of new files]
Windows users: use WinZip to extract Gallery over the old installation
Re-run the configuration wizard. Afterward, put Gallery back into secure mode, as described in that guide.
Enjoy your upgraded Gallery!
Make a backup copy of your Gallery directory. Use your FTP client to download the old Gallery directory, just in case
Put your Gallery into configuration mode, by chmodding .htaccess and config.php 0777 and by chmodding the setup/ directory 0755.
Download Gallery from the Gallery SF.net Download Page. Untar it using tar or WinZip on your computer.
Using your FTP client, upload the new Gallery files over the old Gallery files. Yes, this will override the old Gallery files, but this is OK!
Re-run the configuration wizard. Afterward, put Gallery back into secure mode, as described in that guide.
Enjoy your upgraded Gallery!