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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With