mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 05:32:32 +08:00
Docs: fix ordering of apt setup (#21192)
This commit is contained in:
@ -37,6 +37,12 @@ Install any missing dependencies:
|
|||||||
sudo apt-get install -y software-properties-common wget
|
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:
|
Add this repository for stable releases:
|
||||||
|
|
||||||
```bash
|
```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"
|
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:
|
Update your APT repositories and install Grafana:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Reference in New Issue
Block a user