2022 Zabbix中国峰会
2022 Zabbix中国峰会

从二进制包升级

概述

本章节提供使用 Zabbix 的 RPM 和 DEB 二进制包成功升级至 Zabbix 4.0 所需的步骤:

This section provides the steps required for a successful upgrade using official RPM and DEB packages provided by Zabbix for:

Zabbix packages from OS repositories

Often, OS distributions (in particular, Debian-based distributions) provide their own Zabbix packages.
Note, that these packages are not supported by Zabbix, they are typically out of date and lack the latest features and bug fixes. Only the packages from repo.zabbix.com are officially supported.

If you are upgrading from packages provided by OS distributions (or had them installed at some point), follow this procedure to switch to official Zabbix packages:

  1. Always uninstall the old packages first.
  2. Check for residual files that may have been left after deinstallation.
  3. Install official packages following installation instructions provided by Zabbix.

Never do a direct update, as this may result in a broken installation.