Openresty 安装第三方插件,


在安装之前,我们先来看一下我们现有的模块。

1.将需要安装的插件zip包传到linux系统下



2.将zip包解压 unzip ngx_http_substitutions_filter_module-master.zip

3.进入到openresty的源码包,并执行命令

./configure --prefix=/usr/local/openresty --add-module=/root/ngx_http_substitutions_filter_module-master

我们可以看到,在安装过程中该模块已经导入成功


同时在命令执行成功后要求我们执行gmake和gmake install


按照要求依次执行gmake和gmake install即可

执行完成之后我们再来看一下我们现有的模块

(查看模块需要进入到openresty的安装目录喲)

转载于:https://www.jianshu.com/p/b20c9d9eb9fe

相关内容

    暂无相关文章