Difference between revisions of "SUNScholar/Install DSpace/S08"

From Libopedia
Jump to navigation Jump to search
m (Text replacement - "/home/dspace" to "$HOME")
Line 7: Line 7:
 
  http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05
 
  http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05
 
==Step 8. Enable the DSpace Java webapps on the Java Tomcat webapp server==
 
==Step 8. Enable the DSpace Java webapps on the Java Tomcat webapp server==
The DSpace webapps have been compiled in the '''/home/dspace/webapps''' folder but Tomcat only serves up webapps in the '''/var/lib/tomcatX/webapps''' folder.
+
The DSpace webapps have been compiled in the '''$HOME/webapps''' folder but Tomcat only serves up webapps in the '''/var/lib/tomcatX/webapps''' folder.
  
 
So, how do we get all the files into the Tomcat webapps folder? There are several methods.
 
So, how do we get all the files into the Tomcat webapps folder? There are several methods.
  
We are going to architect an "automatic linkage" method, so that if you change anything in the DSpace '''/home/dspace/webapps''' folder and then re-compile, the changes automatically occur in the Tomcat '''/var/lib/tomcatX/webapps''' folder.
+
We are going to architect an "automatic linkage" method, so that if you change anything in the DSpace '''$HOME/webapps''' folder and then re-compile, the changes automatically occur in the Tomcat '''/var/lib/tomcatX/webapps''' folder.
  
 
This also saves you from constantly copying webapps after a compile, which is a tricky business.
 
This also saves you from constantly copying webapps after a compile, which is a tricky business.

Revision as of 09:46, 23 January 2015

NEXT - STEP 9

Requirements

Please make sure that Tomcat is listening on port 80 first, before setting this up. See link below.
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05

Step 8. Enable the DSpace Java webapps on the Java Tomcat webapp server

The DSpace webapps have been compiled in the $HOME/webapps folder but Tomcat only serves up webapps in the /var/lib/tomcatX/webapps folder.

So, how do we get all the files into the Tomcat webapps folder? There are several methods.

We are going to architect an "automatic linkage" method, so that if you change anything in the DSpace $HOME/webapps folder and then re-compile, the changes automatically occur in the Tomcat /var/lib/tomcatX/webapps folder.

This also saves you from constantly copying webapps after a compile, which is a tricky business.

For Ubuntu 14.04 LTS

For Ubuntu 12.04 LTS

References