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
版权声明:本文标题:安装Elasticsearch-head插件 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728912840a1179326.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论