Download & Install
reference: https://viblo.asia/p/gioi-thieu-so-luoc-ve-elastic-search-tu-co-ban-den-nang-cao-Qbq5QjGwKD8
https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html
Window
Install: .\bin\elasticsearch.bat
Host: https://localhost:9200
[GOTIT-00526] publish_address {192.168.240.130:9200}, bound_addresses {[::]:9200}
User: elastic/tCIgkDl8qIhBJbV+4G8J
Change user: bin/elasticsearch-reset-password -u elastic
Config other nodes to join this cluster
on this node
Create an enrollment token with `bin/elasticsearch-create-enrollment-token -s node`.
Uncomment the transport.host setting at the end of config/elasticsearch.yml.
Restart Elasticsearch.
On other nodes
Start Elasticsearch with `bin/elasticsearch --enrollment-token <token>`,
using the enrollment token that you generated.
HTTP CA certificate SHA-256 fingerprint:
613045f39e27743296ef4d5d7076eb5b1156b509a36dfe21140ed4d6a6fc49f2
Configure Kibana to use this cluster:
Run Kibana and click the configuration link in the terminal when Kibana starts.
Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):
eyJ2ZXIiOiI4LjcuMCIsImFkciI6WyIxOTIuMTY4LjI0MC4xMzA6OTIwMCJdLCJmZ3IiOiI2MTMwNDVmMzllMjc3NDMyOTZlZjRkNWQ3MDc2ZWI1YjExNTZiNTA5YTM2ZGZlMjExNDBlZDRkNmE2ZmM0OWYyIiwia2V5IjoiV21RUWo0Y0JZcUk3dUFQbFc0YVI6YTZibHZPTlRSamV0M211N0lWbFl0QSJ9
update
Update