Sunday, May 18, 2014

Install ElasticSearch 1.0.x on Ubuntu/Debian

ES released an apt-get repo for ElasticSearch. It is the recommended package-driven deployment.

sudo -i
apt-get install openjdk-7-jre-headless -y
wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -

vim /etc/apt/sources.list

#Append the following, then save

deb http://packages.elasticsearch.org/elasticsearch/1.0/debian stable main



apt-get update
apt-get install elasticsearch


service elasticsearch start
  • Related Links Widget for Blogspot

No comments: