Hi Chris,

The 'solr' user should be created by default when installing Apache Solr.  
In any case, Apache Solr recommends *not* running Solr as root.  Instead, 
they recommend creating a "solr" user (it could be named something else if 
you want) to install Solr under.  

See this Apache guide for taking Solr to production for more 
information: 
https://solr.apache.org/guide/8_1/taking-solr-to-production.html#create-the-solr-user
  
 That guide is also linked to from the main "Installing Solr" instructions 
in the "Preparing for Installation" 
section: 
https://solr.apache.org/guide/8_1/installing-solr.html#preparing-for-installation

Hopefully that helps explain things better!

Tim

On Saturday, December 18, 2021 at 11:16:07 AM UTC-6 Chris Clawson wrote:

> I have Solr 8.11.1 extracted to /opt/solr-8.11.1 . The command line 
> example (provided in the Apache Foundation quick start instructions), 
>  ./bin/solr start -e cloud , produces a 'welcome' message.
> Step #13 of the DSpace 7.x installation page instructs me to copy dspace 
> configsets to the installed Solr directory. (Fine.)
> The second part of step #13 is telling me to change the group/owner of 
> these configsets to 'solr':
> chown -R solr:solr /opt/solr-8.11.1/server/solr/configsets
> What group/user solr is this? It is not defined anywhere that I can find, 
> and the Apache Foundation doesn't mention it anywhere I can see or 
> understand.
> Right now, the entire Solr directory is group and user owned by root:root. 
> My DSpace operating system user will be 'tomcat'.
>
> Please explain how and why I should use this 'solr' user and group. Thanks
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/cfc339d3-fe4b-446f-b18d-f006d7f54603n%40googlegroups.com.

Reply via email to