Cara Menginstall ElasticSearch di Ubuntu

install Java JRE yg headless. Kalo lupa, cari pakai:

apt-cache search jre

Kemudian install:

apt-get install openjdk-7-jre-headless

Download ElasticSearch dariĀ http://www.elasticsearch.org/overview/elkdownloads/

wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.2.1.deb

Install file yang tadi di download:

dpkg -i elasticsearch-1.2.1.deb

Tes apakah ElasticSearch sudah terintall dengan benar:

curl -XGET localhost:9200

*Catatan tambahan:
Cara menjalankan elasticsearch:

sudo /etc/init.d/elasticsearch start