Forked from ThomasArdal/Elasticsearch install script
Created
October 1, 2015 19:16
-
-
Save chongkan/86e6544301346fab5dab to your computer and use it in GitHub Desktop.
Script to setup Elasticsearch on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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.1.1.deb | |
sudo dpkg -i elasticsearch-1.1.1.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