search
LoginSignup
12
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

プロキシ環境でElasticsearch 5.0のプラグインをインストールする

https://www.elastic.co/guide/en/elasticsearch/plugins/5.0/_other_command_line_parameters.html
ここに書いてありますがメモ。

Elasticsearch 2.x系までと異なり、環境変数ES_JAVA_OPTSにJAVA_OPTSの値(http.proxyHostとhttp.proxyPort)を設定します。

Linux

sudo ES_JAVA_OPTS="-Dhttp.proxyHost=host_name -Dhttp.proxyPort=port_number -Dhttps.proxyHost=host_name -Dhttps.proxyPort=https_port_number" bin/elasticsearch-plugin install analysis-icu

Windows

set ES_JAVA_OPTS="-DproxyHost=host_name -DproxyPort=port_number -Dhttps.proxyHost=host_name -Dhttps.proxyPort=https_port_number"
bin/elasticsearch-plugin install analysis-icu

参考

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
12
Help us understand the problem. What are the problem?