Installing Zabbix from official packages on RHEL, Debian or SUSE

A planning guide to a package-based Zabbix server install: which distribution, database and web server to pick, why the official repository matters and how to avoid EPEL conflicts on EL9.

On this page

Installing Zabbix from official packages: what the choice involves

A package-based Zabbix installation from official packages is the path where your team fixes the distribution, the database engine and the web server before anything else is configured. Those three choices shape everything that follows, from which repository you add to which database versions the server will accept, so they deserve a decision record before the first package is installed. The official packages install the Zabbix server, the web frontend, the agent and the database schema scripts on RHEL, Debian or SUSE hosts you control. Zabbix 7.0 and later are released under the GNU Affero General Public License version 3, and the open source software carries no license fee, no device limits and no feature gates. The license cost is therefore zero, and what you pay for is your own staff time, infrastructure and any paid support tier you choose.

A package install fits best when the server must run directly on Linux hosts that your platform team already patches, backs up and monitors, and when you want the Zabbix components managed by the same tooling as the rest of the estate. Containers or Kubernetes make more sense when your organization already runs those platforms well and wants image-based upgrades. Before you commit, confirm the database versions you need against the Zabbix requirements page, confirm which Zabbix release line you will run against its life cycle policy, and confirm with your security team how the server, database and web server will be patched. Because you choose the stack up front, plan the database and web server configuration as part of the same design, not as an afterthought.

Choosing RHEL, Debian or SUSE for the Zabbix server

Enterprises that already run Red Hat Enterprise Linux or a compatible rebuild usually choose this family because patching, security baselines and support contracts are already in place. Zabbix publishes packages for these systems through its own repository, and the install steps differ from the distribution's default package set. Confirm the supported EL major releases for your target Zabbix version before you pick a base image, because support windows differ between releases.

  • Repository source: Install the Zabbix release package for your EL version and use the Zabbix repository for the server, frontend and agent packages.
  • EPEL conflicts: If EPEL is enabled on EL9, exclude its Zabbix packages before installing the official ones. Confirm this step in the install from packages documentation.
  • Third-party tools: fping for ICMP ping items comes from a third-party repository, so plan that source and its patch cadence separately.
  • Team skills: SELinux policy, firewalld rules and systemd units are the day-to-day skills. Make sure someone can read SELinux denials when the frontend or server cannot reach the database.

Confirm the supported EL release and database combination for your Zabbix version before the build starts.

Database and web server options and when each fits

This table compares the database engines and web servers that the Zabbix 7.4 package install supports, with the trade-offs for each. Read each row against your team's existing database and web server skills, your support contracts and the version support windows in the Zabbix life cycle policy.

OptionWhen it fitsTrade-offsWhat to confirm
MySQL or Percona 8.0.30 to 9.7Your team already runs MySQL or Percona in production and has backup and replication tooling for itVersion range is narrower than the PostgreSQL range for this release; history tables grow large without housekeeping and partitioning planned earlyExact supported build for your Zabbix minor version in the requirements page and the vendor's support matrix
MariaDB 10.5 to 12.3Your distribution or standard image ships MariaDB as the default database and your DBA team supports itCompatibility with MySQL features is not guaranteed for every Zabbix query path; confirm each version pair before upgradingSupported MariaDB range for your Zabbix release and your distribution's packaged version
PostgreSQL 13 to 18You want one engine for Zabbix and other platforms, with mature tooling for point-in-time recovery and replicationNeeds its own tuning for the history workload; the database user and schema setup steps differ from MySQLSupported PostgreSQL versions for your release and the package names your distribution provides
PostgreSQL with TimescaleDB 2.13 to 2.29You expect large volumes of history and trends and want time-based partitioning and compressionExtension must match both PostgreSQL and Zabbix versions; a TimescaleDB licence choice may apply to some editionsCompatible TimescaleDB version, the licence edition you will use and the steps for enabling the extension
Apache with the Zabbix frontendYour team already operates Apache with PHP-FPM or mod_php and wants the setup path documented for the packageRequires PHP modules that the package installs; module and version pairing must follow the Zabbix requirementsPHP version range for your release and the Apache configuration file your distribution uses
Nginx with the Zabbix frontendYour standards already use Nginx as the front door and you want a single web server pattern across servicesThe package setup steps are written around Apache, so you will adapt configuration and test it yourselfNginx and PHP-FPM versions supported for your release and whether Zabbix documents the Nginx configuration

