install_remove.asciidoc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [discrete]
  2. [id="{plugin_name}-install"]
  3. ==== Installation
  4. ifeval::["{release-state}"=="unreleased"]
  5. Version {version} of the Elastic Stack has not yet been released.
  6. endif::[]
  7. ifeval::["{release-state}"!="unreleased"]
  8. This plugin can be installed using the plugin manager:
  9. ["source","sh",subs="attributes,callouts"]
  10. ----------------------------------------------------------------
  11. sudo bin/elasticsearch-plugin install {plugin_name}
  12. ----------------------------------------------------------------
  13. The plugin must be installed on every node in the cluster, and each node must
  14. be restarted after installation.
  15. You can download this plugin for <<plugin-management-custom-url,offline
  16. install>> from {plugin_url}/{plugin_name}/{plugin_name}-{version}.zip. To verify
  17. the `.zip` file, use the
  18. {plugin_url}/{plugin_name}/{plugin_name}-{version}.zip.sha512[SHA hash] or
  19. {plugin_url}/{plugin_name}/{plugin_name}-{version}.zip.asc[ASC key].
  20. endif::[]
  21. [discrete]
  22. [id="{plugin_name}-remove"]
  23. ==== Removal
  24. The plugin can be removed with the following command:
  25. ["source","sh",subs="attributes,callouts"]
  26. ----------------------------------------------------------------
  27. sudo bin/elasticsearch-plugin remove {plugin_name}
  28. ----------------------------------------------------------------
  29. The node must be stopped before removing the plugin.