美文网首页
MAC安装elasticsearch-head插件

MAC安装elasticsearch-head插件

作者: 丶清风自来 | 来源:发表于2022-11-16 17:04 被阅读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

    相关文章

      网友评论

          本文标题:MAC安装elasticsearch-head插件

          本文链接:https://www.haomeiwen.com/subject/djoyxdtx.html