LNMP1.7输入./upgrade_nginx.sh升级nginx没反应
本帖最后由 farnan 于 2021-4-2 15:41 编辑给系统添加pagespeed_nginx模块需要重新升级编译nginx输入./upgrade_nginx.sh,提示没权限,chmod +x upgrade_nginx.sh提权后输入升级程序没反系统是centos 8 64位,昨天升级了一下系统
解决,输入
用错命令了
cd ~/lnmp1.7
./upgrade.sh nginx farnan 发表于 2021-4-2 15:50
解决,输入
用错命令了升级失败
configuring additional modules
adding module in /opt/incubator-pagespeed-ngx-1.13.35.2-stable
./configure: error: no /opt/incubator-pagespeed-ngx-1.13.35.2-stable/config was found
make: *** No rule to make target 'build', needed by 'default'.Stop.
make: *** No rule to make target 'build', needed by 'default'.Stop.
cp: cannot stat 'objs/nginx': No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 73: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target 'upgrade'.Stop.
Checking ...
Error: Nginx upgrade failed.
farnan 发表于 2021-4-2 17:49
升级失败
你这 /opt/incubator-pagespeed-ngx-1.13.35.2-stable 模块的源码没下载好吧?编译时都提示没找到 licess 发表于 2021-4-3 10:41
你这 /opt/incubator-pagespeed-ngx-1.13.35.2-stable 模块的源码没下载好吧?编译时都提示没找到 ...
感谢军哥指导,我下载了,放在了根目录下,没认真看代码(:现在已经升级成功了:lol licess 发表于 2021-4-3 10:41
你这 /opt/incubator-pagespeed-ngx-1.13.35.2-stable 模块的源码没下载好吧?编译时都提示没找到 ...
incubator-pagespeed-ngx是什么神仙模块,干嘛的:lol
页:
[1]