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 on port 9200; let's access it using the browser by accessing http://localhost:9200/:

Your Elasticsearch node is running by sending an HTTP request to port 9200.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset