Install Elasticsearch

Elasticsearch is available for all platforms, either Linux or Windows. Download it from https://www.elastic.co/, here I am using Window system, so I have downloaded https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html, and unzip Elasticsearch. In the Linux system, you can install Elasticsearch from our package repositories using apt or yum. After installation, let's test it by running the Elasticsearch service using the following command:

.bin/elasticsearch.exe

Let's see the following screenshot after executing this command:

As you can see in the preceding screenshot, Elasticsearch is running ...

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.