debian 12 zabbix 6.0LTS部署

数据库要求

数据库版本不对,zabbix-server启动不起来

|-----------------|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| MySQL/Percona | 8.0.X | Required if MySQL (or Percona) is used as Zabbix backend database. InnoDB engine is required. We recommend using the MariaDB Connector/C library for building server/proxy. |
| MariaDB | 10.5.00-10.6.X | InnoDB engine is required. We recommend using the MariaDB Connector/C library for building server/proxy. |

  1. 数据库安装mysql debian apt 装 mysql8-CSDN博客
    mysql Ver 8.0.35 for Linux on x86_64 (MySQL Community Server - GPL)

  2. 部署Zabbix 6.0 LTS - 不羁的罗恩 - 博客园 (cnblogs.com)

Choose your platform

ZABBIX VERSION
debian 12 zabbix 6.0LTS
5.

Install and configure Zabbix for your platform
a. Install Zabbix repository

Documentation
# wget https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-release/zabbix-release_6.0-5+debian12_all.deb
`

dpkg -i zabbix-release_6.0-5+debian12_all.deb`

`

apt update`

b. Install Zabbix server, frontend, agent

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

c. Create initial database

Documentation

Make sure you have database server up and running.

Run the following on your database host.
# mysql -uroot -p
password
mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
mysql> create user zabbix@localhost identified by 'password';
mysql> grant all privileges on zabbix.* to zabbix@localhost;
mysql> set global log_bin_trust_function_creators = 1;
mysql> quit;

On Zabbix server host import initial schema and data. You will be prompted to enter your newly created password.
# zcat /usr/share/zabbix-sql-scripts/mysql/server.sql.gz | mysql --default-character-set=utf8mb4 -uzabbix -p zabbix

Disable log_bin_trust_function_creators option after importing database schema.
# mysql -uroot -p
password
mysql> set global log_bin_trust_function_creators = 0;
mysql> quit;

d. Configure the database for Zabbix server

Edit file /etc/zabbix/zabbix_server.conf
DBPassword=password

e. Start Zabbix server and agent processes

Start Zabbix server and agent processes and make it start at system boot.
# systemctl restart zabbix-server zabbix-agent apache2
`

systemctl enable zabbix-server zabbix-agent apache2`

f. Open Zabbix UI web page

The default URL for Zabbix UI when using Apache web server is http://host/zabbix
6.

Start using Zabbix
相关推荐
运维成长记2 天前
Zabbix 高可用架构部署方案(2最新版)
mysql·架构·zabbix
张_boss12 天前
Ubuntu Zabbix 钉钉报警
ubuntu·钉钉·zabbix
82782093713 天前
CentOS-stream-9 Zabbix的安装与配置
linux·centos·zabbix
QX_hao15 天前
【zabbix】--安装部署
zabbix
乐维_lwops21 天前
Zabbix开源监控的全面详解!
开源·zabbix·zabbix详细介绍
Johny_Zhao1 个月前
CentOS Stream 10安装部署Zabbix 7.0网络监控平台和设备配置添加
linux·网络·网络安全·docker·信息安全·云计算·apache·zabbix·devops·yum源·huawei·系统运维·itsm·华三
Johny_Zhao1 个月前
Ubuntu安装部署Zabbix网络监控平台和设备配置添加
linux·网络·mysql·网络安全·信息安全·云计算·apache·zabbix·shell·yum源·系统运维·itsm
hnlucky1 个月前
《Zabbix Proxy分布式监控实战:从安装到配置全解析》
数据库·分布式·学习·adb·zabbix·集成学习·proxy模式
jay1 个月前
Zabbix监控 RabbitMQ 指定消息队列名称(pull_alarms )的消费者
rabbitmq·zabbix·ruby
柳如烟@2 个月前
从零开始配置 Zabbix 数据库监控:MySQL 实战指南
数据库·mysql·adb·zabbix