Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added a tip if tasksel fails

This how-to is an updated version of Peter DeitzDietz's installation guide. The purpose of this guide is to extend the ease and clarity of that instruction set to more modern installs.

...

Code Block
sudo apt-get install tasksel
sudo tasksel

Select the following packages

Code Block
[*] LAMP server
[*] PostgreSQL database
[*] Tomcat Java server

*** Don't forget to deselect any defaults!

Tip
titleIf tasksel fails with an aptitude (100) error

You can try executing the commands which tasksel would have executed as separate statements:

sudo tasksel install lamp-server

sudo tasksel install tomcat-server

sudo tasksel install postgresql-server

 

Install the Compile / Build tools

...

Code Block
sudo vi /etc/tomcat7/server.xml
# Insert the following chunk of text just above the closing </Host>

<!-- Define a new context path for all DSpace web apps -->
<Context path="/xmlui" docBase="/dspace/webapps/xmlui" allowLinking="true"/>
<Context path="/sword" docBase="/dspace/webapps/sword" allowLinking="true"/>
<Context path="/oai"   docBase="/dspace/webapps/oai"   allowLinking="true"/>
<Context path="/jspui" docBase="/dspace/webapps/jspui" allowLinking="true"/>
<Context path="/lni"   docBase="/dspace/webapps/lni"   allowLinking="true"/>
<Context path="/solr"  docBase="/dspace/webapps/solr"  allowLinking="true"/>

Download and Install DSpace

...