Skip to content

Instantly share code, notes, and snippets.

@coalwater
Last active August 29, 2015 14:16
Show Gist options
  • Save coalwater/97a083ddc28d4c9aef7d to your computer and use it in GitHub Desktop.
Save coalwater/97a083ddc28d4c9aef7d to your computer and use it in GitHub Desktop.
installing elasticsearch
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.2.deb
sudo dpkg -i elasticsearch-1.5.2.deb
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
sudo /usr/share/elasticsearch/bin/elasticsearch
sudo /etc/init.d/elasticsearch start
sudo service elasticsearch start
#[....] Starting elasticsearch (via systemctl): elasticsearch.serviceFailed to start elasticsearch.service: Unit elasticsearch.service failed to load: No such file or directory.
# failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment