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

    1.安装node环境:

        下载地址:https://nodejs.org/download/release/v8.13.0/node-v8.13.0-linux-x64.tar.gz

        gunzip  node-v8.13.0-linux-x64.tar.xz

        tar -xf node-v8.13.0-linux-x64.tar

        解压后的路径:/apps/svr/node-v8.13.0

        建立软连接

        ln -s /apps/svr/node-v8.13.0/bin/node /usr/bin/node

        ln -s /apps/svr/node-v8.13.0/bin/npm /usr/bin/npm

        执行完后 运行 node -v npm -v 分别就可以看到node 的版本为8.13.0 npm6.4.1


    2.安装head插件

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

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

            如果提示git找不到 则先安装gityum install -y git

       2cd elasticsearch-head

       3 npm install(修改下npm源: npm config set registry https://registry.npm.taobao.org 或者使用: npm install cnpm -g --registry=https://registry.npm.taobao.org

    注意://如果使用了 cnpm  那么就要 cnpm install(如果没有建立软连接还需要指定cnpm所在的位置: ../node-v8.13.0/bin/cnpm install

    4 npm run start    

    5)访问:http://你的ip:9100/

  • 相关阅读:
    Net中应用 Redis 扩展类
    【ASP.Net MVC3 】使用Unity 实现依赖注入
    NET平台常用的框架整理
    ABP 基于DDD的.NET开发框架 学习(三)创建模块:任务管理
    ABP 基于DDD的.NET开发框架 学习(二)创建实体
    ABP 基于DDD的.NET开发框架 学习(一)
    生成二维码图片
    淘宝图片指纹匹配功能c#实现
    webAPI中“System.Web.Http.HttpConfiguration”不包含“EnableSystemDiagnosticsTracing”的定义解决办法
    NuGet包 安装相关指令
  • 原文地址:https://www.cnblogs.com/yatou-blog/p/12142191.html
Copyright © 2011-2022 走看看