Skip to content

Instantly share code, notes, and snippets.

@krisleech
Last active August 6, 2019 11:55
Show Gist options
  • Select an option

  • Save krisleech/e97d9b17cd4e367b73ea66957b802875 to your computer and use it in GitHub Desktop.

Select an option

Save krisleech/e97d9b17cd4e367b73ea66957b802875 to your computer and use it in GitHub Desktop.
Installing an old version of ElasticSearch 1.7 and Java 8

Install Java 8

To install without clobbering your existing version use sdkman.

export SDKMAN_DIR="$HOME/bin/sdkman"
curl -s "https://get.sdkman.io" | bash
exec $SHELL
sdk install 8.0.222-amzn
sdk use 8.0.222-amzn
java -version

Download ElasticSearch version 1.7

cd ~/bin
curl -L -O https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.6.tar.gz
tar -xvf elasticsearch-1.7.6.tar.gz

And start

cd elasticsearch-1.7.6/bin
elasticsearch

Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment