mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: adjustments to Ubuntu install based on user feedback (#74406)
* adjustments based on user feedback * makes prettier * Apply suggestions from code review * Update docs/sources/setup-grafana/installation/debian/index.md * Update docs/sources/setup-grafana/installation/debian/index.md
This commit is contained in:
parent
6ce4af7840
commit
e027f1ef10
@ -39,24 +39,29 @@ Grafana Enterprise is the recommended and default edition. It is available for f
|
||||
|
||||
Complete the following steps to install Grafana from the APT repository:
|
||||
|
||||
1. To install required packages and download the Grafana repository signing key, run the following commands:
|
||||
1. Install the prerequisite packages:
|
||||
|
||||
```bash
|
||||
sudo apt-get install -y apt-transport-https
|
||||
sudo apt-get install -y software-properties-common wget
|
||||
sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
|
||||
sudo apt-get install -y apt-transport-https software-properties-common wget
|
||||
```
|
||||
|
||||
1. Import the GPG key:
|
||||
|
||||
```bash
|
||||
sudo mkdir -p /etc/apt/keyrings/
|
||||
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null
|
||||
```
|
||||
|
||||
1. To add a repository for stable releases, run the following command:
|
||||
|
||||
```bash
|
||||
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
|
||||
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
|
||||
```
|
||||
|
||||
1. To add a repository for beta releases, run the following command:
|
||||
|
||||
```bash
|
||||
echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
|
||||
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
|
||||
```
|
||||
|
||||
1. Run the following command to update the list of available packages:
|
||||
|
Loading…
Reference in New Issue
Block a user