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

From Libopedia
Jump to navigation Jump to search
 
(19 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
  '''[[SUNScholar/Install DSpace/S09|NEXT - STEP 9]]'''
 
  '''[[SUNScholar/Install DSpace/S09|NEXT - STEP 9]]'''
 
</center>
 
</center>
 +
===<font color="red">PLEASE NOTE:</font>===
 +
# *** ''This procedure is completely different from the official DSpace documentation, in that it applies best system admin practice for Unix based systems'' ***
 +
#This procedure does <u>NOT</u> require "mod_jk" or Apache2 port re-direction with firewall rules <u>or the Apache2 server</u>.
  
 
==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/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?
  
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.
+
There are several methods. I selected what I call the "automatic linkage" method: 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 method saves you from constantly having to copying webapps after a compile, which is always a risky business.''
  
''It also saves you from having to change the Tomcat server configuration files, which is very definitely not recommended by the Debian/Ubuntu software package maintainers.''
+
''It also saves you from having to change the Tomcat server configuration files, which is '''very definitely not recommended''' by the Debian/Ubuntu software package maintainers.''
  
 
==Requirements==
 
==Requirements==
 
  <font color="red">'''Please make sure that Tomcat is listening on port 80 first, before setting this up. See link below.</font>'''
 
  <font color="red">'''Please make sure that Tomcat is listening on port 80 first, before setting this up. See link below.</font>'''
 
  http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05
 
  http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05
===<font color="red">PLEASE NOTE:</font>===
+
==[[SUNScholar/Install_DSpace/S08/Ubuntu-16.04|For Ubuntu 16.04 LTS]]==
# *** This procedure is completely different from the official DSpace documentation, in that it applies best system admin practice for Unix based systems ***
 
#This procedure does <u>NOT</u> require "mod_jk" or Apache2 port re-direction with firewall rules <u>or the Apache2 server installation itself, in fact</u>.
 
 
 
 
==[[SUNScholar/Install_DSpace/S08/Ubuntu-14.04|For Ubuntu 14.04 LTS]]==
 
==[[SUNScholar/Install_DSpace/S08/Ubuntu-14.04|For Ubuntu 14.04 LTS]]==
 
==[[SUNScholar/Install_DSpace/S08/Ubuntu-12.04|For Ubuntu 12.04 LTS]]==
 
==[[SUNScholar/Install_DSpace/S08/Ubuntu-12.04|For Ubuntu 12.04 LTS]]==
 
==References==
 
==References==
* http://rspproject.wordpress.com/2011/03/22/running-dspace-on-a-root-url/
+
* http://rspproject.wordpress.com/2011/03/22/running-dspace-on-a-root-url
*https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-Installation
+
 
*https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-Installation
 
 
<center>
 
<center>
 
  '''[[SUNScholar/Install DSpace/S07|PREVIOUS - STEP 7]]'''
 
  '''[[SUNScholar/Install DSpace/S07|PREVIOUS - STEP 7]]'''
 
</center>
 
</center>
 +
 +
[[Category:Installation]]
 +
__NOTOC__

Latest revision as of 14:35, 30 October 2019

NEXT - STEP 9

PLEASE NOTE:

  1. *** This procedure is completely different from the official DSpace documentation, in that it applies best system admin practice for Unix based systems ***
  2. This procedure does NOT require "mod_jk" or Apache2 port re-direction with firewall rules or the Apache2 server.

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. I selected what I call the "automatic linkage" method: 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 method saves you from constantly having to copying webapps after a compile, which is always a risky business.

It also saves you from having to change the Tomcat server configuration files, which is very definitely not recommended by the Debian/Ubuntu software package maintainers.

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

For Ubuntu 16.04 LTS

For Ubuntu 14.04 LTS

For Ubuntu 12.04 LTS

References

PREVIOUS - STEP 7