On Mon, Jul 01, 2013 at 11:56:40AM -0400, Thomas Ronayne wrote: > Installing DSpace, Slackware 64-bit 14.0 stable. > > I'm stumbling over the mechanics of installing Apache-Tomcat and DSpace > with the same UID (getting dumber by the hour in my old age) and could > use a little advice. > > Apache-Tomcat requires a user account and group, DSpace requires a user > account and group that is the same as Apache-Tomcat. I'm not wrapping my > head around that too well. I'm thinking I can build and install > Apache-Tomcat as "tomcat" then edit /etc/passwd, /etc/shadow and > /etc/group and change "tomcat" to "dspace" (and probably change the home
Is there some reason you want the account to be named "dspace"? DSpace doesn't care, and never logs in. DSpace only needs to have its files accessible by Tomcat, and the simplest way to do that is to have them owned by the same account that runs Tomcat. DSpace is just one of the things Tomcat is doing in its own address space. So Tomcat needs a user identity but DSpace doesn't. If you let the DSpace files be owned by the account that the Tomcat installation created, it works. If you change the account name, you will probably have to reconfigure the Tomcat startup script, and make sure it doesn't get unreconfigured when Tomcat is upgraded some day. > directory at some point -- Apache-Tomcat lives in /var/lib/tomcat, > DSpace doesn't I believe). DSpace is told in its configuration where it lives and doesn't depend on the OS for such knowledge. OTOH I don't know whether Tomcat makes use of its "home" directory and would be reluctant to change it. You're correct that DSpace should not be installed inside Tomcat. Put it in some other convenient place. Only the webapp.s that you intend to use need to be known to Tomcat, and are typically copied from [DSpace] to wherever Tomcat's webapps/ directory is. -- Mark H. Wood, Lead System Programmer [email protected] Machines should not be friendly. Machines should be obedient.
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev
_______________________________________________ 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

