mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Docs: Added sudo and removed $ where inconsistent. (#21314)
I standardized the readme for `sudo` and removed the `$`. Now you can copy paste the commands and just "install" via the rpm based distros. Signed-off-by: JJ Asghar <jjasghar@gmail.com> Signed-off-by: JJ Asghar <awesome@ibm.com>
This commit is contained in:
parent
42032f6c03
commit
1764c2417f
@ -25,7 +25,7 @@ links.
|
|||||||
You can install Grafana using Yum directly:
|
You can install Grafana using Yum directly:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo yum install <rpm package url>
|
sudo yum install <rpm package url>
|
||||||
```
|
```
|
||||||
|
|
||||||
You will find package URLs on the [download page](https://grafana.com/grafana/download?platform=linux).
|
You will find package URLs on the [download page](https://grafana.com/grafana/download?platform=linux).
|
||||||
@ -33,20 +33,20 @@ You will find package URLs on the [download page](https://grafana.com/grafana/do
|
|||||||
Or install manually using `rpm`. First execute
|
Or install manually using `rpm`. First execute
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ wget <rpm package url>
|
wget <rpm package url>
|
||||||
```
|
```
|
||||||
|
|
||||||
### On CentOS / Fedora / Redhat:
|
### On CentOS / Fedora / Redhat:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo yum install initscripts urw-fonts
|
sudo yum install initscripts urw-fonts
|
||||||
$ sudo rpm -Uvh <local rpm package>
|
sudo rpm -Uvh <local rpm package>
|
||||||
```
|
```
|
||||||
|
|
||||||
### On OpenSuse:
|
### On OpenSuse:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo rpm -i --nodeps <local rpm package>
|
sudo rpm -i --nodeps <local rpm package>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install via YUM Repository
|
## Install via YUM Repository
|
||||||
@ -82,7 +82,7 @@ sslcacert=/etc/pki/tls/certs/ca-bundle.crt
|
|||||||
Then install Grafana via the `yum` command.
|
Then install Grafana via the `yum` command.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo yum install grafana
|
sudo yum install grafana
|
||||||
```
|
```
|
||||||
|
|
||||||
### RPM GPG Key
|
### RPM GPG Key
|
||||||
@ -104,7 +104,7 @@ The RPMs are signed, you can verify the signature with this [public GPG key](htt
|
|||||||
You can start Grafana by running:
|
You can start Grafana by running:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo service grafana-server start
|
sudo service grafana-server start
|
||||||
```
|
```
|
||||||
|
|
||||||
This will start the `grafana-server` process as the `grafana` user,
|
This will start the `grafana-server` process as the `grafana` user,
|
||||||
@ -122,9 +122,9 @@ $ sudo /sbin/chkconfig --add grafana-server
|
|||||||
## Start the server (via systemd)
|
## Start the server (via systemd)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
$ systemctl start grafana-server
|
sudo systemctl start grafana-server
|
||||||
$ systemctl status grafana-server
|
sudo systemctl status grafana-server
|
||||||
```
|
```
|
||||||
|
|
||||||
### Enable the systemd service to start at boot
|
### Enable the systemd service to start at boot
|
||||||
@ -171,9 +171,9 @@ for example in alert notifications.
|
|||||||
If the image is missing text make sure you have font packages installed.
|
If the image is missing text make sure you have font packages installed.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yum install fontconfig
|
sudo yum install fontconfig
|
||||||
yum install freetype*
|
sudo yum install freetype*
|
||||||
yum install urw-fonts
|
sudo yum install urw-fonts
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installing from binary tar file
|
## Installing from binary tar file
|
||||||
|
Loading…
Reference in New Issue
Block a user