elasticsearch6.0.1之安装head插件(windows)

一.官网下载elasticsearch6.0.1
二.head插件下载安装
1.下载
在elasticsearch-6.0.1\plugins下创建文件head\_site,将elasticsearch-head-master文件夹下所有文件拷备到_site文件夹下  启动不好使,总结:es6.0不支持直接插件安装(低版本放在plugins文件夹下即可用)
2.安装nodejs ,head插件是用node.js开发的所以需要此环境,官网下载
3.安装grunt, npm install -g grunt -cli ,此方式为全局安装
4.到head目录下,执行 npm install ,此过程会下载phantomjs
5.grunt server 启动head插件
6.elasticsearch.yml中配置如下即可连接
http.cors.enabled: true
http.cors.allow-origin: "*"
7.访问localhost:9100

在elasticsearch2.2.4中head解压后放到plugins下直接可用

猜你喜欢

转载自blog.csdn.net/zhaojiweiwin/article/details/79779130
今日推荐