bootstrap.rhel.sh 706 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/bash
  2. set -eu
  3. dnf update -y
  4. dnf install -y systemd epel-release
  5. rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
  6. echo "[elasticsearch-7.x]
  7. name=Elasticsearch repository for 7.x packages
  8. baseurl=https://artifacts.elastic.co/packages/7.x/yum
  9. gpgcheck=1
  10. gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
  11. enabled=1
  12. autorefresh=1
  13. type=rpm-md"| tee /etc/yum.repos.d/elasticsearch-7.x.repo
  14. dnf install -y elasticsearch
  15. rpm --import https://dl.packager.io/srv/zammad/zammad/key
  16. curl -o /etc/yum.repos.d/zammad.repo \
  17. https://dl.packager.io/srv/zammad/zammad/${CI_COMMIT_REF_NAME}/installer/el/${DISTRIBUTION_VERSION}.repo
  18. dnf update -y
  19. dnf install -y --downloadonly zammad