安装
- 下载rpm包:
官网地址:Download Grafana | Grafana Labs - yum安装
直接运行上面红框中内容或分步运行[root@localhost ~]# wget https://dl.grafana.com/oss/release/grafana-7.0.3-1.x86_64.rpm [root@localhost ~]# yum -y install grafana-7.0.3-1.x86_64.rpm
若出现如下报错,更换为http请求即可
启动
命令行启动
[root@localhost ~]# service grafana-server start
或
[root@localhost ~]# systemctl start grafana-server
或
[root@localhost ~]# /etc/init.d/grafana-server start
启动后访问http://ip:3000 即可进入grafana页面