由于我的Elasticsearch服务器位于代理之后,因此我无法直接使用bin下的命令安装插件。手动安装Elasticsearch插件
所以,我想解压缩其中的一些在插件目录,没有运气。
具体我想这https://github.com/jprante/elasticsearch-knapsack,我无法得到它的工作。
任何帮助?
由于我的Elasticsearch服务器位于代理之后,因此我无法直接使用bin下的命令安装插件。手动安装Elasticsearch插件
所以,我想解压缩其中的一些在插件目录,没有运气。
具体我想这https://github.com/jprante/elasticsearch-knapsack,我无法得到它的工作。
任何帮助?
通常解压插件文件到插件目录中,只要将正常运行的文件访问权限没有搞砸。要验证插件正确安装检查elasticsearch home目录包含目录名为plugins/knapsack
,而该目录包含两个文件:commons-compress-1.4.1.jar
和elasticsearch-knapsack-2.1.2.jar
您也可以下载插件压缩文件到一个临时位置,然后安装它通过指定路径它使用--url
参数:
bin/plugin --install knapsack --url file:///Full/Path/To/elasticsearch-knapsack-2.1.2.zip
更多信息请参见Plugins documentation。
我已经使用以下步骤来安装防火墙后的插件:
bin/plugin -DproxyHost=myproxy.proxy.com -DproxyPort=80 --install lmenezes/elasticsearch-kopf
,但似乎不适用于需要身份验证的代理,尽管如此: -/ –
为我工作,但我身后的代理不需要身份验证。谢谢! –
很多时候,一个代理网络中使用Linux的时候,我必须安装cNTLM或一些其它的软件代理。无论如何,我的工作是用插件(ZIP,TAR.GF,无论)下载文件,然后将其解压缩到插件目录中。检查文件权限,你很好去。
我安装使用我的Mac自制elasticsearch,是收到此错误:无法找到插件压缩插件描述符“plugin-descriptor.properties”。 bin目录是/usr/local/Cellar/elasticsearch/2.0.0_1/bin 我做了sudo插件安装许可证,然后sudo插件安装marvel-agent并解决了这个问题。 https://www.elastic.co/guide/en/marvel/current/installing-marvel.html
具体是什么出了问题?只是编译和下降的jar +所有DEPS下/插件/背包 – synhershko
是的,它是在elasticsearch了一个错误:https://github.com/elastic/puppet-elasticsearch/issues/152 –
有没有错误,看看答案。 – gotch4