Difference between revisions of "Elastic search"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 6: Line 6:
== Java 7 / Elastic search 1.7 ==
== Java 7 / Elastic search 1.7 ==
This version is an alternate version.
This version is an alternate version.
Install and unpack files


   sudo wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.6.tar.gz
   sudo wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.6.tar.gz
Line 11: Line 13:
   sudo rm elasticsearch-1.7.6.tar.gz
   sudo rm elasticsearch-1.7.6.tar.gz


Run as a daemon


   elasticsearch-1.7.6/bin/elasticsearch -d
   elasticsearch-1.7.6/bin/elasticsearch -d
Test that the service is running


   curl 'http://localhost:9200/?pretty'
   curl 'http://localhost:9200/?pretty'

Revision as of 17:58, 28 November 2017

Java / Elastic search 6

This is the recommended version but requires Java 8.


Java 7 / Elastic search 1.7

This version is an alternate version.

Install and unpack files

 sudo wget https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.6.tar.gz
 tar -xvf elasticsearch-1.7.6.tar.gz
 sudo rm elasticsearch-1.7.6.tar.gz

Run as a daemon

 elasticsearch-1.7.6/bin/elasticsearch -d

Test that the service is running

 curl 'http://localhost:9200/?pretty'