You will run into many problems along the way. I started that way and
had to revert.
DSpace seems to be programmed under the assumption that $CATALINA_BASE
is the same as $CATALINA_HOME (which it isn't under the Ubuntu/Debian
package) and that Tomcat is run by the dspace user. You'll have
problems with DSpace looking in the wrong place for files and with file
permission conflicts between the tomcat7 and dspace user.
If you don't want to fight with Ubuntu or with DSpace (and you won't win
anyway), then install Tomcat from a binary distribution from the Apache
Tomcat site and install it as the dspace user.
Good luck,
Chris Gray
Systems Analyst
519-888-4567, ext. 35764
cpg...@uwaterloo.ca
University of Waterloo
On 14-12-19 03:33 PM, Baker, David A. wrote:
I’m doing some testing using Ubuntu server 14.04.1 and DSpace 4.2
Ubuntu’s package manager creates a service user, tomcat7, for running
Tomcat. So instead of fighting with Ubuntu, I am using that user to
run the Tomcat service. Also, I have created a Linux user account,
dspace, that I log into the server with.
Is it OK that I did my Maven/Ant build/install using my normal user,
dspace, and then gave ownership and permissions of all of my dspace
files to the Tomcat user, tomcat7?
Ubuntu gives the tomcat7 user a home directory of “/usr/share/tomcat7”
and a shell of “/bin/false”, so without changing the user I am unable
to do any building with it. Would it be better if I were to assign
“/home/tomcat7” to my Tomcat service user so it can do the build, or
is there some reason that the Ubuntu package manager has assigned
“/usr/share/tomcat7” as the home directory? I don’t want to break the
service user account, and I don’t want to cause some problem down the
road by doing the build/install with a normal user.
Thanks for any info!
--
David Baker
Digital Resources & Web Development Specialist
Milligan College – P.H. Welshimer Memorial Library
423-461-8703 | library.milligan.edu <http://library.milligan.edu/>
sig
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette