栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

ElasticSearch插件es-head安装及使用:es集群设置了密码时的访问方法

ElasticSearch插件es-head安装及使用:es集群设置了密码时的访问方法

安装
下载:
https://github.com/mobz/elasticsearch-head

配置es:
# vim $ES_HOME/config/elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"

启动:
npm run start & # 后台运行
密码认证
http.cors.enabled: true
http.cors.allow-origin: "*"
#http.cors.allow-headers: Authorization  #这个配置改为下面的
http.cors.allow-headers: Authorization,X-Requested-With,Content-Length,Content-Type
xpack.security.enabled: true
xpack.security.transport.ssl.enabled: true

web页面登录,浏览器访问:

http://xxx:9100/?auth_user=elastic&auth_password=JCK3BPr2g25G

参考链接:
https://blog.csdn.net/chj_1224365967/article/details/120237793
https://www.cnblogs.com/gered/p/14503878.html

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/601721.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号