View Full Version : Gallery Photo Album
dahlfan
01-25-2002, 01:22 AM
Hello--
I have a large number of photos I would like to put in a gallery on my website hosted by hostrocket. I would like to use the PHP based program Gallery to do it with. I have no experience with ssh. The installation instructions ask you to get into your gallery directory using ssh and run the command sh configure.sh to get to the install wizard. I have the gallery folder uploaded but I have no idea how to locate the directory and execute the command to install. Can anyone out there help me? I would really like to use this program.
Thanks,
Rebecca:cool:
To run *configure.sh* you need shell access (ask support to enable it)
That particular file is located in the root directory of your gallery */home/username/public_html/gallery/configure.sh*
If you don't want to use ssh, follow the instructions in the *readme file* the relevant section is pasted below.
3. HOW DO I INSTALL GALLERY IF I HAVE ONLY FTP ACCESS?
The process is pretty much the same as if you have shell access.
The complicating factor is that you can't run the 'configure' and
'secure' shell scripts. You'll have to simulate running the
scripts by using FTP commands.
In order to FTP Gallery up to your web server you'll need to unpack it
locally and then use FTP to copy it file at a time to the web server.
The first time you configure it, you'll need to create two special
files called "config.php" and ".htaccess" on the remote server. The
easiest way to do this is to create an empty file (we'll call it
"empty-file") on your local machine. Then upload that file as both
"config.php" and ".htaccess" using ftp. ONLY DO THIS THE FIRST TIME
you install Gallery or you'll overwrite your existing config file!
YOU TYPE:
put empty-file config.php
YOU SEE:
local: empty-file remote: config.php
150 Opening BINARY mode data connection for 'config.php'.
226 Transfer complete.
YOU TYPE:
put empty-file .htaccess
YOU SEE:
local: empty-file remote: config.php
150 Opening BINARY mode data connection for '.htaccess'.
226 Transfer complete.
At this point, you need to make both of these files writable. You
can do this (in the gallery directory)
chmod 777 .htaccess
chmod 777 config.php
chmod 755 setup
Now you're all set to configure gallery so go to the Gallery web
page. When you're done and it prompts you to make the gallery secure
again, you need to change your permissions back again:
chmod 644 config.php
chmod 644 .htaccess
chmod 0 setup
That's all it takes! If you use CuteFTP or some other FTP program,
you may need to hunt around a bit to find the CHMOD command. In
CuteFTP, right-click the file you would like to CHMOD, slect "Change
File Attributes", then enter the mode manually (ie. 755) in the
"Manual" text box. If you can't figure it out, try asking your ISP or
reading the documentation for your FTP client.
One added note...
I recently installed this script package. I found that I also needed to install the netpbm binaries as indicated in the docs. The config script could not find them (Host14).
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.