Skip to content

Commit

Permalink
Adds elasticsearch support.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpeabody committed Mar 27, 2014
1 parent 0e0f46f commit ee84081
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/elasticsearch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apt-get install -y openjdk-7-jre-headless
if [ ! -f ~/elasticsearch-1.0.1.deb ]; then
cd ~/
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb
dpkg -i elasticsearch-1.0.1.deb
service elasticsearch start
update-rc.d elasticsearch defaults 95 10
fi

0 comments on commit ee84081

Please sign in to comment.