Why the Zabbix repository instead of distribution packages

Distribution repositories often ship a Zabbix version that does not match the LTS line you chose, and they may lag behind. The cards below explain what the official Zabbix repository gives you for server, frontend and agent alignment, and what to check before you install.

Align with your chosen LTS line

Pick the Zabbix line first, then install from the repository that publishes that line. Your server, frontend and agent packages then come from the same release stream, and the support dates you plan around apply to what you actually run. Check which line your organization is standardizing on before you read any package version from the distribution.

Current LTS line example
7.0 LTS
Life cycle policy

Keep server, frontend and agent matched

The Zabbix server, the web frontend and the agents must work together, and mismatched components are a common source of confusing errors after an install. Installing all of them from the same official repository makes it easier to confirm that each package belongs to one release. Record the exact package versions on every host so later troubleshooting starts from known facts.

Plan the upgrade path by repository

Minor and patch upgrades are simpler when the repository that installed the packages is the same one that delivers the next release. Confirm with the install documentation which repository package to enable for each line, and rehearse the move to the next minor release in a non-production copy. Ask your partner or internal team to document the repository definition as part of the build.

Install from packages docs

Avoid mixing distribution packages

Mixing Zabbix packages from the distribution with packages from the Zabbix repository can leave files, libraries or service units from two different builds on one host. This risk grows when EPEL is also enabled on EL9, because it can supply its own Zabbix packages. Before installing, list which repositories are enabled and remove or exclude conflicting Zabbix packages.

Verify repository trust and signing

Only install packages from repositories whose signing keys and definitions you have verified against the official documentation. Your security team should review the repository file, the GPG key location and the pinned sources as part of the change record. Repeat the check when you rebuild a host, because an outdated or copied repository file is a quiet way to drift from the intended release.

Confirm third-party dependencies separately

Some features need components that the Zabbix repository does not provide. On EL9, for example, fping for ICMP ping items comes from a third-party repository, so it needs its own approval, version tracking and patch process. Build a short inventory of every non-Zabbix package the server or proxy depends on, and assign an owner for each one.

EPEL conflicts on EL9 and how to exclude Zabbix packages

If EPEL is enabled on EL9, its Zabbix packages must be excluded before you install the official ones. EPEL carries its own Zabbix builds, so a plain install can pull server, agent or frontend packages from EPEL instead of the Zabbix repository. The conflict often shows up as dependency errors during the install, or as a mix of versions where the server binary comes from one repository and the frontend or agent from another. Either way, the result is a host that is hard to upgrade and hard to explain to an auditor, because the package origin no longer matches the version you documented.

The fix belongs in repository configuration, not in ad hoc install flags. Add an exclude line for the Zabbix package names in the EPEL repository definition (the exclude key in the .repo file under /etc/yum.repos.d/), or set the equivalent in your configuration management so every host gets the same rule. Confirm the exact package name patterns against the official installation instructions for your release before you write them, since the names differ between components. Also decide whether fping for ICMP ping items comes from EPEL or from another third-party repository your security team has approved, because the official Zabbix packages do not supply it.

After installation, verify where each package came from rather than trusting the install log. List the installed Zabbix packages with their source repository (for example with dnf info or rpm -qi and the repository field), and confirm that every Zabbix component reports the Zabbix repository. Record that output with the host build, so a later audit or upgrade has a clear baseline. Repeat the check after every patch cycle, because a re-enabled EPEL repository is a common way the conflict returns.

Setup sequence for a package-based Zabbix server

