admin管理员组

文章数量:1624783

1、运行源码

安装配置好node和git,然后运行下列命令

git clone https://github/mobz/elasticsearch-head.git

cd elasticsearch-head
# 下载依赖
npm install --registry=https://registry.npm.taobao
# 启动项目
npm run start

运行完成后,在浏览器输入http://localhost:9100/访问

在上图所示的位置输入elasticsearch访问地址连接

如果连接不上,或者看不到数据,修改elasticsearch的config/elasticsearch.yml 配置文件添加如下内容:

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

然后重启es即可

2、浏览器安装插件

从ElasticSearch5.x开始,不再支持插件方式启动,必须作为独立服务器运行

如果能访问,去谷歌插件市场下载https://chrome.google/webstore/detail/elasticsearch-head/ffmkiejjmecolpfloofpjologoblkegm/

离线安装包地址:https://yuyunyaohui.lanzoul/ieP1N02ehxxa 密码:bnfr

文件下载完成后,打开谷歌浏览器的扩展程序页面,直接拖入下载后的文件即可安装

如果安装不了,将文件后缀改为zip再拖入

安装完成后,点击如图所示的位置即可打开

本文标签: 插件Elasticsearchhead