介绍
在Linux系统下安装Grafana
下载文件
wget https://dl.grafana.com/enterprise/release/grafana-enterprise-9.4.3-1.x86_64.rpm
sudo yum install grafana-enterprise-9.4.3-1.x86_64.rpm
启动服务
systemctl enable grafana-server
systemctl start grafana-server
systemctl status grafana-server
查看启动状态
Grafana默认端口为3000,我们监听下3000端口是否正常启动
netstat -ntulp | grep 3000
lsof -i:3000
开放防火墙3000端口
systemctl status firewalld
firewall-cmd --list-ports
firewall-cmd --zone=public --add-port=3000/tcp --permanent
firewall-cmd --reload
firewall-cmd --list-ports
访问
IP:3306
# 用户名/密码
admin/admin