Linux上Elasticsearch5版本集群管理工具head安装
来源:互联网 发布:淘宝抠图兼职 编辑:程序博客网 时间:2024/06/05 02:06
原文地址:http://blog.csdn.net/qq942477618/article/details/53637817
1、下载head插件源码
https://github.com/mobz/elasticsearch-head
由于elasticsearch5.0版本变化较大,目前elasticsearch5.0 暂时不支持直接安装,但是head作者提供了另一种安装方法。
2、下载nodejs
nodejs官网下载地址https://nodejs.org/dist/
wget https://nodejs.org/dist/v6.9.2/node-v6.9.2-linux-x64.tar.xz
3、配置node环境变量
xz –d node-v6.9.2-linux-x64.tar.xz
tar –xvf node-v6.9.2-linux-x64.tar
mv node-v6.9.2-linux-x64 /data/PRG/node
vim /etc/profile
export NODE_HOME=/data/PRG/node
export PATH=$PATH:$NODE_HOME/bin
source /etc/profile
# node –v
v6.9.2
# npm –v
3.10.9
4、安装grunt
如果生产环境无法联网在线安装grunt,可以找一台能联网的主机配置好node,安装好grunt后将elasticsearch-head目录下的node_models打包上传
cd elasticsearch-head
npm install -g grunt --registry=https://registry.npm.taobao.org
修改head目录下的Gruntfile.js配置,head默认监听127.0.0.1
# vim Gruntfile.js
hostname: '0.0.0.0',
5、elasticsearch配置允许跨域访问
修改elasticsearch配置文件elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"
6、重启elasticsearch,并启动node
cd elasticsearch-head
node_modules/grunt/bin/grunt server
访问http://192.168.62.200:9100
阅读全文
0 0
- Linux上Elasticsearch5版本集群管理工具head安装
- elasticsearch5 版本集群管理工具head安装
- elasticsearch5 版本集群管理工具head安装
- elasticsearch5.x 集群管理工具head插件安装、nginx配置外网访问
- elasticsearch5.x 集群管理工具head插件安装、nginx配置外网访问
- elasticsearch5.0版本的head安装
- elasticsearch5.0集群+kibana5.0+head插件插件的安装
- CentOS上安装ElasticSearch5.4集群
- ElasticSearch5 head 安装
- elasticsearch5 head安装
- windows环境下ElasticSearch5以上版本安装head插件
- windows环境下ElasticSearch5以上版本安装head插件
- windows环境下ElasticSearch5以上版本安装head插件
- Windows环境下ElasticSearch5以上版本安装head插件
- windows环境下ElasticSearch5以上版本安装head插件
- elasticsearch集群管理工具head
- Linux Centos7安装Elasticsearch5.x版本
- ElasticSearch5.3安装Head插件
- 数据库 -MYSQL免安装过程
- Linux下取代top的进程管理工具 htop
- PAT乙级 1042. 字符统计(20)
- 比特币的成长之路
- Window 下安装 Redis
- Linux上Elasticsearch5版本集群管理工具head安装
- 数组排序
- 解决Linux内存不足问题
- java判断网络资源是否存在,超级简单的方法。
- PAT乙级 1043. 输出PATest(20)
- linux 后渗透测试
- C#使用windows自带的性能监视器显示
- 集群基础----(ricci+luci的安装)
- Yii2中的components的使用