ES head插件安装方法

1、安装node.js:setup_6.x   (5-11)版本自行修改

curl --silent --location https://rpm.nodesource.com/setup_6.x | bash -

2、yum -y install nodejs

3、node.js的管理:

查看版本:node -v

npm install -g n  xxx   

xxx(latest最新、stable稳定、rm删除、list查看)

4、npm加速全局安装cnpm

npm install -g cnpm --registry=https://registry.npm.taobao.org

4、下载head插件:

git clone git://github.com/mobz/elasticsearch-head.git

5、进入到head

  • cd elasticsearch-head
  • 修改Gruntfile.js  ---增加 hostname: '*'

安装插件:

npm install -g grunt

npm install -g grunt-cli 

启动:

npm install

npm run start

 

 

 

posted @   田领群  阅读(135)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示