Installation of win10 platform elasticsearch and elasticsearch-head, win10elasticsearch
Because elasticsearch is developed based on java
The first step is to install JDK.
JDK Installation Steps http://jingyan.baidu.com/article/6dad5075d1dc40a123e36ea3.html
Step 2: Download The ElasticSearch https://www.elastic.co/downloads/elasticsearch
Find the bin directory in the extracted directory, double-click elasticsearch. bat to start the elasticsearch service, and then enter http: // localhost: 9200/in the browser/
The following shows that elasticsearch has been started properly.
Step 3: Download elasticsearch-head, https://github.com/mobz/elasticsearch-head
Open the index.html page,
No data is found. F12 checks the console to find the cross-origin issue.
The solution is to configure elasticsearch to allow cross-origin access,
Do not enable these settings in the production environment; otherwise, security risks may exist,
Http. cors. enabled: true
Http. cors. allow-origin :/.*/
Http. cors. allow-credentials: true
After the configuration is complete, re-open the index.html page to view some information about your elasticsearch.