下载并安装node-js
https://nodejs.org/en/download/
选择安装文件夹的时候,我选择了自己定义的D盘的文件夹,或许将来回有麻烦
安装Node.js参考https://www.cnblogs.com/liuqiyun/p/8133904.html
安装head插件参考https://www.cnblogs.com/hong-fithing/p/11221020.html#es_head_install
最后的重点:
如果在浏览页面显示cluster health: not connected,需要配置elasticsearch.yml,增加如下两行:
(参考https://blog.csdn.net/qq_30505673/article/details/85051785)
http.cors.enabled: true
http.cors.allow-origin: "*"