Last active
December 16, 2015 17:19
-
-
Save bacongobbler/5469439 to your computer and use it in GitHub Desktop.
Install elasticsearch into /opt and start running. Change verison number based on which one you want.
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
#!/bin/sh | |
VERSION="0.90.1" | |
apt-get update | |
apt-get install -y openjdk-7-jre-headless | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.tar.gz | |
tar -xzf elasticsearch-$VERSION.tar.gz | |
mv elasticsearch-$VERSION /opt/elasticsearch | |
rm elasticsearch-$VERSION.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment