Skip to content

Instantly share code, notes, and snippets.

@samklr
Forked from wfowlks/Elasticsearch install script
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samklr/9129182d4afd9e33f32e to your computer and use it in GitHub Desktop.
Save samklr/9129182d4afd9e33f32e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# update apt
sudo apt-get update
# install java
sudo apt-get install openjdk-7-jre-headless -y
# install elasticsearch
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.5.0.deb
sudo dpkg -i elasticsearch-1.5.0.deb
sudo service elasticsearch start
# install head
sudo /usr/share/elasticsearch/bin/plugin -install mobz/elasticsearch-head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment