You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Arun Kumar <ak...@novalnet-solutions.com> on 2012/06/29 12:53:08 UTC

How to start apache solr automatically in linux server for drupal 7

Hello all,

   I am a newbie to drupal.

   I am working on drupal commerce for an ecommerce site.Here i need to 
implement apache solr search for autocomplete of product search .

For this function , am running "java -jar start.jar" comand in 
apache-solr directory.

I need this to be automatic in server.We using linux/SUSE server.How can 
i start apache-solr automatically in linux/SUSE server.

Please provide guidelines to me.

THanks
Arun


Re: How to start apache solr automatically in linux server for drupal 7

Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,

Install the "daemon" Linux package. This one allows to correctly fork processes into background. It also creates PID files and set the user account on starting. After that you only need a upstart (e.g. used on ubuntu) or init.d script to start it on boot. Alternatively add it as @reboot cron job for any user it should run under.

Uwe
--
Uwe Schindler
H.-H.-Meier-Allee 63, 28213 Bremen
http://www.thetaphi.de



Arun Kumar <ak...@novalnet-solutions.com> schrieb:


Hello all,

  I am a newbie to drupal.

  I am working on drupal commerce for an ecommerce site.Here i need to implement apache solr search for autocomplete of product search .

For this function , am running "java -jar start.jar" comand in apache-solr directory.

I need this to be automatic in server.We using linux/SUSE server.How can i start apache-solr automatically in linux/SUSE server.

Please provide guidelines to me.

THanks
Arun