Setting up Elasticsearch

To set up Elasticsearch, download the latest version from the Elasticsearch download page (https://www.elastic.co/downloads/elasticsearch) and extract it, as shown in the following example; this book uses Elasticsearch 6.1.1, that can be downloaded from the release page of 6.1.1 (https://www.elastic.co/downloads/past-releases/elasticsearch-6-1-1):

# download elasticsearch 6.1.1 tar% wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.1.tar.gz-- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.1.1.tar.gzResolving artifacts.elastic.co (artifacts.elastic.co)... 184.73.156.41, 184.72.218.26, 54.235.82.130, ...Connecting to artifacts.elastic.co (artifacts.elastic.co)|184.73.156.41|:443... ...

Get Microservices with Clojure now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.