Tuesday, 17 May 2016

How to start, check and stop Elasticsearch ?


Start
Switch to the user which installed the ES.
Go to installation location of elasticsearch and start ES.
./bin/elasticsearch –d

Check
Check if ES is running or not
curl 'localhost:9200'
This should output the general information about your elasticsearch installation.

Stop
ps -aef | grep elasticsearch
kill -9 <processId>

No comments:

Post a Comment

Note: only a member of this blog may post a comment.