部署grafana
1.获取grafana安装包并安装
[root@localhost /]# wget https://dl.grafana.com/oss/release/grafana-6.0.2-1.x86_64.rpm
[root@localhost /]# yum localinstall grafana-6.0.2-1.x86_64.rpm
2.重新加载grafana配置文件,启动grafana,开机自启动grafana
[root@localhost /]# wget https://dl.grafana.com/oss/release/grafana-6.0.2-1.x86_64.rpm
[root@localhost /]# yum localinstall grafana-6.0.2-1.x86_64.rpm
[root@localhost /]# systemctl daemon-reload && systemctl start grafana-server && systemctl enable grafana-server
3.查看grafana状态
[root@localhost /]# systemctl status grafana-server
4.访问grafana
这里通过访问http://{IP}:3000,默认账户密码admin,admin进行登录: