Ubuntu24.04LTS-Noble部署Zabbix6.4(适配 PHP 8.0+)

内容分享12小时前发布
0 0 0

Ubuntu Noble 部署 Zabbix 6.4 笔记(适配 PHP 8.0+)

开始之前先说明几个问题:

1、ubuntu版本的问题:

ubuntu22.04LTS,Jammy

ubuntu24.04LTS,Noble(本文采用)

2、zabbi和php版本兼容的问题:

zabbix6.4不兼容php7.4

zabbix6.1,最低php7.4-最高8.0

zabbix6.4,最低php8.0-最高8.2(本文采用)

zabbix7.1,最低php8.1

一、部署前环境准备(基于 LAMP 架构)
1. 更新系统源与系统包

# 编辑源配置文件
sudo vim /etc/apt/sources.list

# 添加阿里云/清华源(Noble 版本)
deb http://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse

# 更新源并升级系统
sudo apt update && sudo apt upgrade -y

# 安装基础依赖
sudo apt install -y wget curl
© 版权声明

相关文章

暂无评论

none
暂无评论...