Installing and running ElasticSearch

Installing and running ElasticSearch

For the purposes of this tutorial, I'll assume you're on a Linux or Mac environment.

You should also have JDK 6 or above installed.

tar -zxvf elasticsearch-0.19.0.tar.gz
cd elasticsearch-0.19.0.tar.gz
bin/elasticsearch -f
You should see something like this in the terminal.

[2012-03-03 12:36:15,327][INFO ][node] [Ultra-Marine] {0.19.0}[9097]: initializing ...
[2012-03-03 12:36:15,337][INFO ][plugins] [Ultra-Marine] loaded [], sites []
[2012-03-03 12:36:20,509][INFO ][http] [Ultra-Marine] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/]}
[2012-03-03 12:36:20,509][INFO ][node] [Ultra-Marine] {0.19.0}[9097]: started
[2012-03-03 12:36:20,511][INFO ][gateway] [Ultra-Marine] recovered [0] indices into cluster_state
ElasticSearch is now running! You can access it at http://localhost:9200 on your web browser, which returns this:

  "ok" : true,
  "status" : 200,
  "name" : "Ultra-Marine",
  "version" : {
    "number" : "0.19.0",
    "snapshot_build" : false
  "tagline" : "You Know, for Search"

asked Apr 19, 2015 in Elasticsearch-php by rajesh
0 votes

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.