安装Grafana

这个比较简单,官方文档很详细。从官方下载的RPM包还是需要依赖。

  1. yum localinstall grafana-8.0.3-1.x86_64.rpm
  2. systemctl daemon-reload
  3. systemctl start grafana-server
  4. systemctl status grafana-server
  5. systemctl enable grafana-server
  6. firewall-cmd --zone=public --add-port=3000/tcp --permanent --set-description="grafana"
  7. firewall-cmd --reload