之前提到Zabbix5.2版本的安装方法,这次使用PG+Timescale(Server和DB分开部署)文本环境系统版本:CentOS8.2(可以替换为其他版本,如ubuntu)Zabbix版本:5.4数据库版本:postgresql12时间刻度版本:2.1Nginx版本:1.14先决条件关闭Selinux和防火墙安装Zabbix源官方源的网络最近已经恢复正常,可以直接使用Zabbix官方源所有机器都需要安装rpm-Uvhhttps://repo.zabbix.com/zabbix/5.4/rhel/8/x86_64/zabbix-release-5.4-1.el8.noarch.rpm安装Sever相关组件其中zabbix-web-service最新上报功能dnfinstallzabbix-server-pgsqlzabbix-web-pgsqlzabbix-nginx-confzabbix-sql-scriptszabbix-agent2zabbix-web-service数据库安装第二个命令是禁用内置的pg库,如果有我没有禁用,会报错(如下图Show)dnfinstall-yhttps://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpmdnf-qymoduledisablepostgresqldnfinstall-ypostgresql12-server初始化数据库/usr/pgsql-12/bin/postgresql-12-setupinitdbsystemctlenablepostgresql-12&&systemctlstartpostgresql-12安装Timescale定时插件源码tee/etc/yum.repos.d/timescale_timescaledb。回购<
