VPS侦探论坛

 找回密码
 注册
查看: 2747|回复: 1

nginx安装失败,请大家帮我看看

[复制链接]
发表于 2020-6-30 13:48:21 | 显示全部楼层 |阅读模式

make -f objs/Makefile
make[1]: Entering directory `/root/lnmp1.7/src/nginx-1.18.0'
cd /root/lnmp1.7/src/openssl-1.1.1g \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.7/src/openssl-1.1.1g/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make[1]: *** [/root/lnmp1.7/src/openssl-1.1.1g/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/root/lnmp1.7/src/nginx-1.18.0'
make: *** [build] Error 2
make -f objs/Makefile
make[1]: Entering directory `/root/lnmp1.7/src/nginx-1.18.0'
cd /root/lnmp1.7/src/openssl-1.1.1g \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.7/src/openssl-1.1.1g/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make[1]: *** [/root/lnmp1.7/src/openssl-1.1.1g/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/root/lnmp1.7/src/nginx-1.18.0'
make: *** [build] Error 2
make -f objs/Makefile install
make[1]: Entering directory `/root/lnmp1.7/src/nginx-1.18.0'
cd /root/lnmp1.7/src/openssl-1.1.1g \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.7/src/openssl-1.1.1g/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make[1]: *** [/root/lnmp1.7/src/openssl-1.1.1g/.openssl/include/openssl/ssl.h] Error 1
make[1]: Leaving directory `/root/lnmp1.7/src/nginx-1.18.0'
make: *** [install] Error 2
cp: cannot create regular file ‘/usr/local/nginx/conf/nginx.conf’: No such file or directory
cp: cannot create directory ‘/usr/local/nginx/conf/’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/pathinfo.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/enable-php.conf’: No such file or directory
cp: cannot create regular file ‘/usr/local/nginx/conf/enable-php-pathinfo.conf’: No such file or directory
cp: cannot create directory ‘/usr/local/nginx/conf/example’: No such file or directory
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: No such file or directory
include/nginx.sh: line 134: /usr/local/nginx/conf/fastcgi.conf: No such file or directory
3.9+
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory


美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-6-30 21:04:36 | 显示全部楼层


/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make[1]: *** [/root/lnmp1.7/src/openssl-1.1.1g/.openssl/include/openssl/ssl.h] Error 1

你只提供了这一部分日志,只能看到nginx编译安卓需要使用的openssl源码不存在,有可能之前下载时你网络有问题或者什么位置原因没下载下来,没完整日志没法确定具体原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-27 00:31 , Processed in 0.025400 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表