targz-start.asciidoc 759 B

123456789101112131415161718192021
  1. ==== Running Elasticsearch from the command line
  2. Elasticsearch can be started from the command line as follows:
  3. [source,sh]
  4. --------------------------------------------
  5. ./bin/elasticsearch
  6. --------------------------------------------
  7. If you have password-protected the {es} keystore, you will be prompted
  8. to enter the keystore's password. See <<secure-settings>> for more
  9. details.
  10. By default, Elasticsearch runs in the foreground, prints its logs to the
  11. standard output (`stdout`), and can be stopped by pressing `Ctrl-C`.
  12. NOTE: All scripts packaged with Elasticsearch require a version of Bash
  13. that supports arrays and assume that Bash is available at `/bin/bash`.
  14. As such, Bash should be available at this path either directly or via a
  15. symbolic link.