【Nginx】Nginx-1.28.1版本已恢复对CentOS 7的兼容性

2025年12月23日,Nginx-1.28.1最新稳定社区版发布,经过在虚拟机中测试,发现该版本可以在CentOS 7.9系统中成功编译、安装和运行。

objectivec 复制代码
[root@vm-localsystem sbin]# ./nginx -V
nginx version: nginx/1.28.1
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) 
configure arguments: --prefix=/usr/local/nginx1

[root@vm-localsystem sbin]# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)

[root@vm-localsystem sbin]# uname -a
Linux vm-localsystem 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

[root@vm-localsystem conf]# ../sbin/nginx -t
nginx: the configuration file /usr/local/nginx1/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx1/conf/nginx.conf test is successful

[root@vm-localsystem conf]# ../sbin/nginx -s reload

[root@vm-localsystem conf]# ps -ef| grep nginx| grep -v grep
root       4387      1  0 15:19 ?        00:00:00 nginx: master process ./nginx
nobody     4536   4387  0 15:32 ?        00:00:00 nginx: worker process
nobody     4537   4387  0 15:32 ?        00:00:00 nginx: worker process

但是,官方的change文档中,并未提及"修复了1.28.0版本在CentOS 7版本中编译报错的问题"。该稳定版的上一个版本(1.28.0)在CentOS 7.9系统中编译失败。

Nginx-1.28.1官方下载地址:

Stable version

|-----------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| CHANGES-1.28 | nginx-1.28.1 pgp | nginx/Windows-1.28.1 pgp |

适配el8、el9系统的rpm包下载地址:

复制代码
nginx-1.28.1-1.el8.ngx.x86_64.rpm                 23-Dec-2025 19:57             1006424
复制代码
nginx-1.28.1-1.el9.ngx.x86_64.rpm                 23-Dec-2025 19:57             1042731
相关推荐
jiayong233 小时前
DevOps体系详解01-核心概念与价值
运维·devops
jiayong234 小时前
DevOps体系详解02-技术架构与工具链
运维·架构·devops
pride.li4 小时前
开发板和Linux--nfs服务挂载
linux·运维·服务器
云泽8086 小时前
不止是命令:Linux 高频指令实战 + 芯片架构底层逻辑
linux·运维·服务器
j_xxx404_6 小时前
Linux:基础IO
linux·运维·服务器
angushine7 小时前
银河麒麟V10创建用户
运维
Trouvaille ~8 小时前
【Linux】网络编程基础(二):数据封装与网络传输流程
linux·运维·服务器·网络·c++·tcp/ip·通信
久绊A8 小时前
春节前云平台运维深度巡检-实操经验
运维·安全·容器·kubernetes·云平台
梦想的旅途28 小时前
企业微信API外部群自动化推送:从“群发工具”到“智能触达”的架构实践
运维·自动化·企业微信
yuezhilangniao9 小时前
Next.js 项目运维手册-含-常用命令-常见场景
运维·开发语言·reactjs