set-paths-tip.asciidoc 769 B

1234567891011121314151617
  1. [TIP]
  2. ================================================
  3. When you extract the zip or tarball packages, the `elasticsearch-n.n.n`
  4. directory contains the {es} `config`, `data`, and `logs` directories.
  5. We recommend moving these directories out of the {es} directory
  6. so that there is no chance of deleting them when you upgrade {es}.
  7. To specify the new locations, use the `ES_PATH_CONF` environment
  8. variable and the `path.data` and `path.logs` settings. For more information,
  9. see <<important-settings,Important {es} configuration>>.
  10. The <<deb,Debian>> and <<rpm,RPM>> packages place these directories in the
  11. appropriate place for each operating system. In production, we recommend
  12. installing using the deb or rpm package.
  13. ================================================