吴峰的博客

wget https://openresty.org/download/openresty-1.19.9.1.tar.gz

tar -xvf openresty-1.19.9.1.tar.gz

cd openresty-1.19.9.1

./configure


报错:

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl=<path> option.


wget https://www.openssl.org/source/openssl-1.1.1n.tar.gz

tar -xvf openssl-1.1.1n.tar.gz

cd openresty-1.19.9.1

//填写你解压完openssl的路径。一路成功

sudo ./configure -j2 --with-openssl=/****/****/****/openssl-1.1.1n

sudo make

sudo make install

完事。

Tags:
Lua
评论 (0)
    说点什么吧... (取消回复)

    正在加载验证码......

    请先拖动验证码到相应位置

Copyright 吴峰的博客 © 2014-2016 管理员邮箱:phpwufeng@163.com   统计:   ICP备案:鲁ICP备16004939号-1