Difference between revisions of "SUNScholar/Install DSpace/S08"
Jump to navigation
Jump to search
| Line 11: | Line 11: | ||
So, how do we get all the files into the Tomcat webapps folder ? | So, how do we get all the files into the Tomcat webapps folder ? | ||
| − | There are several methods, but we are going to set it up 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/ | + | There are several methods, but we are going to set it up 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. |
| + | |||
| + | This also saves you from constantly copying webapps after a compile, which is a tricky business. | ||
==[[SUNScholar/Install_DSpace/S08/Ubuntu-14.04|For Ubuntu 14.04 LTS]]== | ==[[SUNScholar/Install_DSpace/S08/Ubuntu-14.04|For Ubuntu 14.04 LTS]]== | ||
Revision as of 16:24, 15 January 2015
NEXT - STEP 9
Contents
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/dspace/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, but we are going to set it up 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.
This also saves you from constantly copying webapps after a compile, which is a tricky business.