From 6e54a7ae05168ce2ccf09bd048b340c382ac2237 Mon Sep 17 00:00:00 2001 From: Pedro Gomes Date: Tue, 2 Apr 2019 12:02:58 +0700 Subject: [PATCH] Docs: Suggest add-apt-repository to install APT repos (#16333) * Suggest add-apt-repository to install APT repos * typo --- docs/sources/installation/debian.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/sources/installation/debian.md b/docs/sources/installation/debian.md index d26af5277a1..dc522ce6111 100644 --- a/docs/sources/installation/debian.md +++ b/docs/sources/installation/debian.md @@ -41,16 +41,16 @@ sudo dpkg -i grafana_5.4.2_amd64.deb ## APT Repository -Create a file `/etc/apt/sources.list.d/grafana.list` and add the following to it. +Install the repository for stable releases ```bash -deb https://packages.grafana.com/oss/deb stable main +sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main" ``` There is a separate repository if you want beta releases. ```bash -deb https://packages.grafana.com/oss/deb beta main +sudo add-apt-repository "deb https://packages.grafana.com/oss/deb beta main" ``` Use the above line even if you are on Ubuntu or another Debian version. Then add our gpg key. This allows you to install signed packages. @@ -169,4 +169,4 @@ binary and the `public` folder is located). ## Logging in for the first time To run Grafana open your browser and go to http://localhost:3000/. 3000 is the default http port that Grafana listens to if you haven't [configured a different port](/installation/configuration/#http-port). -Then follow the instructions [here](/guides/getting_started/). \ No newline at end of file +Then follow the instructions [here](/guides/getting_started/).