This sequence takes a planned host from a supported operating system to a running Zabbix server, frontend and test host installed from the official repository. Each step closes with a check, so the team knows when to move on and where a failure starts.

  1. Confirm the operating system and Zabbix LTS line

    Before anything is installed, the platform owner confirms that the operating system version is on the Zabbix supported list for the chosen LTS line, and that the database engine (MySQL or Percona, MariaDB, or PostgreSQL) is on the requirements list for that release. Confirm the web server choice (Apache or Nginx) and the frontend PHP version that the packages expect. Record the exact versions in the change record. The check is a written list of OS version, Zabbix version, database engine and version, and web server, each matched against the requirements page for that release.

  2. Prepare the database server

    The database administrator installs the chosen database engine on a dedicated host or managed instance, applies current security patches and sets the time zone and character set that the Zabbix schema requires. Restrict network access so only the Zabbix server and frontend hosts can reach the database port. Create the database role for Zabbix now or during the schema step, using a password held in your secrets store. The check is a successful login from the Zabbix server host to the database port with that role, and a closed connection from every other source you tested.

  3. Add the Zabbix repository and handle EPEL conflicts

    On the server, the administrator installs the official Zabbix release package for the chosen OS and LTS line, which registers the Zabbix repository. On RHEL-family systems with EPEL enabled, the EPEL Zabbix packages must be excluded before the official packages are installed, as the installation documentation describes. Install fping from the repository your organization approves for it, since ICMP ping items depend on it. The check is that the package manager lists Zabbix packages from the Zabbix repository and not from the distribution or EPEL, and that the exclude setting is visible in the repository configuration.

  4. Install the server, frontend and web server packages

    The administrator installs the Zabbix server package, the database-specific Zabbix server package for the chosen engine, the frontend package, and the packages for the chosen web server and PHP integration. Use the commands and package names in the official installation documentation for the OS in question, since they differ between RHEL, Debian and SUSE. Pin versions in your package management tooling so updates happen in a planned window. The check is that the package manager reports all packages installed at the same Zabbix version and that the zabbix-server binary reports that version.

  5. Create the database and import the initial schema

    The database administrator creates the Zabbix database with the required character set and grants the Zabbix role access to it. The administrator then imports the initial schema file shipped with the server package, which the installation documentation names for each engine. Import only once, and record the import in the change log, because re-running it against a populated database causes errors. The check is that the database lists the Zabbix tables and that a query on the users table returns the default Admin account, showing the schema loaded correctly.

  6. Configure the server and frontend

    The administrator sets the database host, name, user and password in the server configuration file, and sets the server name, listening interface and any performance parameters to match the planned host size. The frontend configuration file or the setup wizard is then completed with the same database details, the server address, and the time zone. Replace the default Admin password immediately and set the server to use the authentication method chosen for the environment. The check is that the server service starts and writes a clean startup message to its log, and that the frontend setup wizard shows no failed checks.

  7. Start services and verify login and a test host

    The administrator enables and starts the server, web server and PHP-FPM or equivalent services, then opens the frontend over the agreed HTTPS endpoint. After logging in with the new administrator account, the administrator adds a test host with a Zabbix agent interface, links a standard template, and waits for the first item values to arrive. The check is a green availability status for the test host, recent values on at least one item, and no errors in the server log about database or poller failures. Only after these checks pass should the team move to production monitoring, backups and proxy planning.

How the server, database, web server and agents fit together

The diagram starts with browser users reaching the Zabbix frontend on the admin side, where Apache or Nginx serves the PHP interface that reads and writes through the database. The Zabbix server sits between that frontend and the database, and it is the component that collects data from agents and proxies in the monitored network. Check that the frontend and server can both reach the database, that agents and proxies can reach the server on the trapper port, and that the admin network and monitored hosts are separated by a firewall rule you have written down.

Package install components, database and the trust boundary to monitored hosts.

Security and operations to plan before the first install

The package install gets Zabbix running, but the decisions that determine exposure sit around it: who can reach the database and frontend, how users sign in, and how packages and data are maintained. Settle these before the first login so the server does not go live with defaults.

Restrict database and frontend access

