将grafana从8.0升级到8.0.7
#下载新版本
wget https://mirrors.tuna.tsinghua.edu.cn/grafana/yum/rpm/Packages/grafana-8.0.7-1.x86_64.rpm --no-check-certificate
#停止grafana服务,并进行备份
systemctl stop grafana-server
cp -rp /var/lib/grafana /var/lib/grafana_20240125
cp -rp /usr/share/grafana /usr/share/grafana_20240125
cp -rp /etc/grafana /etc/grafana_20240125
#安装新版本
yum -y install grafana-8.0.7-1.x86_64.rpm
systemctl status grafana-server
systemctl restart grafana-server
标签:8.0,rp,grafana,版本升级,systemctl,cp,rpm From: https://blog.51cto.com/u_11508007/9454151