1、安装grafana
官网地址:Download Grafana | Grafana Labs
centos为例:
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-8.3.6-1.x86_64.rpm
sudo yum install grafana-enterprise-8.3.6-1.x86_64.rpm
grafana默认登录密码是admin:admin
grafana监控web界面默认监听3000端口,访问http://ip:3000可查看监控
2、promethus安装
下载对应操作系统的安装包(centos为例)
wget