升级步鄹:
3.0->3.2
1.停服务
service zabbix-server stop
2.备份配置文件
#cp /etc/zabbix/zabbix_server.conf /data/xyx/
#cp /etc/nginx/sites-enabled/zabbix.conf /data/xyx/
#cp /etc/nginx/sites-enabled/webchart_detail.conf /data/xyx/
#cp -R /usr/share/zabbix /data/xyx/
#rm -Rf /etc/apt/sources.list.d/zabbix.list
3.下载安装包
#wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb
#dpkg -i zabbix-release_3.2-1+xenial_all.deb
4.更新软件包
#apt-get update
#apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php
5.启动服务,查看server日志,查看数据库升级情况
#service zabbix-server start
3.2->3.4
1.停服务
#service zabbix-server stop
2. 备份配置文件,删除源
#rm -Rf /etc/apt/sources.list.d/zabbix.list
3.下载安装包
#wget https://repo.zabbix.com/zabbix/3.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.4-1+xenial_all.deb
#dpkg -i zabbix-release_3.4-1+xenial_all.deb
4.更新源和软件包
#apt-get update
#apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php
5.启动服务,查看server日志,查看数据库升级情况
#service zabbix-server start
1.停服务
#service zabbix-server stop
2 备份配置文件,删除源
#rm -Rf /etc/apt/sources.list.d/zabbix.list
3.下载安装包
#wget https://repo.zabbix.com/zabbix/4.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.0-2+xenial_all.deb
#dpkg -i zabbix-release_4.0-2+bionic_all.deb
4.更新源和软件包
#apt-get update
#apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php
5.启动服务,查看server日志,查看数据库升级情况
#service zabbix-server start
原文:https://www.cnblogs.com/HengXu/p/10865053.html