[greenstone-users] Run greenstone+GLI on a USB drive

From Stephen DeGabrielle
DateFri, 15 Jul 2005 16:52:20 +0930
Subject [greenstone-users] Run greenstone+GLI on a USB drive
In-Reply-To (42B9EC37-10105-cs-waikato-ac-nz)
Forgive me if this seems odd - but does anyone have any ideas on if
greenstone and the GLI could be run off a usb drive?
Carrying around my personal collection (and various test collections)
on my 512MB flash keyring. - (see the portable Firefox project
http://johnhaller.com/jh/mozilla/portable_firefox/ for a similar

I'm just thinking about it at the moment - and I think the main
barrier would be java for the GLI - I'm not sure if the jvm can run
off an external drive.

If anyone has any ideas or comments I'd really like to hear them.


PS If it's not too silly - the idea of running a greenstone
onstallation on my phone is even more attractive. It has a colour
screen, 128 mb memory, a small webserver(true) and the Opera browser
already installed. Too weird perhaps...

On 6/23/05, Michael Dewsnip <mdewsnip@cs.waikato.ac.nz> wrote:
> Hi Jonathan,

> You can make it use the "Default browser" by setting browser=3 in the
> gsdlsite.cfg file.
> >By the way, I was planning to make the CD with an autorun starting the
> >server.exe (without any installer) with the following gsdlsite.cfg content:
> >[gsdl]
> >enterlib=/gsdl
> >logfilename=c:gsdl.log
> >keeplog=0
> >consolelog=0
> >portnumber=80
> >autoenter=0
> >browser=1
> >start_browser=1
> >
> >I did take out the gsdlhome, gdbmhome and browserexe lines. It seams to work.
> >Any advise about doiing this? Is there any special risk associated with this
> >technique?
> >
> >
> Making a "no installation" CD-ROM has been done in the past
> successfully. Here is a posting by Jeremy Mears describing how he got it
> to work:
> http://www.nzdl.org/cgi-bin/library?a=d&c=gsarch&cl=search&d=88A7E8F3-C8FB-11D8-A227-0030656FC7D6-cyberone.com.au

-----copied from above URL---------
>From Jeremy Mears
DateMon, 28 Jun 2004 22:06:06 +1000
Subject [greenstone-users] How to build a "run off CD" collection

My current project needs to be run off the CD, with nothing being
installed on the host PC. A lot of places nowadays don't let users
install anything on their local drive, so i came up with a way for the
library to run off the CD.

Here's how i got it working:
Export the collection as normal.
Navigate to the tmp directory and the exported collection.
Move the autorun.inf file into the gsdl directory.
Open the autorun.inf with Notepad and change Setup.exe to server.exe.
Make sure there's no cfgsite file in the gsdl folder, if there is
delete it.
Burn just the gsdl directory and it's contents, not the rest of the
It should look like this:

Seems to work so far. Insert the cd into a pc and it'll launch the
server,exe and ask you to enter the library. No installing necessary.
It's not as fast as the installed version, but hey it works. What i
was doing wrong before was including the cfgsite doc on the CD. I
guess it was referring back to the tmp directory on my hard disk. With
it gone i guess it just looks in the local directory.

hope that helps