Title: Greenstone.Installing.Linux.03
Created: 2011-11-20 23:52:33 +0000
Greenstone Digital Library, Chronicle, Wycliffe Journalism Library
03. Configuring Greenstone
As root, change to the Greenstone directory: $ cd /var/www/gsdl-2-84
Run the setup script: $ source ./setup.bash
NOTE: The gsicontrol.sh mechanism is only for controlling the built-in Apache web server. It has no use for us as we are going to use Ubuntu’s Apache2 web server instead.
To deactivate Greenstone’s built-in web server: $ mv ./apache-httpd ./apache-httpd-deactivated $ mv ./gs2-server.sh ./gs2-server.sh-deactivated
To add a redirect page in the root directory so that http[s]://servername/ and http[s]://servername/greenstone both redirect to the proper secure URL, do this:
$ cd /var/www/gsdl-2-84 $ vim index.html
Type in something along these lines:
<HTML> <HEAD> <meta HTTP-EQUIV="REFRESH" content="0; url=https://192.168.3.130/greenstone/cgi-bin/library.cgi"> </HEAD> </HTML>
Edit the gsdlsite.cfg file as necessary (save the original first): $ cd /var/www/gsdl-2-84/cgi-bin/ $ mkdir ./originals $ cp ./gsdlsite.cfg ./originals/ $ vim gsdlsite.cfg
Edit the main.cfg file as necessary (save the original first): $ cd /var/www/gsdl-2-84/etc $ mkdir ./originals $ cp ./main.cfg ./originals/ $ vim main.cfg status: <html>
</html>enabled<html>
</html> gliapplet: <html>
</html>enabled<html>
</html> logcgiargs: <html>
</html>true<html>
</html> usecookies: <html>
</html>true<html>
</html>
Previous: GreenstoneInstallingOnUbuntu02 :: Next: GreenstoneInstallingOnUbuntu04
