直接yum安装
[root@zabbixsrv ~]# yum install https://grafanarel.s3.amazonaws.com/builds/grafana-3.1.0-1468321182.x86_64.rpm
[root@zabbixsrv ~]# yum install initscripts fontconfig
本地配置yum安装
1.修改yum源配置文件
[root@zabbixsrv ~]# cat /etc/yum.repos.d/grafana.repo
[grafana]
name=grafana
baseurl=https://packagecloud.io/grafana/stable/el/6/$basearch
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
2.yum安装
yum install –y grafana
[Read More]