编译OpenResty1.25.3.1后,需要替换生产旧版本的哪些文件?

45 views
Skip to first unread message

jet li

unread,
Apr 16, 2024, 10:33:13 PMApr 16
to openresty
目前已经将 http-v3-module 编译进 OpenResty/1.25.3.1 版本
新版本包括:
   OpenSSL 1.1.1w
   LuaJIT 2.1.ROLLING (luajit2-2.1-20231117 官方tag)
   pcre-8.45

现有旧版本 yum install openresty 安装:
    openresty/1.21.4.2
    OpenSSL 1.1.1s
    LuaJIT 2.1.0-beta3
    pcre 版本未知

我的问题是:
    生产如何替换新版本,目前我只替换 /usr/local/openresty/lualib/resty/core/base.lua 和 /usr/local/openresty/nginx/sbin/nginx ,那么 /usr/local/openresty/openssl 1.1.1W , /usr/local/openresty/pcre (8.45版本),/usr/local/openresty/luajit (2.1 ROLLING) 需要更换到生产嘛?

辛苦大佬们解答!

417132187

unread,
Apr 16, 2024, 10:33:28 PMApr 16
to jet li

jet li

unread,
Apr 17, 2024, 12:32:12 AMApr 17
to openresty
我理解,编译的时候 openssl 库文件和 pcre 库文件,luajit 库文件都已经编译到 nginx 的二进制文件里,我不需要管 /usr/local/openresty/ 目录下的 luajit/ pcre/ openssl111/ 目录的文件内容对吧?这个应该是 yum 安装的时候一起安装的。

在2024年4月17日星期三 UTC+8 10:33:28<4171...@qq.com> 写道:

Junlong li

unread,
Apr 20, 2024, 9:07:33 AMApr 20
to openresty
安装你的编译方式,你可以只替换 nginx
Reply all
Reply to author
Forward
0 new messages