set-paths-tip.asciidoc 779 B

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