【问题标题】:Unable to install the X-Pack plugin for Elasticsearch无法为 Elasticsearch 安装 X-Pack 插件
【发布时间】:2018-02-09 16:13:54
【问题描述】:

您好,我已经在同一台服务器上安装了 Elasticsearch 和 Kibana,我正在尝试为 Elasticsearch 安装 X-Pack 插件。我已经下载了插件 zip 文件并尝试了以下命令。

./plugin install file:///root/x-pack-5.1.1.zip

我收到以下错误:

验证文件:/root/x-pack-5.1.1.zip 校验和(如果可用)... 注意:无法验证下载插件的校验和(无法找到 .sha1 或 .md5 文件进行验证) 错误:在插件 zip 中找不到插件描述符“plugin-descriptor.properties” `

【问题讨论】:

  • 请您详细说明您使用的是哪个版本的弹性搜索

标签: elasticsearch kibana


【解决方案1】:

您是否尝试过使用弹性搜索插件命令?

【讨论】:

  • 是的,我试过了。显然 x-pac 应该与 Elastic Search 和 Kibana 的版本相同。无论如何,谢谢..我会再次尝试从头开始安装。
【解决方案2】:

我尝试了以下步骤,对我来说它的工作原理。

To add xpack extension for elasticsearch
go to /usr/share/elasticsearch/bin
bin/elasticsearch-plugin install x-pack

To add xpack extension for kibana
go to /usr/share/kibana/bin
bin/kibana-plugin install x-pack

Set the passwords for all built-in users:
go to /usr/share/elasticsearch
bin/x-pack/setup-passwords interactive

Here it will ask passwords for installed services

Open the kibana.yml file and change the following:
    elasticsearch.username: "ur-username"
    elasticsearch.password: "ur-password"

Restart elasticsearch, logstash and kibana

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-07-10
    • 2014-04-23
    • 1970-01-01
    • 1970-01-01
    • 2015-08-13
    • 2016-05-12
    • 1970-01-01
    • 2014-06-29
    相关资源
    最近更新 更多