您好我已经在同一台服务器上安装了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' `
答案 0 :(得分:0)
您是否尝试使用elastic search-plugin命令?
答案 1 :(得分:0)
我尝试了以下步骤,为我工作。
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