grafana版本升级

将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

 

posted on 2024-01-25 17:08  momingliu11  阅读(350)  评论(0编辑  收藏  举报