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:
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: enabled gliapplet: enabled logcgiargs: true usecookies: true
Previous: [[GreenstoneInstallingOnUbuntu02]] :: Next: [[GreenstoneInstallingOnUbuntu04]]