新增Grafana Repository
vi /etc/yum.repos.d/grafana.repo
[grafana]
name = grafana
baseurl = https://packages.grafana.com/oss/rpm
repo_gpgcheck = 1
enabled = 1
gpgcheck = 1
gpgkey = http://packages.grafana.com/gpg.key
sslverify = 1
sslcacert = /etc/pki/tls/certs/ca-bundle.crt
安裝Grafana
yum install grafana
啟動grafana服務
systemctl daemon-reload
systemctl start grafana-server
查詢grafana服務狀態
systemctl status grafana-server
設定開機時自動啟動grafana服務
systemctl enable grafana-server.service
接著就能開啟瀏覽器輸入http://<IP_Address>:3000登入,預設的帳號密碼都是admin