December 21, 2021
To install Elasticsearch:
- Unzip the Elasticsearch version that you downloaded earlier and edit the config/elasticsearch.yml file.
- Add the following lines to the file.
transport.tcp.port: 9300 http.cors.allow-origin: "*" http.cors.enabled: true
- Specify a unique cluster name for your Elasticsearch instances to avoid conflicts with other Elasticsearch instances on the network. For example, specify
ciohybrisas shown in the following example.
- Start Elasticsearch.
Elasticsearch is now running. You can access it at http://localhost:9200 in your web browser.
To be able to browse your index, you should install the ElasticSearch Head Chrome extension.