zoukankan      html  css  js  c++  java
  • (2)安装elastic6.1.3及插件kibana,x-pack,essql,head,bigdesk,cerebro,ik

    5.2kibana安装

      5.2.1解压kibana安装包,修改config/kibana.yml中端口,服务器地址,elastic连接地址

    tar zxvf kibana-6.1.3-linux-x86_64.tar.gz
    cd kibana-6.1.3-linux-x86_64
    vim config/kibana.yml
    server.port: 5601
    server.host: "192.168.1.1"
    elasticsearch.url: "http://192.168.1.1:9200"

      5.2.2如果没有安装x-pack,此时可以起到kibana

    bin/kibana &

    5.3x-pack安装

      x-pack是一个Elastic Stack的扩展,将安全,警报,监视,报告和图形功能包含在一个易于安装的软件包中

      x-pack安装时间较长,需要耐心等待

    su - ilog
    cd /home/ilog/elasticsearch-6.1.3
    bin/elasticsearch-plugin install x-pack
    bin/elasticsearch -d
    cd /home/ilog/kibana-6.1.3
    bin/kibana-plugin install x-pack
    bin/kibana &

    5.4head安装

      5.4.1创建存放插件的目录plugins,解压head安装包到plugins目录,修改解压后文件夹名称为head

    mkdir /home/ilog/plugins
    unzip elasticsearch-head-master.zip
    mv elasticsearch-head-master /home/ilog/plugins
    cd /home/ilog/plugins
    mv elasticsearch-head-master head

      5.4.2修改监听端口和地址为9107和localhost

    #修改监听端口和主机名称 第93和96行
    #端口自定义,没有要求
    vim Gruntfile.js
    port: 9107
    hostname: '192.168.1.1'

      5.4.3安装grunt

    cd /home/ilog/plugins/head/
    #安装cnpm
    npm install –g cnpm –registry=https://registry.npm.taobao.org
    #安装grunt
    npm install –g grunt –registry=https://registry.npm.taobao.org
    #安装grunt-cli
    npm install –g grunt-cli –registry=https://registry.npm.taobao.org
    #安装phantomjs-prebuilt
    npm install –g phantomjs-prebuilt -registry=https://registry.npm.taobao.org
    #下载head依赖
    npm install

      5.4.4启动程序

    grunt server &

    5.5es-sql安装

      es-sql需要安装es-sql插件和web前端程序

      web前端程序下载地址为:https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip

      5.5.1解压es-sql源码包到elastic程序plugins目录下,更改目录名称为sql

      5.5.2解压web前端程序包到/home/ilog/plugins目录

    unzip es-sql-site-standalone.zip
    mv es-sql-site-standalone sql
    mv sql /home/ilog/plugins/
    cd/home/ilog/plugins/sql/site-server 
    #修改web端口
    vim site_configuration.json
    ”port“:
    9108

      5.5.3启动es-sql的web前端

    #启动web前端程序
    node node-server.js &

    5.6cerebro安装

      5.6.1解压cerebro安装包到/home/ilog/plugins目录

    tar zxvf cerebro-0.7.2.tar.gz
    mv cerebro-0.7.2 /home/ilog/plugins/
    cd /home/ilog/plugins/cerebro-0.7.2

      5.6.2启动程序

    #端口和ip都可以自定义
    bin/cerebro –Dhttp.port=9109 –Dhttp.address=192.168.1.1 &

    5.7bigdesk安装

      5.7.1解压bigdesk安装包到/home/ilog/plugins目录,修改解压后文件夹名称为bigdesk

    tar zxvf bigdesk-2.5.0.tar
    mv bigdesk-2.5.0 bigdesk
    mv bigdesk /home/ilog/plugins/
    cd /home/ilog/plugins/bigdesk

      5.7.2启动程序

    python -m SimpleHTTPServer 9106 &
  • 相关阅读:
    Webkit CSS properties
    轻量级前端MVVM框架avalon
    ExtJS4 源码解析(一)带项目分析
    web app开发利器
    运用webkit绘制渲染页面原理解决iscroll4闪动的问题
    吐槽:基于PhoneGap开发移动项目
    轻量级前端MVVM框架avalon
    轻量级前端MVVM框架avalon
    WinDbg 命令三部曲:(一)WinDbg 命令手册
    Unit Testing with NSubstitute
  • 原文地址:https://www.cnblogs.com/micmouse521/p/8566400.html
Copyright © 2011-2022 走看看