repositories.asciidoc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. === APT
  7. Download and install the Public Signing Key
  8. [source,sh]
  9. --------------------------------------------------
  10. wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -
  11. --------------------------------------------------
  12. Add the following to your /etc/apt/sources.list to enable the repository
  13. [source,sh]
  14. --------------------------------------------------
  15. deb http://packages.elasticsearch.org/elasticsearch/0.90/debian stable main
  16. --------------------------------------------------
  17. Run apt-get update and the repository is ready for use.
  18. === YUM
  19. Download and install the Public Signing Key
  20. [source,sh]
  21. --------------------------------------------------
  22. rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch
  23. --------------------------------------------------
  24. Add the following in your /etc/yum.repos.d/ directory
  25. [source,sh]
  26. --------------------------------------------------
  27. [elasticsearch-0.90]
  28. name=Elasticsearch repository for 0.90.x packages
  29. baseurl=http://packages.elasticsearch.org/elasticsearch/0.90/centos
  30. gpgcheck=1
  31. gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
  32. enabled=1
  33. --------------------------------------------------
  34. And your repository is ready for use.