Docs: fix ordering of apt setup (#21192)

This commit is contained in:
Leonard Gram 2019-12-19 15:48:16 +01:00 committed by GitHub
parent 88aab3e6c1
commit f33a917af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,12 @@ Install any missing dependencies:
sudo apt-get install -y software-properties-common wget
```
Add our GPG key to install signed packages:
```bash
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
```
Add this repository for stable releases:
```bash
@ -49,12 +55,6 @@ Add this repository if you want beta releases:
sudo add-apt-repository "deb https://packages.grafana.com/oss/deb beta main"
```
Add our GPG key to install signed packages:
```bash
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
```
Update your APT repositories and install Grafana:
```bash