从nginx 1.10.2 升级到 1.10.3 或者其他版本都会出现
cd ../openssl-1.0.2j \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/oneinstack/src/nginx-1.10.3/../openssl-1.0.2j/.openssl no-shared \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: ../openssl-1.0.2j: No such file or directory
make[1]: *** [../openssl-1.0.2j/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/root/oneinstack/src/nginx-1.10.3'
make: *** [build] Error 2
Upgrade Nginx failed!
2 Answers
Best Answer
cd oneinstack/src
wget http://mirrors.linuxeye.com/oneinstack/src/openssl-1.0.2j.tar.gz
tar xzf openssl-1.0.2j.tar.gz
cd ..
./upgrade.sh web
Please login or Register to submit your answer