/ / Windows用elasticsearchプラグインのオフラインインストール - windows、elasticsearch、proxy、elasticsearch-plugin

Windows用elasticsearchプラグインのオフラインインストール - windows、elasticsearch、proxy、elasticsearch-plugin

私はelasticsearch用のライセンスプラグインをインストールしようとしていますが、 私のプロキシは接続を拒否します。コマンドを実行すると plugin install license 私はエラーが表示されます:

C:elasticsearch-2.2.0bin>plugin install license
-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi
n/license/2.2.0/license-2.2.0.zip ...
Failed: ConnectException[Connection refused: connect]
ERROR: failed to download out of all possible locations..., use --verbose to get
detailed information

回答:

回答№1は0

エラーメッセージのパスからファイルをダウンロードします(https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.2.0/license-2.2.0.zip)を入れて „C:“ cmdで次のコマンドを実行します

C:elasticsearch-2.2.0bin> plugin install file:"C:license-2.2.0.zip"

代替: プロキシを指定するには

C:elasticsearch-2.2.0bin>plugin -DproxyPort=number -DproxyHost=hostname_or_ip install <plugin>