elasticsearch-head 安装 mac

安装

  1. 下载elasticsearch-head
    https://github.com/mobz/elasticsearch-head

git clone https://github.com/mobz/elasticsearch-head 到本地即可

  1. elasticsearch-head 依赖 node 和 1. grunt-cli

npm install -g grunt-cli

3.cd 到elasticsearch-head目录下 npm install 安装依赖

  1. 配置可以通过ip访问
    修改Gruntfile.js 文件 在connect->server->options下添加hostname:'*'


    image.png
  1. 启动
    cd 到 node_modules/grunt下
    执行 bin/grunt server 即可启动
    浏览器访问
    http://localhost:9100
    启动成功
    image.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容