2016-12-09 164 views
0

您好我已經在同一臺服務器上安裝了Elasticsearch和Kibana,我正在嘗試安裝Elasticsearch的X-Pack插件。我已經下載了插件zip文件,並嘗試了以下命令。無法安裝Elasticsearch的X-Pack插件

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

而且我得到了以下錯誤:

Verifying file:/root/x-pack-5.1.1.zip checksums if available ... NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify) ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip `

+0

請你能精確其中彈性搜索的版本使用 –

回答

0

你嘗試用彈性搜索插件的命令?

+0

是的,我試了一下..顯然,X-PAC應該是相同的版本作爲彈性搜索和Kibana。謝謝反正..我會嘗試再次從頭開始安裝。 – sriramsm04

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