ES head

第2种安装方式

第二种方式就是不通过Elasticsearch插件方式进行安装

1、下载elasticsearch-head的源码

地址:https://github.com/mobz/elasticsearch-head/releases

2、安装node运行环境

地址:https://nodejs.org/en/download/

3、安装完node之后编译elasticsearch-head

执行npm install -g grunt-cli编译源码

执行npm install 安装服务

执行grunt server启动服务

启动服务之后访问https://localhost:9100/

4、接下来还需要修改elasticsearch相关配置

修改 elasticsearch/config/elasticsearch.yml

添加

1
2
http.cors.enabled: true
http.cors.allow-origin: "*"

接下来在浏览器访问https://localhost:9100/

原文地址:https://www.cnblogs.com/shenwenkai/p/11462997.html