install.asciidoc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. [[install-elasticsearch]]
  2. == Installing Elasticsearch
  3. [discrete]
  4. [[hosted-elasticsearch-service]]
  5. === Hosted Elasticsearch Service
  6. {ecloud} offers all of the features of {es}, {kib}, and Elastic’s {observability}, {ents}, and {elastic-sec} solutions as a hosted service
  7. available on AWS, GCP, and Azure.
  8. To set up Elasticsearch in {ecloud}, sign up for a {ess-trial}[free {ecloud} trial].
  9. [discrete]
  10. [[elasticsearch-deployment-options]]
  11. === Self-managed {es} options
  12. If you want to install and manage {es} yourself, you can:
  13. * Run {es} on any Linux, MacOS, or Windows machine.
  14. * Run {es} in a <<docker, Docker container>>.
  15. * Set up and manage {es}, {kib}, {agent}, and the rest of the Elastic Stack on Kubernetes with {eck-ref}[{eck}].
  16. TIP: To try out Elasticsearch on your own machine, we recommend using Docker and running both Elasticsearch and Kibana. For more information, see <<run-elasticsearch-locally,Run Elasticsearch locally>>.
  17. [discrete]
  18. [[elasticsearch-install-packages]]
  19. === Elasticsearch install packages
  20. Elasticsearch is provided in the following package formats:
  21. [horizontal]
  22. Linux and MacOS `tar.gz` archives::
  23. The `tar.gz` archives are available for installation on any Linux distribution and MacOS.
  24. +
  25. <<targz>>
  26. Windows `.zip` archive::
  27. The `zip` archive is suitable for installation on Windows.
  28. +
  29. <<zip-windows>>
  30. `deb`::
  31. The `deb` package is suitable for Debian, Ubuntu, and other Debian-based
  32. systems. Debian packages may be downloaded from the Elasticsearch website or
  33. from our Debian repository.
  34. +
  35. <<deb>>
  36. `rpm`::
  37. The `rpm` package is suitable for installation on Red Hat, Centos, SLES,
  38. OpenSuSE and other RPM-based systems. RPMs may be downloaded from the
  39. Elasticsearch website or from our RPM repository.
  40. +
  41. <<rpm>>
  42. `docker`::
  43. Images are available for running Elasticsearch as Docker containers. They may be
  44. downloaded from the Elastic Docker Registry.
  45. +
  46. {ref}/docker.html[Install {es} with Docker]
  47. [discrete]
  48. [[jvm-version]]
  49. === Java (JVM) Version
  50. {es} is built using Java, and includes a bundled version of
  51. https://openjdk.java.net[OpenJDK] from the JDK maintainers (GPLv2+CE) within
  52. each distribution. The bundled JVM is the recommended JVM.
  53. To use your own version of Java, set the `ES_JAVA_HOME` environment variable.
  54. If you must use a version of Java that is different from the bundled JVM, it is
  55. best to use the latest release of a link:/support/matrix[supported]
  56. https://www.oracle.com/technetwork/java/eol-135779.html[LTS version of Java].
  57. {es} is closely coupled to certain OpenJDK-specific features, so it may not
  58. work correctly with other JVMs. {es} will refuse to start if a known-bad
  59. version of Java is used.
  60. If you use a JVM other than the bundled one, you are responsible for reacting
  61. to announcements related to its security issues and bug fixes, and must
  62. yourself determine whether each update is necessary or not. In contrast, the
  63. bundled JVM is treated as an integral part of {es}, which means that Elastic
  64. takes responsibility for keeping it up to date. Security issues and bugs within
  65. the bundled JVM are treated as if they were within {es} itself.
  66. The bundled JVM is located within the `jdk` subdirectory of the {es} home
  67. directory. You may remove this directory if using your own JVM.
  68. include::install/targz.asciidoc[]
  69. include::install/zip-windows.asciidoc[]
  70. include::install/deb.asciidoc[]
  71. include::install/rpm.asciidoc[]
  72. include::install/docker.asciidoc[]