Openresty 安装第三方插件

Openresty 安装第三方插件

2016.08.02 15:33* 字数 167 阅读 1283评论 0

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

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.cnblogs.com/yanzi-meng/p/9444224.html