Installing Tomcat as the user solr?

2012-09-17 Thread Ken Clarke
Can I have some clarification about installing Tomcat as the user solr?  See 
http://wiki.apache.org/solr/SolrTomcat#Installing_Tomcat_6 second paragraph, 
which states Create the solr user. As solr, extract the Tomcat 6.0 download 
into /opt/tomcat6.

Does this user need a home-dir?  (I'm guessing no).  Should it have it's own 
private group?  If so, is that group a system group with GID  500?  What about 
a login shell (again I'm guessing not necessary)

The documentation doesn't go on to say that you should switch to the solr user 
account when installing SOLR.  Sorry if that sounds like a dumb question, but 
there is no explanation about why tomcat needs to be installed as solr rather 
than tomcat or root.

Thanks.

Re: Installing Tomcat as the user solr?

2012-09-17 Thread Ken Clarke

Ok, I'll try running as tomcat.

The wiki has a problem with the tomcat startup script.  It looks like it's 
supposed to be a link which allows us to download a shell script, but when I 
click it, I get the error message You are not allowed to do AttachFile on 
this page. Login and try again..  The link I'm talking about is 1 line 
above 
http://wiki.apache.org/solr/SolrTomcat?action=AttachFiledo=viewtarget=tomcat6#Building_Solr



- Original Message - 
From: Michael Della Bitta michael.della.bi...@appinions.com

To: solr-user@lucene.apache.org
Sent: Monday, September 17, 2012 12:32 PM
Subject: Re: Installing Tomcat as the user solr?


I probably wouldn't suggest running Tomcat as root because of the
principle of least privilege, but aside from that, it's sort of
immaterial what you call the account, particularly if you already have
a 'tomcat' daemon account set up.

Michael Della Bitta


Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017
www.appinions.com
Where Influence Isn’t a Game


On Mon, Sep 17, 2012 at 11:13 AM, Ken Clarke
k_cla...@perlprogrammer.net wrote:
Can I have some clarification about installing Tomcat as the user solr? 
See http://wiki.apache.org/solr/SolrTomcat#Installing_Tomcat_6 second 
paragraph, which states Create the solr user. As solr, extract the Tomcat 
6.0 download into /opt/tomcat6.


Does this user need a home-dir?  (I'm guessing no).  Should it have it's 
own private group?  If so, is that group a system group with GID  500? 
What about a login shell (again I'm guessing not necessary)


The documentation doesn't go on to say that you should switch to the solr 
user account when installing SOLR.  Sorry if that sounds like a dumb 
question, but there is no explanation about why tomcat needs to be 
installed as solr rather than tomcat or root.


Thanks.





Beginner questions

2012-09-12 Thread Ken Clarke
Hi Folks,

I'm going to setup a SOLR search server for the first time.  Hope you don't 
mind a few beginner questions.  Perhaps a quick summary of how I intend to use 
it will help.

The SOLR server will be installed on a single VPS host and bound to a 
internal IP (192.168.?.?).  Search parameters will be received by a mod_perl 
script which will handle input validation, SOLR query language generation, 
submition to SOLR, SOLR response parsing and search request response.

Should I go with Beta 4 or stable 3?

Which servlet container would you suggest is the most efficient for my 
implementation?

I'm unclear if the JDK is required or I can just install a JRE.  I was 
guessing that Oracle's Java SE 7u7 would probably be the best implementation, 
yes/no?

How relevant is the Apache Solr 3 Enterprise Search Server book to 
working with version 4?  I couldn't find a list of differences anywhere.

Apreesh!
  
 Ken Clarke
 Contract Web Programmer / E-commerce Technologist