Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ElasticSearch script install
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.9.zip
unzip elasticsearch-0.90.9.zip -d /usr/local/elasticsearch
cd /usr/local/elasticsearch/elasticsearch-0.90.9
bin/plugin -install elasticsearch/elasticsearch-cloud-aws/1.16.0
bin/plugin -install mobz/elasticsearch-head
mv * /usr/local/elasticsearch/
cd ..
rm -R elasticsearch-0.90.9
cd config
echo '' >> elasticsearch.yml
echo '# Keep it local' >> elasticsearch.yml
echo 'network.host: "127.0.0.1"' >> elasticsearch.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment