From 4cba887e500bed777f4d2a650331bd698f8a8940 Mon Sep 17 00:00:00 2001 From: Alan Peabody Date: Mon, 24 Nov 2014 10:19:30 -0500 Subject: [PATCH] Add Elasticsearch 1.4.0. --- scripts/elasticsearch-1.4.0.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/elasticsearch-1.4.0.sh diff --git a/scripts/elasticsearch-1.4.0.sh b/scripts/elasticsearch-1.4.0.sh new file mode 100644 index 0000000..3bb251e --- /dev/null +++ b/scripts/elasticsearch-1.4.0.sh @@ -0,0 +1,8 @@ +apt-get install -y openjdk-7-jre-headless +if [ ! -f ~/elasticsearch-1.4.0.deb ]; then + cd ~/ + wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.0.deb + dpkg -i elasticsearch-1.4.0.deb + service elasticsearch start + update-rc.d elasticsearch defaults 95 10 +fi