Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ElasticSearch not running on localhost:9200 after apt-get install

I installed elasticsearch from Ubuntu repositories using

sudo apt-get install elasticsearch

After that I assumed the service would be setup and running, but when I opened localhost:9200 it was not running. Is there additional configuration or command that I need to run?

Edit: I also ran sudo systemctl start elasticsearch.service (ubuntu is on systemd) but no effect.

like image 642
sashoalm Avatar asked Aug 15 '17 19:08

sashoalm


1 Answers

Elasticsearch is not started automatically after installation. You need to enable elasticsearch explicitely, see https://www.elastic.co/guide/en/elasticsearch/reference/5.5/deb.html

like image 172
alr Avatar answered Oct 07 '22 08:10

alr