Gallery must be configured before you can use it. First, you must put Gallery in Configuration Mode. Here's how:
Unix with shell access
% cd /path/to/your/gallery
% sh ./configure.sh
Unix with FTP access
ftp> chmod 666 .htaccess
ftp> chmod 666 config.php
ftp> chmod 755 setup
http://www.anti-sound.com/gallery/