How Quick is Quick?
Just for fun I wrote a little shell script to download and install Qdig on my notebook machine to see how quickly it could be installed and configured. The answer: Two seconds!
The two-second-installation shell script and its output from when I ran it are shown below. The script downloads the tarball directly from an FTP mirror (which isn't a good habit, btw), unpacks the tarball, moves the tarball out of the http document tree, creates the qdig-files/ directory, changes permissions on qdig-files/, visits the (hard-coded) URL, and changes permissions again. The installation is complete and ready for images and / or gallery directories to be created with my desktop SCP client in two seconds.
I wiped things clear and tried the script three times. The time difference was two seconds all three times. Most of the execution time seems to be consumed by downloading the file.
This script shouldn't be construed as a recommended installation technique for the average Qdig user.
The Shell Script
# This script Downloads and installs Qdig, then sets up the writable
# directory. I created it to answer a simple question: "How quickly
# can Qdig be installed and configured?" The answer appears to be:
# "In 2 seconds."
echo -n "Starting:"
date # Display the time.
# Download the Qdig tarball.
tar -zxvf qdig-1.1.X.tar.gz
mv qdig-1.1.X.tar.gz ~/tmp # Move the tarball from the http document root.
chmod 2777 qdig-files/
echo "Visit the URL now."
# visit the URL with wget.
wget http://127.0.0.1/~installer/qdig/ --delete-after # visit the url once
chmod 0755 qdig-files/
echo -n "Done: "
installer@pod:~$ sh inst-qdig.sh
Starting:Mon Apr 5 01:25:36 MST 2004
Visit the URL now.
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
[ <=> ] 2,486 --.--K/s
02:25:38 (23.71 MB/s) - `index.html' saved 
Done: Mon Apr 5 01:25:38 MST 2004
Obviously this takes some preparation time because the URL for the current-release tarball and the URL for the gallery are hard coded into the script, but it shows that Qdig can be installed very quickly!
<< New Qdig Web Site | News | A Record Project Ranking >>