pfdiy 发表于 2016-4-29 19:39:27

1.2包 升级 nginx-1.10.0出错。。

1.2包 升级 nginx-1.10.0出错。。 军哥适配。。

pfdiy 发表于 2016-4-29 19:40:56

/usr/local/nginx/sbin/nginx: No such file or directory
这个是错误提示。

pfdiy 发表于 2016-4-29 19:48:08

Current Nginx Version:.sh: line 7: /usr/local/nginx/sbin/nginx: No such file or directory
You can get version number from http://nginx.org/en/download.html
Please enter nginx version you want, (example: 1.7.8 ): +---------------------------------------------------------+
|    You will upgrade nginx version to 1.10.0
+---------------------------------------------------------+

Press any key to start...or Press Ctrl+c to cancel

============================check files==================================
nginx-1.10.0.tar.gz
============================check files==================================
Uncompress nginx-1.10.0.tar.gz...
cd nginx-1.10.0...
./configure: error: invalid option "--with-http_spdy_module"
make: *** No targets specified and no makefile found.Stop.
mv: cannot stat `/usr/local/nginx/sbin/nginx': No such file or directory
cp: cannot stat `objs/nginx': No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 56: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target `upgrade'.Stop.
^[[0;32m======== upgrade nginx completed ======^[[0m
Program will display Nginx Version......
include/upgrade_nginx.sh: line 61: /usr/local/nginx/sbin/nginx: No such file or directory
~

licess 发表于 2016-4-29 20:48:59

1.9.5以上版本参数有变动只能使用1.3安装包里的升级脚本进行升级
页: [1]
查看完整版本: 1.2包 升级 nginx-1.10.0出错。。