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