在Elasticsearch 5.x下安装elasticsearch-head
来源:互联网 发布:软件一键位安装 编辑:程序博客网 时间:2024/06/06 17:45
转自:http://www.cnblogs.com/zklidd/p/6433123.html
Elasticsearch 5.x不支持通过插件的方式安装elasticsearch-head了。这次用服务端的模式来运行。
准备环境
系统:centos 6 / 7
如果没npm,需要先安装下。
yum -y install nodejs npm
换下npm源,这里使用淘宝的
npm config set registry https://registry.npm.taobao.org
安装grunt
npm install grunt-clinpm install grunt
安装elasticsearch-head
git clone git://github.com/mobz/elasticsearch-head.gitcd elasticsearch-headvim _site/app.js# 修改 『http://localhost:9200』字段到本机ES端口与IP
更改es配置
vim /etc/elasticsearch/elasticsearch.yml#添加http.cors.enabled: truehttp.cors.allow-origin: "*"#重启下es
启动elasticsearch-head
cd elasticsearch-headgrunt server
浏览器打开http://服务器ip:9100/
阅读全文
0 0
- 在Elasticsearch 5.x下安装elasticsearch-head
- ElasticSearch-5.x 安装head插件
- CentOS 7.X 下安装ElasticSearch-Head插件
- node js npm grunt安装,elasticsearch-head 5.X安装
- elasticsearch在有代理的情况下安装head plugin
- Elasticsearch 5.X — Head插件安装部署
- Elasticsearch 5.x head插件安装指南 及问题
- Elasticsearch之—— 5.X head插件安装实例
- elasticsearch 二、elasticsearch-head安装
- 在Windows上安装Elasticsearch 5.x
- 在Windows上安装Elasticsearch 5.x
- 在Linux安装elasticsearch的head插件
- Elasticsearch 5.x Head插件部署指南
- Elasticsearch 5.x Head插件部署指南
- elasticsearch head插件安装
- elasticsearch-head插件安装
- elasticsearch head插件安装
- Elasticsearch 安装 head 插件
- 用户注册框架
- Android超全的弹框样式
- javaScript基础
- 表单验证之用户注册
- PyQt5系列(四)Mac10.12上安装Cocoapods
- 在Elasticsearch 5.x下安装elasticsearch-head
- boost编译
- Web前端之拖拽窗口
- java字符串以|分割
- python学习日记
- 微信小程序tap点击和长按冲突解决
- 自学者的困惑。
- VS与VC版本对应
- 简单实现类似购物网站中的固定定位