The Zabbix server and web frontend should not share an open network path with everything else. Limit the database port so only the server host (and any approved administration hosts) can connect, and limit the frontend to the networks your operators use. Confirm which ports your firewall and the Zabbix proxies need, and document them before the install so the change record matches the running system.

Package install docs

Least-privilege database account for the server

The package installer creates a database and account for the server. Review what that account can do and keep it limited to the Zabbix schema, rather than granting broad administrative rights to the database engine. Store the password in a controlled location, not in a shared script, and record who holds the database administrator credentials used for upgrades.

TLS on the frontend

The web frontend carries logins and session cookies, so plan TLS from the first day rather than adding it after go-live. Decide who issues the certificate, which internal CA or public issuer you use, and how renewal is handled. Check that the web server configuration you choose (Apache or Nginx) is the one your certificate process supports, and test the redirect from HTTP to HTTPS.

Choose authentication before users arrive

Zabbix supports internal, HTTP, LDAP, SAML and MFA authentication. Decide which one governs human access before inviting users, because changing it later affects every account. If you use LDAP or SAML, decide whether just-in-time provisioning should create user accounts on first login, and confirm which group mappings grant which Zabbix roles. Keep at least one break-glass internal administrator with its own controlled credential.

Authentication docs

Patch and repository governance

Install from the official Zabbix repository only after you have chosen a version line, and record the repository file and version in configuration management. On EL9, if EPEL is enabled, exclude its Zabbix packages before installing the official ones. Set a review step for security and minor releases, and confirm who approves each change and who is notified when a new package lands.

Back up the database before upgrades

Zabbix stores its configuration and history in the database, so a package upgrade that changes the schema needs a verified backup taken immediately beforehand. Test restoring that backup on a separate host, write down the restore steps, and confirm the backup covers the database and the server configuration files. Plan the upgrade window around the backup and the rollback decision.

Questions teams ask before installing Zabbix from packages

How much effort does a package-based Zabbix install take, and what drives it?

The install itself is usually the shortest part. The effort comes from the decisions and checks around it: the distribution and its supported Zabbix version, the database engine and its version, the web server, the time sync and firewall rules, the monitoring of the server's own processes, and the plan for upgrades. Each of these adds work when the environment already has standards, such as an approved database platform or a required TLS setup. Ask for a written scope that lists each host, each database, each integration and each handover item, because that list is what a quote can be built from. The cost is mostly one-time for the build, with recurring effort for upgrades and patching that the team should plan for from the start.

Can an in-house team install Zabbix from packages without outside help?

Yes, a team with Linux administration skills can install Zabbix from packages, and the official documentation covers the steps for each supported distribution. The question is whether the team can also own the result over time. Check that at least two people can handle Linux package management, database administration, web server TLS configuration and Zabbix upgrades. Also check that someone can read and act on the server's internal health data. If those skills are thin, a partner can build the first version and document it so your staff can run it. Whichever route you choose, the build should be written down so that a new engineer can rebuild it from the runbook.

What access, database skills and change windows does a package install need from our side?

Plan for administrator access to the target hosts, the ability to create the Zabbix database and its user, access to your package mirrors or the Zabbix repository, and a named contact for firewall and DNS changes. The database work requires someone who can size storage, set backup schedules and check that the engine version is supported. Change windows matter because the first install normally involves restarts of the web server and the database, and a later upgrade needs its own window with a rollback plan. Confirm these items with your security team early, since outbound repository access and privileged accounts are often where approvals take the longest.

Should we run Zabbix on PostgreSQL or MySQL?

Choose the engine your team already operates well, provided it is on the Zabbix support list for your release. The Zabbix requirements page lists supported versions for MySQL or Percona, MariaDB, PostgreSQL and the TimescaleDB extension for Zabbix 7.4, and that list should be checked against the release you plan to install. PostgreSQL with TimescaleDB is the option to evaluate when long history retention is a goal, because the database then needs its own tuning and backup design. Whichever engine you pick, it becomes a standing dependency, so the on-call and backup owners must be the same people who manage the rest of your database estate. Confirm the exact version pairings with the requirements page before you build.

Should we install Zabbix from the Zabbix repository or from distribution packages?

