Skip to content
Advertisement

How to run elasticsearch as a service on CentOS 5

I found only this official guide to install Elasticsearch 2.0 as a service but there is no mention of CENTOS5. What are the steps to install ES as a service on CentOS5?

Advertisement

Answer

CentOS is based on RedHat and should use the RPM distribution, start it as follows:

sudo /sbin/chkconfig --add elasticsearch
sudo service elasticsearch start
Advertisement