---
title: "Zabbix Proxy 4.2 installation years later"
url: https://michalasobczak.pl/posts/zabbix-proxy-4-2-installation-years-later.html
author: "Michał Sobczak"
description: "Old Zabbix Proxy 4.2 installation could be quite confusing as you cannot grab the latest one to work with old Zabbix server. Fortunately there is archive packages repository at repo.zabbix.com/zabbix/4.2/ubuntu/pool/main/z/zabbix/. You need to keep track which operating systemu should be used."
published: 2022-08-19T07:42:25.000Z
updated: 2022-09-06T10:43:45.000Z
language: en
categories: ["Technology"]
tags: ["Zabbix"]
license: CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/)
---
# Zabbix Proxy 4.2 installation years later

Old Zabbix Proxy 4.2 installation could be quite confusing as you cannot grab the latest one to work with old Zabbix server. Fortunately there is archive packages repository at [repo.zabbix.com/zabbix/4.2/ubuntu/pool/main/z/zabbix/](http://repo.zabbix.com/zabbix/4.2/ubuntu/pool/main/z/zabbix/). You need to keep track which operating systemu should be used. Refer to server requirements as it will be the same. So it’s Ubuntu 14, 16 or 18. First you should grab repository package which can be found named zabbix-release. For example:

```text
zabbix-release_4.2-2+bionic_all.deb
```

After installation with dpkg command, you can install particular proxy package with either MySQL, PostgreSQL or SQLite3.

```text
zabbix-proxy-mysql_4.2.1-1%2Bbionic_amd64.deb
```

If you choose MySQL then you need to manually install database package:

```bash
sudo apt-get install mysql-server
```

Then:

```sql
service mysql start
service mysql status
mysql
create database zabbix_proxy;
create user zabbix@localhost identified by 'yourpassword';
grant all privileges on zabbix_proxy.* to zabbix@localhost;
quite;
```

Now you are good to go with loading structure and data into the database:

```text
zcat /usr/share/doc/zabbix-sql-scripts/mysql/server.sql.gz | mysql -uzabbix -p zabbix_proxy
```

It could take few minutes to complete. Now it’s time to set configuration parameters in /etc/zabbix/zabbix\_proxy.conf file:

```text
DBName=zabbix_proxy
DBUser=zabbix
DBPassword=yourpassword
```

Should something went wrong, check in logs at /var/log/zabbix/zabbix\_proxy.log
