我正在尝试安装elastisearch elasticsearch-readonlyrest-plugin。现在,在其安装页面Install,-Uninstall,-Build上提到了使用命令sudo bin/plugin install https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/download/elasticsearch-readonlyrest-v1.5_es-v2.1.1.zip
。
我尝试使用上面的命令但是出错了
-> Installing from https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/download/elasticse
arch-readonlyrest-v1.5_es-v2.1.1.zip...
Trying https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/download/elasticsearch-readonl
yrest-v1.5_es-v2.1.1.zip ...
Failed: FileNotFoundException[https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/raw/master/downloa
d/elasticsearch-readonlyrest-v1.5_es-v2.1.1.zip]; nested: FileNotFoundException[https://github.com/sscarduzio/el
asticsearch-readonlyrest-plugin/raw/master/download/elasticsearch-readonlyrest-v1.5_es-v2.1.1.zip];
我还尝试从此网址download下载该插件,并且还收到了一封来自他们的电子邮件,其中提到了以下步骤。
Download the zip file cd to the Elasticsearch home
bin/elasticsearch-plugin install file:///download-folder/readonlyrest-1.13.1_es2.4.4.zip
Edit elasticsearch.yml and add your configuration snippets
所以我下载了我的readonlyrest插件,但是当我尝试使用命令bin/elasticsearch-plugin install file:///download-folder/readonlyrest-1.13.1_es2.4.4.zip
时,我得到了以下错误
-bash: bin/elasticsearch-plugin: No such file or directory
任何人都可以告诉我在弹性搜索集群中正确安装elasticsearch readonlyrest插件的正确方法是什么,我正在尝试过去三天,并且找不到任何有用的东西。
更新
我使用了以下命令,但仍然出现错误
sum1er99@elasticsearch-2-1-vm:/usr/share/elasticsearch$ sudo bin/plugin install https://github.com/sscarduzio/el
asticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.zip
-> Installing from https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.zip..
.
Trying https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.zip ...
Downloading ....................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
................................................................................................................
..........................................................DONE
Verifying https://github.com/sscarduzio/elasticsearch-readonlyrest-plugin/archive/v1.13.1_es2.4.4.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
sum1er99@elasticsearch-2-1-vm:/usr/share/elasticsearch$
答案 0 :(得分:1)
ReadonlyREST的下载政策已更改,您无法再通过网址安装(除非您自己在某处托管zip文件)。
我将在此重复我在GitHub问题#153中所说的内容:
我出于各种原因选择了official website as a single point of download: