Install Zabbix 6.4 Ubuntu MySQL NGINX

How to install Zabbix Server 6.4, Frontend, Agent on Ubuntu 22.04 (Jammy) with MySQL Database using NGINX Web Server

My Favourite Install to date: How to install Zabbix Server 6.4, Frontend, Agent on Ubuntu 22.04 (Jammy) with MySQL Database using NGINX Web Server and the reason why.

My Favourite Version and Why:

Important there currently two LTS (Long Term Support) versions which are available right now Version 5.0 and 6.0, this means if you intend to buy Support your best going with one of these versions to get the longest support without a upgrade to stay within the supported version.  After trying to use version 6.0 at the team i faced problems with Azure SQL Servers, but i didn’t have these issues with version 6.4 at the time 2nd February 2024, plus the below seems to work better with 6.4:

ZBXNEXT-7977 Added Azure Microsoft SQL templates
ZBXNEXT-7902 Added templates for Azure MySQL servers
ZBXNEXT-7912 Improved media type configuration
ZBXNEXT-276 Added LDAP and SAML user provisioning

 

Significant to note is that there are presently two Long-Term Support (LTS) versions accessible: Version 5.0 and 6.0. This implies that if you plan to purchase support, it’s advisable to opt for one of these versions to ensure the longest support duration without requiring an upgrade to remain within the supported version. Following an attempt to utilize Version 6.0 within the team, issues arose with Azure SQL Servers. However, these complications were absent with Version 6.4 as of February 2nd, 2024.

 

Read more here https://www.zabbix.com/rn/rn6.4.0. Please also note version 7.0 LTS will be released very soon.  

I will set up guides soon on Azure & AWS, to help you setup, email me and let me know if you need anything else.  

 

as of 2nd February 2024 this is the only server where all the features worked, definitely use this exact setup.  

 

 

Install & Setup Software Zabbix:

 

Install MySQL

sudo apt install mysql-server 

sudo systemctl start mysql.service

Install Zabbix 6.4

wget https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu22.04_all.deb

dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb

apt update

apt install zabbix-server-mysql zabbix-frontend-php zabbix-nginx-conf zabbix-sql-scripts zabbix-agent

MYSQL Configuration

mysql -uroot -p

* You will be prompted for a database password here (DB) *

create database zabbix character set utf8mb4 collate utf8mb4_bin;

create user zabbix@localhost identified by ‘YOUR-CHOSEN-DB-PASSWORD-ABOVE‘;

grant all privileges on zabbix.* to zabbix@localhost;

set global log_bin_trust_function_creators = 1;

quit;

ALTER USER zabbix@localhost IDENTIFIED BY ‘YOUR-CHOSEN-DB-PASSWORD-ABOVE‘;

mysql -zabbix -p

Enter your chosen DB password

show databases;

show users;

use zabbix;

show tables;

zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql –default-character-set=utf8mb4 -zabbix -p

Enter your chosen DB password

set global log_bin_trust_function_creators = 0;

quit;

Share the Post:

Related Posts

What Is Zabbix

What is Zabbix Monitoring Tool

Zabbix plays a vital role in enterprise solutions by providing comprehensive monitoring capabilities for various aspects of IT infrastructure. It is a crucial component in ensuring the smooth operation of networks, servers, applications, and services within large-scale organisational settings.

Read More