To install Elasticsearch, we can use the Elasticsearch Docker image:
// Please use the latest available versiondocker pull docker.elastic.co/elasticsearch/elasticsearch:5.5.1
We can also install Elasticsearch by following these steps:
- Download the latest Elasticsearch distribution from https://www.elastic.co/downloads/elasticsearch.
- Unzip it to the desired location in your system.
- Make sure that the latest Java version is installed and that the JAVA_HOME environment variable is set.
- Go to Elasticsearch home and run bin/elasticsearch on Unix-based systems and bin/elasticsearch.bat on Windows.
- Open any browser and hit http://localhost:9200/. On successful installation, it should provide you with a JSON object similar ...