美文网首页
Openresty 安装第三方插件

Openresty 安装第三方插件

作者: 程序媛没有夜生活 | 来源:发表于2016-08-02 15:33 被阅读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的安装目录喲)

    相关文章

      网友评论

          本文标题:Openresty 安装第三方插件

          本文链接:https://www.haomeiwen.com/subject/rnwfsttx.html