Skip to content

Instantly share code, notes, and snippets.

@JosefJezek
Last active December 16, 2015 14:48
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JosefJezek/5450846 to your computer and use it in GitHub Desktop.
Save JosefJezek/5450846 to your computer and use it in GitHub Desktop.
Install & Setup ElasticSearch

Install & Setup ElasticSearch Gittip

Author: Josef Jezek

Install

Check Download page for latest version of ElasticSearch and update VERSION

Ubuntu / Debian

sudo apt-get update
sudo apt-get install openjdk-7-jre-headless wget curl -y

VERSION=0.20.6
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb
sudo dpkg -i elasticsearch-$VERSION.deb
sudo service elasticsearch start

CentOS / Red Hat

yum install java-1.7.0-openjdk wget curl -y

VERSION=0.90.0.RC2
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.noarch.rpm
sudo rpm -i elasticsearch-$VERSION.noarch.rpm
sudo service elasticsearch start

Check installed package

curl http://localhost:9200
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
curl -XGET 'http://localhost:9200/_cluster/state'

Setup

Resources

Notes

TODO

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