elasticsearch/docs/reference/elasticsearch-plugins/plugin-management-custom-url.md
Colleen McGinnis b7e3a1e14b
[docs] Migrate docs from AsciiDoc to Markdown (#123507)
* delete asciidoc files

* add migrated files

* fix errors

* Disable docs tests

* Clarify release notes page titles

* Revert "Clarify release notes page titles"

This reverts commit 8be688648d.

* Comment out edternal URI images

* Clean up query languages landing pages, link to conceptual docs

* Add .md to url

* Fixes inference processor nesting.

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Liam Thompson <leemthompo@gmail.com>
Co-authored-by: Martijn Laarman <Mpdreamz@gmail.com>
Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
2025-02-27 17:56:14 +01:00

1.6 KiB

mapped_pages
https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugin-management-custom-url.html

Custom URL or file system [plugin-management-custom-url]

A plugin can also be downloaded directly from a custom location by specifying the URL:

sudo bin/elasticsearch-plugin install [url] <1>
  1. must be a valid URL, the plugin name is determined from its descriptor.
Unix
To install a plugin from your local file system at /path/to/plugin.zip, you could run:
sudo bin/elasticsearch-plugin install file:///path/to/plugin.zip
Windows
To install a plugin from your local file system at C:\path\to\plugin.zip, you could run:
bin\elasticsearch-plugin install file:///C:/path/to/plugin.zip

::::{note} Any path that contains spaces must be wrapped in quotes! ::::

::::{note} If you are installing a plugin from the filesystem the plugin distribution must not be contained in the plugins directory for the node that you are installing the plugin to or installation will fail. ::::

HTTP
To install a plugin from an HTTP URL:
sudo bin/elasticsearch-plugin install https://some.domain/path/to/plugin.zip

The plugin script will refuse to talk to an HTTPS URL with an untrusted certificate. To use a self-signed HTTPS cert, you will need to add the CA cert to a local Java truststore and pass the location to the script as follows:

sudo CLI_JAVA_OPTS="-Djavax.net.ssl.trustStore=/path/to/trustStore.jks" bin/elasticsearch-plugin install https://host/plugin.zip