• Elasticsearch 2.4.1 Bigdesk 插件安装



    简介:

    Elasticsearch 2.4.1 安装 bigdesk

    bigdesk 是一个 ES 集群监控工具,可以检测到集群状态、各节点信息,包括 JVM、Thread Pools、OS、Process、Indices 等信息

    对性能优化有一定帮助

    1、本来这样安装

    shell > /usr/share/elasticsearch/bin/plugin install lukas-vlcek/bigdesk

    或者

    shell > /usr/share/elasticsearch/bin/plugin install lukas-vlcek/bigdesk/2.4.1

    但是,bigdesk 最新版 2.5.0 才支持到 Elasticsearch 1.3.x,所以导致安装报错如下:

    ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

    2、现在需这样安装

    shell > cd /usr/local/src
    
    shell > wget https://github.com/lukas-vlcek/bigdesk/archive/master.zip
    
    shell > unzip master.zip -d /usr/share/elasticsearch/plugins/
    
    shell > cd /usr/share/elasticsearch/bin/plugin; mkdir -p bigdesk/_site
    
    shell > mv bigdesk-master/* bigdesk/_site/; rm -rf bigdesk-master
    shell > cd bigdesk; vim plugin-descriptor.properties
    
    description = bigdesk
    version = 2.5.0
    name = bigdesk
    site = true
    
    shell > vim _site/js/store/BigdeskStore.js
    
    142         return (major == 1 && minor >= 0 && maintenance >= 0 && (build != 'Beta1' || build != 'Beta2'));
    
    改为:
    
    142         return (minor >= 0 && maintenance >= 0 && (build != 'Beta1' || build != 'Beta2'));
    
    shell > /etc/init.d/elasticsearch restart
    
    shell > /usr/share/elasticsearch/bin/plugin list
    Installed plugins in /usr/share/elasticsearch/plugins:
        - head
        - bigdesk

    # 访问:http://x.x.x.x:9200/_plugin/bigdesk 即可

    # 如果安装过一次,需先 /usr/share/elasticsearch/bin/plugin remove bigdesk

  • 相关阅读:
    面试题汇总
    桥接模式
    2010412 面试题
    2010412 面试题1
    访问者模式
    原码、反码、补码什么意思?有什么用?
    装饰模式
    mysql 忘记root密码 进行重置
    运维开源工具一览
    编写一个函数计算小费,小费为总账单的20%
  • 原文地址:https://www.cnblogs.com/wangxiaoqiangs/p/6430354.html
Copyright © 2020-2023  润新知