add Proxy setting for using plugin command

Closes #7150
This commit is contained in:
Jun Ohtani 2014-08-05 00:04:19 +09:00 committed by Clinton Gormley
parent c788a5e67b
commit 5be8aecd10
1 changed files with 20 additions and 0 deletions

View File

@ -142,6 +142,26 @@ bin/plugin --install mobz/elasticsearch-head --timeout 1m
bin/plugin --install mobz/elasticsearch-head --timeout 0 bin/plugin --install mobz/elasticsearch-head --timeout 0
----------------------------------- -----------------------------------
[float]
==== Proxy settings
To install a plugin via a proxy, you can pass the proxy details using the environment variables `proxyHost` and `proxyPort`.
On Linux and Mac, here is an example of setting it:
[source,shell]
-----------------------------------
bin/plugin -DproxyHost=host_name -DproxyPort=port_number --install mobz/elasticsearch-head
-----------------------------------
On Windows, here is an example of setting it:
[source,shell]
-----------------------------------
set JAVA_OPTS="-DproxyHost=host_name -DproxyPort=port_number"
bin/plugin --install mobz/elasticsearch-head
-----------------------------------
[float] [float]
==== Lucene version dependent plugins ==== Lucene version dependent plugins