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

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

[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.28nginx-1.28.1  pgpnginx/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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

cnskylee

技术分享我是认真的,期待您打赏

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值