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

* Suggest add-apt-repository to install APT repos
* typo
This commit is contained in:
Pedro Gomes 2019-04-02 12:02:58 +07:00 committed by Torkel Ödegaard
parent fec7c3e133
commit 6e54a7ae05

View File

@ -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/).
Then follow the instructions [here](/guides/getting_started/).