@@ -64,20 +64,40 @@ sudo bin/elasticsearch-plugin install [url] <1>
64
64
-----------------------------------
65
65
<1> must be a valid URL, the plugin name is determined from its descriptor.
66
66
67
- For instance, to install a plugin from your local file system, you could run:
68
-
67
+ Unix::
68
+ +
69
+ To install a plugin from your local file system at `/path/to/plugin.zip`, you could run:
70
+ +
69
71
[source,shell]
70
72
-----------------------------------
71
73
sudo bin/elasticsearch-plugin install file:///path/to/plugin.zip
72
74
-----------------------------------
73
75
76
+ Windows::
77
+ +
78
+ To install a plugin from your local file system at `C:\path\to\plugin.zip`, you could run:
79
+ +
80
+ [source,shell]
81
+ -----------------------------------
82
+ bin\elasticsearch-plugin install file:///C:/path/to/plugin.zip
83
+ -----------------------------------
84
+ +
85
+ NOTE: Any path that contains spaces must be wrapped in quotes!
86
+
87
+ HTTP::
88
+ +
89
+ [source,shell]
90
+ -----------------------------------
91
+ sudo bin/elasticsearch-plugin install http://some.domain/path/to/plugin.zip
92
+ -----------------------------------
93
+ +
74
94
The plugin script will refuse to talk to an HTTPS URL with an untrusted
75
95
certificate. To use a self-signed HTTPS cert, you will need to add the CA cert
76
96
to a local Java truststore and pass the location to the script as follows:
77
-
97
+ +
78
98
[source,shell]
79
99
-----------------------------------
80
- sudo ES_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install https://....
100
+ sudo ES_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install https://host/plugin.zip
81
101
-----------------------------------
82
102
83
103
[[listing-removing]]
0 commit comments