mac安裝elasticsearch-head步驟如下:
1.下載插件源碼
git clone https://github.com/mobz/elasticsearch-head.git
2.進(jìn)入文件夾
cd elasticsearch-head
3.安裝
npm install
如果提示npm命令不存在奄喂,則先安裝node.js被盈,官方下載地址:http://nodejs.cn/download/
4.安裝
npm install
可能會(huì)一直卡在如下提示中
idealTree:isp-bms: sill idealTree buildDeps
查看鏡像源:
npm config get registry
//修改鏡像源
npm config set registry https://registry.npm.taobao.org
//在執(zhí)行 npm install
5.成功后執(zhí)行:
npm run start
最后會(huì)提示:
image.png
6.訪問(wèn)http://localhost:9100,出來(lái)下圖就成功了
image.png