#安装go语言环境
yum -y install go
下载安装包,解压,并拉取汉化
wget https://dl.grafana.com/oss/release/grafana-7.1.5-1.x86_64.rpm
sudo yum install grafana-7.1.5-1.x86_64.rpm
git clone https://github.com/tghfly/grafana-chinese.git
cd grafana-chinese
ll
/bin/cp -rp bin/linux-amd64/grafana-server /usr/sbin/
/bin/cp -rp bin/linux-amd64/grafana-cli /usr/sbin/
/bin/cp -rp public /usr/share/grafana/
启动grafana-server并设置开机自动启动grafana-server
systemctl start grafana-server
systemctl enable grafana-server
效果如下图