Greenstone

Install on Snow Leopard

Use Perl

/usr/bin/perl5.8.9 -v

Download

Download dmg from Installer - MacOSx/Greenstone-2.84-MacOS-intel.dmg/

Edit setup.bash and run

jn9ky0j-msd:Greenstone admin$ pwd
/Users/admin/Greenstone
jn9ky0j-msd:Greenstone admin$ diff setup.bash setup.bash_OLD
4d3
< export VERSIONER_PERL_VERSION=5.8.9

jn9ky0j-msd:Greenstone admin$ source setup.bash

Result:
Your environment has successfully been set up to run Greenstone
+Your environment is now setup for the GNOME support library extension
+Adding in executable path for apache-httpd

Source server file

jn9ky0j-msd:Greenstone admin$ source ./gs2-server.sh

Result:
**Java:
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java

***
Starting the Greenstone Server Interface (GSI)…

Server log messages go to:
/Users/admin/Greenstone/etc/logs-gsi/server.log

Using Apache web server located at:
/Users/admin/Greenstone/apache-httpd/darwin/bin/httpd
The Apache error log is at:
/Users/admin/Greenstone/apache-httpd/darwin/logs/error_log
The Apache configuration file template is at:
/Users/admin/Greenstone/apache-httpd/darwin/conf/httpd.conf.in
This is used to generate:
/Users/admin/Greenstone/apache-httpd/darwin/conf/httpd.conf
each time Enter Library is pressed or otherwise activated.
***

Port 80 already in use or can't be assigned.
Running server on port 8282.**

gdsl_server.png

Click on above

Launch web server

http://localhost:8282/greenstone/cgi-bin/library.cgi (should happen automatically)

gdsl_server_launched.png

Launch library server (GLI)

$ cd gli
$ source ./gli.sh
gdi_server_launched.png

Install on Ubuntu

Download Linux file from Installer - Linux/Greenstone-2.84-linux/

Follow instructions at [http://commonplaces.org/2010/05/21/installing-the-greenstone-digital-library-software-on-ubuntu-1004-lucid-lynx/] though version number may need to change.

Include the Apache web server as Greenstone does not appear to recognise the existing Apache server on Ubuntu.

Perl

See [http://wiki.greenstone.org/wiki/index.php/2.83_Release_Notes#Perl_5.8.9_for_Linux]

Move the Perl tar.gz file into the ~/Greenstone dir.

adrian@adrian-ubuntu-11:~/Greenstone$ pwd
/home/adrian/Greenstone
adrian@adrian-ubuntu-11:~/Greenstone$ sudo tar -xvzf bin-linux-perl-5.8.9.tar.gz
adrian@adrian-ubuntu-11:~/Greenstone$ which perl
/home/adrian/Greenstone/bin/linux/perl/bin/perl
adrian@adrian-ubuntu-11:~/Greenstone$ /home/adrian/Greenstone/bin/linux/perl/bin/perl -v

This is perl, v5.8.9 built for i686-linux-thread-multi

Edit and Source setup.bash

diff setup.bash setup.bash_OLD
4d3
< export VERSIONER_PERL_VERSION=5.8.9

jn9ky0j-msd:Greenstone admin$ source setup.bash
adrian@adrian-ubuntu-11:~/Greenstone$ source !$
source setup.bash
Your environment is already set up for Greenstone!
+Your environment is already setup for the GNOME support library extension
+Adding in executable path for apache-httpd

***** Perl installation detected inside Greenstone.
Command-line scripts need to be run with "perl -S ..."
    e.g. perl -S import.pl -removeold demo

Install on Windows

Download .exe file

Then double click on the .exe file

N.B. Default install dir is C:\Program Files\Greenstone.

Run setup.bat

C:\Program Files\Greenstone>setup.bat

 ####                        #
##                           #
#     ###  ##   ##  ### ### ###  ##  ###  ##
#   # #   #### #### # # ##   #  #  # # # ####
##  # #   #    #    # #   #  #  #  # # # #
 #### #    ###  ### # # ###  ##  ##  # #  ###

(C) 2008, New Zealand Digital Library Project

Your environment has successfully been set up to run Greenstone.
Note that these settings will only have effect within this MS-DOS
session. You will therefore need to rerun setup.bat if you want
to run Greenstone programs from a different MS-DOS session.

+Adding in executable path for apache-httpd

Checking if GSDLHOME is writable…
GSDLHOME has write permission for the current user.

C:\Program Files\Greenstone>

Run gs2-server.bat

C:\Program Files\Greenstone>gs2-server.bat
Checking if the Greenstone log directory is writable …
… OK

This will open a window - so click on the …

and this should open the browser with

http://localhost/gsdl?uq=359876390

Run gli.bat

cd to gli

C:\Program Files\Greenstone\gli>gli.bat

Greenstone Librarian Interface (GLI)
Copyright (C) 2008, New Zealand Digital Library Project, University Of Waikato
GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
This is free software, and you are welcome to redistribute it

Checking if the Greenstone collection directory is writable …
… OK

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License