zoukankan      html  css  js  c++  java
  • elasticsearch 5.5.1 head插件安装

    5.5.1版本与之前版本有很大不同。

    1. 下载插件

    git clone git://github.com/mobz/elasticsearch-head.git

    2. 编译

    cd elasticsearch-head

    npm install

    npm install grunt --save

    3. 跨域问题解决:

    在node1 (master) 增加配置:

    http.cors.enabled: true
    http.cors.allow-origin: /http?://10.112.29.137(:[0-9]+)?/

     直接访问:http://10.112.29.137:9100

     坑:启动时报错:

    >> Local Npm module "grunt-contrib-clean" not found. Is it installed?
    >> Local Npm module "grunt-contrib-concat" not found. Is it installed?
    >> Local Npm module "grunt-contrib-watch" not found. Is it installed?
    >> Local Npm module "grunt-contrib-connect" not found. Is it installed?
    >> Local Npm module "grunt-contrib-copy" not found. Is it installed?
    >> Local Npm module "grunt-contrib-jasmine" not found. Is it installed?
    Warning: Task "connect:server" not found. Use --force to continue.

    Aborted due to warnings.

    安装

    npm install grunt-contrib-clean --registry=https://registry.npm.taobao.org

    npm install grunt-contrib-concat --registry=https://registry.npm.taobao.org

    npm install grunt-contrib-watch --registry=https://registry.npm.taobao.org
    npm install grunt-contrib-connect --registry=https://registry.npm.taobao.org
    npm install grunt-contrib-copy --registry=https://registry.npm.taobao.org
    npm install grunt-contrib-jasmine --registry=https://registry.npm.taobao.org

  • 相关阅读:
    php5.5+apache2.4+mysql5.7在windows下的配置
    rsync命令详解
    JVM GC算法 CMS 详解(转)
    JVM1.6 GC详解
    hadoop2升级的那点事情(详解)
    免费SVN空间
    JAVA正则表达式:Pattern类与Matcher类详解(转)
    Eclipse插件安装方式及使用说明
    可扩展Web架构与分布式系统(转)
    关于《Selenium3自动化测试实战--基于python语言》
  • 原文地址:https://www.cnblogs.com/kisf/p/7337794.html
Copyright © 2011-2022 走看看