Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Manual install of Elasticsearch plugins

Because my Elasticsearch server is behind a proxy, I can't directly install plugins using the command under bin.

So I tried uncompressing some of them in the plugins directory, with no luck.

Specifically I tried this https://github.com/jprante/elasticsearch-knapsack and I can't get it to work.

Any help?

like image 691
gotch4 Avatar asked Oct 25 '13 10:10

gotch4


2 Answers

Typically uncompressing the plugin file into plugins directory should work as long as file access rights are not messed up. To verify that plugin is installed correctly check that elasticsearch home directory contains directory called plugins/knapsack and that this directory contains two files: commons-compress-1.4.1.jar and elasticsearch-knapsack-2.1.2.jar

You can also download plugin zip file to a temporary location and then install it by specifying path to it using --url parameter:

bin/plugin --install knapsack --url file:///Full/Path/To/elasticsearch-knapsack-2.1.2.zip

See Plugins documentation for more information.

like image 133
imotov Avatar answered Oct 03 '22 17:10

imotov


I have used the following to install the plugin behind the firewall:

bin/plugin -DproxyHost=myproxy.proxy.com -DproxyPort=80 --install lmenezes/elasticsearch-kopf
like image 9
user3125326 Avatar answered Oct 03 '22 19:10

user3125326