Failed to install Search Guard plugin for Elasticsearch-5.x

Due to restrictions, I was not allowed to install any packages from the Internet. So, this command is not useful for me to install search-guard .

bin/elasticsearch-plugin install -b com.floragunn:search-guard-ssl:<version> 

However, I can install Search Guard successfully on another network by running the command above.

For this reason, I tried installing Search Guard from a tar.gz or zip file using the following command, as described in the documentation .

  /usr/share/elasticsearch# bin/elasticsearch-plugin install file:///home/xxxx/xxxx/search-guard-5-5.2.0-10-sgadmin-standalone.zip 

This is an error with the error below.

  -> Downloading file:///home/xxx/xxxx/search-guard-5-5.2.0-10- sgadmin-standalone.zip [=================================================] 100% ERROR: `elasticsearch` directory is missing in the plugin zip 

I downloaded zip / tar.gz from this maven gaurd search repository.

Someone is also facing the same problem. If not, kindly help in resolving this.

+5
source share
1 answer

Download this file from maven to / home / xxxx: https://oss.sonatype.org/content/repositories/releases/com/floragunn/search-guard-5/5.2.0-11/search-guard-5-5.2 .0-11.zip

Install it:

 bin/elasticsearch-plugin install -b file:///home/xxxx/search-guard-5-5.2.0-11.zip 

Other releases are available here: https://oss.sonatype.org/content/repositories/releases/com/floragunn/

+5
source

Source: https://habr.com/ru/post/1264477/


All Articles