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 完事。
评论 (0)