—下载安装grafana
root@wuyang-virtual-machine:~# mkdir grafana
root@wuyang-virtual-machine:~# cd grafana/
root@wuyang-virtual-machine:~/grafana# wget wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.0.0_amd64.deb
root@wuyang-virtual-machine:~/grafana# dpkg -i grafana-enterprise_9.0.0_amd64.deb
root@wuyang-virtual-machine:~/grafana# systemctl start grafana-server.service
root@wuyang-virtual-machine:~/grafana# systemctl enable grafana-server.service
root@wuyang-virtual-machine:~/grafana# ss -tunl | grep 3000
tcp LISTEN 0 4096 *:3000 *:*
—web界面访问grafana 默认账号密码:admin/admin
— 添加数据源
—添加Dashboard模板