Zabbix minor update easy (apache2 also?)

Make sure you the access to the Zabbix Official Repository from vm.

repo.zabbix.com 443.

curl repo.zabbix.com

# get new packages
sudo apt update -y

# upgrade new packages
# look for zabbix packages in the log
sudo apt upgrade -y

# restart server

Go to history

Is it the same for apache2?

Lest try to fin dout.

whereis apache2
# several paths

/usr/sbin/apache2 -v
Server version: Apache/2.4.52 (Ubuntu)
Server built:   2024-04-10T17:45:18

sudo apt update
# no apache

# so this will not work
sudo apt install apache2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
apache2 is already the newest version (2.4.52-1ubuntu4.9).
apache2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

Where does it fetch apache?

Lets block all outbound

ubuntu and zabbix urls

Hm, no apache2.

11.10 – Which repository do I add to automatically update Apache? – Ask Ubuntu

Zabbix is ready with a new version, lets update it.

sudo apt update -y

sudo apt list --upgradable

Listing... Done
python3-idna/jammy-updates,jammy-security 3.3-1ubuntu0.1 all [upgradable from: 3.3-1]
python3-update-manager/jammy-updates 1:22.04.20 all [upgradable from: 1:22.04.18]
update-manager-core/jammy-updates 1:22.04.20 all [upgradable from: 1:22.04.18]
zabbix-agent/zabbix 1:6.0.30-1+ubuntu22.04 amd64 [upgradable from: 1:6.0.29-1+ubuntu22.04]
zabbix-apache-conf/zabbix 1:6.0.30-1+ubuntu22.04 all [upgradable from: 1:6.0.29-1+ubuntu22.04]
zabbix-frontend-php/zabbix 1:6.0.30-1+ubuntu22.04 all [upgradable from: 1:6.0.29-1+ubuntu22.04]
zabbix-server-mysql/zabbix 1:6.0.30-1+ubuntu22.04 amd64 [upgradable from: 1:6.0.29-1+ubuntu22.04]
zabbix-sql-scripts/zabbix 1:6.0.30-1+ubuntu22.04 all [upgradable from: 1:6.0.29-1+ubuntu22.04]

sudo apt upgrade -y
Restarting services...
 systemctl restart zabbix-server.service
 systemctl restart zabbix-server.service

And zabbix has a new version

Update 03.07.2024 New Zabbix version

sudo apt update -y
apt list --upgradable

# some mysql and php also

zabbix-agent/zabbix 1:6.0.31-1+ubuntu22.04 amd64 [upgradable from: 1:6.0.30-1+ubuntu22.04]
zabbix-apache-conf/zabbix 1:6.0.31-1+ubuntu22.04 all [upgradable from: 1:6.0.30-1+ubuntu22.04]
zabbix-frontend-php/zabbix 1:6.0.31-1+ubuntu22.04 all [upgradable from: 1:6.0.30-1+ubuntu22.04]
zabbix-server-mysql/zabbix 1:6.0.31-1+ubuntu22.04 amd64 [upgradable from: 1:6.0.30-1+ubuntu22.04]
zabbix-sql-scripts/zabbix 1:6.0.31-1+ubuntu22.04 all [upgradable from: 1:6.0.30-1+ubuntu22.04]

run the sudo apt upgrade -y and reboot vm.

Update 28.11.2024

Release Notes for Zabbix 6.0.36

rg-ukzabbix-0002

Linux (ubuntu 24.04)

vmzabbix02

sudo apt update -y
sudo apt list --upgradable

apache2-bin/noble-updates 2.4.58-1ubuntu8.5 amd64 [upgradable from: 2.4.58-1ubuntu8.4]
apache2-data/noble-updates 2.4.58-1ubuntu8.5 all [upgradable from: 2.4.58-1ubuntu8.4]
apache2-utils/noble-updates 2.4.58-1ubuntu8.5 amd64 [upgradable from: 2.4.58-1ubuntu8.4]
apache2/noble-updates 2.4.58-1ubuntu8.5 amd64 [upgradable from: 2.4.58-1ubuntu8.4]
# [...]
zabbix-agent/zabbix 1:6.0.36-1+ubuntu24.04 amd64 [upgradable from: 1:6.0.35-1+ubuntu24.04]
zabbix-apache-conf/zabbix 1:6.0.36-1+ubuntu24.04 all [upgradable from: 1:6.0.35-1+ubuntu24.04]
zabbix-frontend-php/zabbix 1:6.0.36-1+ubuntu24.04 all [upgradable from: 1:6.0.35-1+ubuntu24.04]
zabbix-sender/zabbix 1:6.0.36-1+ubuntu24.04 amd64 [upgradable from: 1:6.0.35-1+ubuntu24.04]
zabbix-server-mysql/zabbix 1:6.0.36-1+ubuntu24.04 amd64 [upgradable from: 1:6.0.35-1+ubuntu24

sudo apt upgrade -y

# not boot yet
sudo service zabbix-agent status
● zabbix-agent.service - Zabbix Agent
     Loaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; enabled; preset: enabled)
     Active: active (running) since Thu 2024-11-28 08:50:33 UTC; 33s ago

sudo service zabbix-server status
● zabbix-server.service - Zabbix Server
     Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; preset: enabled)
     Active: active (running) since Thu 2024-11-28 08:50:48 UTC; 45s ago

sudo service apache2 status
● apache2.service - The Apache HTTP Server
     Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; preset: enabled)
     Active: active (running) since Thu 2024-11-28 08:50:38 UTC; 1min 19s ago

zabbix_server --version
zabbix_server (Zabbix) 6.0.36

zabbix_agentd --version
zabbix_agentd (daemon) (Zabbix) 6.0.36

Check

Restart server

ok, good

Scroll to Top