ElasticSearch5.x安装Elasticsearch-head插件

本文介绍了如何在ElasticSearch5.x中安装Elasticsearch-head插件,包括安装Node.js环境,从GitHub下载并上传插件包,修改Elasticsearch配置,以及重启服务使配置生效和启动插件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一、安装Node.js环境

# cd /usr/local
# wget https://nodejs.org/dist/v8.11.4/node-v8.11.4-linux-x64.tar.xz
# yum install -y xz
# xz -d node-v8.11.4-linux-x64.tar.xz
# tar -xf node-v8.11.4-linux-x64.tar
# cd /usr/local/bin   //全局使用 npm 和 node,需要做相关软链
# ln -s /usr/local/node-v8.11.4-linux-x64/bin/node
# ln -s /usr/local/node-v8.11.4-linux-x64/bin/npm
# node -v
# npm -v
//使用淘宝镜像
# npm config get registry // https://registry.npmjs.org/
# npm config set registry https://registry.npm.taobao.org

二、下载插件包

https://github.com/mobz/elasticsearch-head下载代码上传到服务器上

# cd elasticsearch-head
# npm install -g grunt -cli
# npm install   //有报错忽略
# npm install grunt --save  //有报错
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值