[v9.5.x] Docs: removes-yum (#70641)

Docs: removes-yum (#70634)

* removes-yum

* Update docs/sources/setup-grafana/installation/redhat-rhel-fedora/index.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* Update docs/sources/setup-grafana/installation/redhat-rhel-fedora/index.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* Update docs/sources/setup-grafana/installation/redhat-rhel-fedora/index.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* incorporates feedback

* adds GPG key step

* removes duplicate addrepo command

---------

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
(cherry picked from commit 262af2c473)

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2023-06-23 14:35:30 -05:00
committed by GitHub
co-authored by Christopher Moyer
parent cd663704c6
commit debeb6212e
3 changed files with 20 additions and 17 deletions
@@ -54,19 +54,21 @@ Complete the following steps to install Grafana from the APT repository:
1. Run the following command to update the list of available packages: 1. Run the following command to update the list of available packages:
```bash ```bash
# Update the list of available packages # Updates the list of available packages
sudo apt-get update sudo apt-get update
``` ```
1. Run one of the following commands to install the OSS or Enterprise release: 1. To install Grafana OSS, run the following command:
```bash ```bash
# To install the latest OSS release: # Installs the latest OSS release:
sudo apt-get install grafana sudo apt-get install grafana
``` ```
1. To install Grafana Enterprise, run the following command:
```bash ```bash
# To install the latest Enterprise release: # Installs the latest Enterprise release:
sudo apt-get install grafana-enterprise sudo apt-get install grafana-enterprise
``` ```
@@ -9,13 +9,13 @@ weight: 200
This topic explains how to install Grafana dependencies, install Grafana on RHEL or Fedora, and start the Grafana server on your system. This topic explains how to install Grafana dependencies, install Grafana on RHEL or Fedora, and start the Grafana server on your system.
You can install Grafana using a YUM repository, using RPM, or by downloading a binary `.tar.gz` file. You can install Grafana from the RPM repository, from standalone RPM, or with the binary `.tar.gz` file.
If you install via RPM or the `.tar.gz` file, then you must manually update Grafana for each new version. If you install via RPM or the `.tar.gz` file, then you must manually update Grafana for each new version.
## Install Grafana from the YUM repository ## Install Grafana from the RPM repository
If you install from the YUM repository, then Grafana is automatically updated every time you run `sudo yum update`. If you install from the RPM repository, then Grafana is automatically updated every time you update your applications.
| Grafana Version | Package | Repository | | Grafana Version | Package | Repository |
| ------------------ | ------------------ | ------------------------- | | ------------------ | ------------------ | ------------------------- |
@@ -24,7 +24,7 @@ If you install from the YUM repository, then Grafana is automatically updated ev
> **Note:** Grafana Enterprise is the recommended and default edition. It is available for free and includes all the features of the OSS edition. You can also upgrade to the [full Enterprise feature set](https://grafana.com/products/enterprise/?utm_source=grafana-install-page), which has support for [Enterprise plugins](https://grafana.com/grafana/plugins/?enterprise=1&utcm_source=grafana-install-page). > **Note:** Grafana Enterprise is the recommended and default edition. It is available for free and includes all the features of the OSS edition. You can also upgrade to the [full Enterprise feature set](https://grafana.com/products/enterprise/?utm_source=grafana-install-page), which has support for [Enterprise plugins](https://grafana.com/grafana/plugins/?enterprise=1&utcm_source=grafana-install-page).
To install Grafana using a YUM repository, complete the following steps: To install Grafana from the RPM repository, complete the following steps:
1. Import the GPG key: 1. Import the GPG key:
@@ -33,13 +33,7 @@ To install Grafana using a YUM repository, complete the following steps:
sudo rpm --import gpg.key sudo rpm --import gpg.key
``` ```
1. Add a file to your YUM repository using the method of your choice. 1. Create `/etc/yum.repos.d/grafana.repo` with the following content:
The following example uses `nano` to add a file to the YUM repo.
```bash
sudo nano /etc/yum.repos.d/grafana.repo
```
```bash ```bash
[grafana] [grafana]
@@ -62,13 +56,13 @@ To install Grafana using a YUM repository, complete the following steps:
1. To install Grafana OSS, run the following command: 1. To install Grafana OSS, run the following command:
```bash ```bash
sudo yum install grafana sudo dnf install grafana
``` ```
1. To install Grafana Enterprise, run the following command: 1. To install Grafana Enterprise, run the following command:
```bash ```bash
sudo yum install grafana-enterprise sudo dnf install grafana-enterprise
``` ```
## Install the Grafana RPM package manually ## Install the Grafana RPM package manually
@@ -26,6 +26,13 @@ If you install from the RPM repository, then Grafana is automatically updated ev
To install Grafana using the RPM repository, complete the following steps: To install Grafana using the RPM repository, complete the following steps:
1. Import the GPG key:
```bash
wget -q -O gpg.key https://rpm.grafana.com/gpg.key
sudo rpm --import gpg.key
```
1. Use zypper to add the grafana repo. 1. Use zypper to add the grafana repo.
```bash ```bash