MAC安装elasticsearch-head插件

2022-11-16  本文已影响0人  丶清风自来

mac安装elasticsearch-head步骤如下:
1.下载插件源码
git clone https://github.com/mobz/elasticsearch-head.git
2.进入文件夹

cd elasticsearch-head 

3.安装

npm install

如果提示npm命令不存在,则先安装node.js,官方下载地址:http://nodejs.cn/download/
4.安装

npm install

可能会一直卡在如下提示中

idealTree:isp-bms: sill idealTree buildDeps

查看镜像源:

npm config get registry
//修改镜像源
npm config set registry https://registry.npm.taobao.org
//在执行 npm install

5.成功后执行:

npm run start

最后会提示:

image.png
6.访问http://localhost:9100,出来下图就成功了
image.png
上一篇 下一篇

猜你喜欢

热点阅读