首页 > 代码库 > Elasticsearch 2.4.1 Bigdesk 插件安装
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
Elasticsearch 2.4.1 Bigdesk 插件安装
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。