Installation of Elasticsearch
1. Download Elasticsearch from https://www.elastic.co/downloads/elasticsearch
2. A .zip file will be downloaded as elasticsearch-8.5.2
3. Extract the zip file and make the below changes in elasticsearch.yml file which is present in ~
-- elasticsearch-8.5.2\config folder. (Change all the true values to false in the file)
xpack.security.enabled: false
xpack.security.enrollment.enabled: false
xpack.security.http.ssl:
enabled: false
xpack.security.transport.ssl:
enabled: false
4. The above changes are to disable security configuration when we run the elasticsearch server
in the local.
5. Now start the elasticsearch server by running the elasticsearch.bat present in --
elasticsearch-8.5.2\bin folder.
6. A cmd console screen appears and looks like below
7. We can check whether the elasticsearch server is up and running by going to
http://localhost:9200/ in the browser. And the response should be as below.
NOTE: Do install postman in the systems. Download link :
https://www.postman.com/downloads/ )