The Zabbix repository gives you the official Zabbix server, frontend and agent packages for the version you choose, which is the usual choice when you need a specific LTS line. Distribution packages may be older and follow the distribution's release cycle instead. Using the Zabbix repository means you must track its updates and keep the version pinned to your upgrade plan. On EL9, if EPEL is enabled, its Zabbix packages must be excluded before installing the official ones, and fping for ICMP ping items comes from a third-party repository, so your team needs to approve that source. Record the repository choice in the build document so that future upgrades start from a known state.

What do the Zabbix paid support tiers cover, and how fast do they respond?

Zabbix states that its open source software has no license fee, no device limits and no feature gates, and paid technical support is sold separately. The support page lists five tiers: Silver, Gold, Platinum, Enterprise and Global. Silver covers 8x5 support with a 1 day response, Gold covers 8x5 support with a 4 hour response, and Platinum, Enterprise and Global cover 24x7 support with 2 hour, 1.5 hour and 1 hour response times. The fee is a recurring subscription, and the right tier depends on how quickly your operations team needs a vendor answer. Ask Zabbix for current pricing and confirm exactly what each tier includes, because support is separate from installation work.

Where a package install sits in a wider Zabbix rollout

The package-installed server is the central piece, but it rarely runs alone. Agents on monitored hosts send data to the server directly or through proxies, and proxies are where most rollouts get their network segmentation and buffering. Decide early which network segments need a proxy, because the server package does not decide that for you. Plan the proxy hostnames, the server address each proxy connects to, and the encryption between them before you finalize firewall rules on the server host. Zabbix 7.0 and later also support proxy groups, which redistribute hosts between proxies when one goes offline, so confirm with your team whether that matters for your sites.

High availability is a separate design decision that affects how you install the first node. Zabbix server HA runs several server nodes against one shared database, with one node active and the others standing by, and the failover delay is configurable from 10 seconds to 15 minutes. Each node needs the same package version, the same database connection and a consistent configuration, so build a second node from the same repository and version pin rather than installing it later from a different source. Confirm the database platform (MySQL, Percona, MariaDB or PostgreSQL with TimescaleDB) against the Zabbix requirements for your server version before you commit.

Plan for upgrades from the first day. Package installs tie you to a repository channel, and the Zabbix life cycle sets how long each line stays fully supported, so record the version you choose and its support end date in your change calendar. If you later move to containers or Kubernetes, or need an isolated deployment, the sibling pages on running Zabbix with Docker Compose are not the right source for those steps; use the Docker Compose, Kubernetes and air-gapped network pages in this group as the alternatives to weigh against a package install, and confirm which one matches your change process and operating model.

How DeployOpen scopes and delivers a Zabbix package install

DeployOpen plans and installs Zabbix from official packages inside your own servers, cloud accounts or data center, with the distribution, database and web server choices written down before work starts. Each engagement ends with documented systems and a handover your team can run without us.

How we scope

  • We confirm the RHEL, Debian or SUSE release, the Zabbix version and the support line you need before any installation starts.
  • We agree in writing whether MySQL or PostgreSQL and Apache or Nginx are used, and what database version your standards allow.
  • Engagements are fixed-scope, so the written scope fixes deliverables, exclusions and timelines before work begins.

How we build

  • We configure the official Zabbix repository, exclude conflicting EPEL Zabbix packages on EL9, and record each repository change.
  • We install the server, frontend and database on your hosts, then verify services, time sync and the initial data collection path.
  • We test ICMP ping items with fping from the source you approve, and document any third-party repository you add.

How we hand over

  • You receive a written record of versions, package sources, configuration files, service accounts and the database layout.
  • We deliver a runbook covering install steps, the upgrade path to the next Zabbix release, and the checks your team repeats.
  • We walk your administrators through the running system so they can operate it, and list open items for your decision.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the installation.
  • We can prepare the server for later high availability or proxy work, so future changes build on the documented baseline.
  • Ask us to confirm which support scope fits your environment, and we will quote it from the written scope rather than a list price.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.