repositories.asciidoc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [[setup-repositories]]
  2. == Repositories
  3. We also have repositories available for APT and YUM based distributions.
  4. We have split the major versions in separate urls to avoid accidental upgrades across major version.
  5. For all 0.90.x releases use 0.90 as version number, for 1.0.x use 1.0, etc.
  6. [float]
  7. === APT
  8. Download and install the Public Signing Key
  9. [source,sh]
  10. --------------------------------------------------
  11. wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
  12. --------------------------------------------------
  13. Add the following to your /etc/apt/sources.list to enable the repository
  14. [source,sh]
  15. --------------------------------------------------
  16. deb http://packages.elasticsearch.org/elasticsearch/0.90/debian stable main
  17. --------------------------------------------------
  18. Run apt-get update and the repository is ready for use.
  19. [float]
  20. === YUM
  21. Download and install the Public Signing Key
  22. [source,sh]
  23. --------------------------------------------------
  24. rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch
  25. --------------------------------------------------
  26. Add the following in your /etc/yum.repos.d/ directory
  27. [source,sh]
  28. --------------------------------------------------
  29. [elasticsearch-0.90]
  30. name=Elasticsearch repository for 0.90.x packages
  31. baseurl=http://packages.elasticsearch.org/elasticsearch/0.90/centos
  32. gpgcheck=1
  33. gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
  34. enabled=1
  35. --------------------------------------------------
  36. And your repository is ready for use.