Thursday, December 19, 2019

SETTING UP SOLR AS A SERVICE

SETTING UP SOLR AS A SERVICE

On the command line, type the following:
Fill out the path to the solr.cmd script, and the startup directory should be filled in automatically. Don’t forget to input the -f (foreground) parameter so that NSSM can kill it when it needs to be stopped or restarted.
Application tab on NSSM Service Editor screen capture to show path to Solr start script
The following step is optional, but I prefer having a clean and descriptive name in my Windows Service Manager. Under the details tab, fill out the Display name and Description.
Details tab for NSSM service installer for setting up Solr 5 as a service on Microsoft Windows
Click on Install service.
NSSM confirmation box saying "Solr5" installed successfully
Check that the service is running.
Microsoft Windows Component Services Running Solr 5
Go to your favorite web browser and make sure Solr is up and running.
Solr 5 running as a service on Microsoft Windows

No comments:

Post a Comment