User Tools

Site Tools


eric:computer:greenstone_digital_library:greenstone.installing.linux.03

This is an old revision of the document!


Title: Greenstone.Installing.Linux.03 Timestamp: 2011-11-23 23:58:37 +0000 Created: 2011-11-20 23:52:33 +0000 Last Accessed: 2011-11-23 23:58:55 +0000 Times Accessed: 2 Tags: Greenstone Digital Library, Chronicle, Wycliffe Journalism Library Metadata: 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

eric/computer/greenstone_digital_library/greenstone.installing.linux.03.1791577596.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki