On Wed, Aug 20, 2014 at 01:00:41PM -0600, Charlene Chinda Barina wrote: > Hi, as we've set up a shiny, full-access server, I wanted to see what folks > have been doing regarding file locations and best/better practices. I know > that the deployment is pretty much set (to /var/lib/tomcat/webapps) but was > wondering what people may suggest for managing the source/build and install > locations. > > I've seen some that suggest putting it in the dspace user's home directory > (e.g., /home/dspace/src and /home/dspace/dspace). > > Reading through FHS ( > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/s1-filesystem-fhs.html), > though, I'm wondering if I should set the source directory to > /usr/local/src/dspace and the install to /usr/local/dspace.
I think we're hardly typical, but here goes:
For our FOLIO instance of DSpace we split the DSpace install into
static directories:
/opt/folio/bin
/opt/folio/config
/opt/folo/etc
/opt/folio/handle-server
/opt/folio/lib
/opt/folio/solr
/opt/folio/webapps
and volatile directories:
/var/lib/folio/assetstore
/var/lib/folio/exports
/var/lib/folio/history
/var/lib/folio/log
/var/lib/folio/reports
/var/lib/folio/search
/var/lib/folio/sitemaps
/var/lib/folio/statistics
/var/lib/folio/upload
I'm an old-school sysadmin. and like to keep code separate so I can
mount it read-only if I choose.
We run directly out of /opt/folio/webapps/* using external Context
descriptors:
# cat /etc/tomcat-7/Catalina/folio.iupui.edu/ROOT.xml
<Context docBase='/opt/folio/webapps/xmlui'>
<Parameter
name="dspace-config"
value="/opt/folio/config/dspace.cfg"
description="Path to the DSpace configuration file." />
</Context>
(This is
https://wiki.duraspace.org/display/DSDOC4x/Installing+DSpace#InstallingDSpace-Installation
step 9 Technique A.)
We don't have a 'dspace' user; the DSpace files are owned by Tomcat's
user ('tomcat') since we install our distro's packaged Tomcat and it
comes that way. I have built while 'su'ed to 'tomcat', in a directory
off of Tomcat's home.
--
Mark H. Wood
Lead Technology Analyst
University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

