Преглед изворни кода

Docs: Suggest add-apt-repository to install APT repos (#16333)

* Suggest add-apt-repository to install APT repos
* typo
Pedro Gomes пре 6 година
родитељ
комит
6e54a7ae05
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      docs/sources/installation/debian.md

+ 4 - 4
docs/sources/installation/debian.md

@@ -41,16 +41,16 @@ sudo dpkg -i grafana_5.4.2_amd64.deb
 
 
 ## APT Repository
 ## 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
 ```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.
 There is a separate repository if you want beta releases.
 
 
 ```bash
 ```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.
 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
 ## 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).
 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/).
+Then follow the instructions [here](/guides/getting_started/).