2018-07-03 16:40:37 -04:00
|
|
|
[[starting-elasticsearch]]
|
|
|
|
== Starting Elasticsearch
|
|
|
|
|
|
|
|
The method for starting {es} varies depending on how you installed it.
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
[[start-targz]]
|
|
|
|
=== Archive packages (`.tar.gz`)
|
|
|
|
|
|
|
|
If you installed {es} with a `.tar.gz` package, you can start {es} from the
|
|
|
|
command line.
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2019-03-29 09:04:46 -04:00
|
|
|
include::install/targz-start.asciidoc[]
|
2018-07-03 16:40:37 -04:00
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2019-03-29 09:04:46 -04:00
|
|
|
include::install/targz-daemon.asciidoc[]
|
2018-07-03 16:40:37 -04:00
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
[[start-zip]]
|
|
|
|
=== Archive packages (`.zip`)
|
|
|
|
|
|
|
|
If you installed {es} on Windows with a `.zip` package, you can start {es} from
|
|
|
|
the command line. If you want {es} to start automatically at boot time without
|
|
|
|
any user interaction, <<windows-service,install {es} as a service>>.
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
include::install/zip-windows-start.asciidoc[]
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
[[start-deb]]
|
|
|
|
=== Debian packages
|
|
|
|
|
|
|
|
include::install/init-systemd.asciidoc[]
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2019-04-30 10:19:09 -04:00
|
|
|
[[start-es-deb-init]]
|
2018-07-03 16:40:37 -04:00
|
|
|
include::install/deb-init.asciidoc[]
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2019-04-30 10:19:09 -04:00
|
|
|
[[start-es-deb-systemd]]
|
2018-07-03 16:40:37 -04:00
|
|
|
include::install/systemd.asciidoc[]
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
[[start-docker]]
|
|
|
|
=== Docker images
|
|
|
|
|
|
|
|
If you installed a Docker image, you can start {es} from the command line. There
|
|
|
|
are different methods depending on whether you're using development mode or
|
|
|
|
production mode. See <<docker-cli-run>>.
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
[[start-msi]]
|
|
|
|
=== MSI packages
|
|
|
|
|
|
|
|
If you installed {es} on Windows using the `.msi` package, you can start {es}
|
|
|
|
from the command line. If you want it to start automatically at boot time
|
|
|
|
without any user interaction,
|
|
|
|
<<msi-installer-windows-service,install {es} as a Windows service>>.
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
include::install/msi-windows-start.asciidoc[]
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2018-07-03 16:40:37 -04:00
|
|
|
[[start-rpm]]
|
|
|
|
=== RPM packages
|
|
|
|
|
|
|
|
include::install/init-systemd.asciidoc[]
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2019-04-30 10:19:09 -04:00
|
|
|
[[start-es-rpm-init]]
|
2018-07-03 16:40:37 -04:00
|
|
|
include::install/rpm-init.asciidoc[]
|
|
|
|
|
2020-07-23 12:42:33 -04:00
|
|
|
[discrete]
|
2019-04-30 10:19:09 -04:00
|
|
|
[[start-es-rpm-systemd]]
|
2019-03-29 09:04:46 -04:00
|
|
|
include::install/systemd.asciidoc[]
|