- 积分
- 8
- 威望
-
- 金钱
-
- 注册时间
- 2011-3-5
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
最近NGINX升级1.0,想尝下鲜,用军哥的LNMP一键安装包 自动无缝升级Nginx至任意版本
方法,升级,最后升级失败.
没办法,想用回0.8.54,但是也装不回了,
老是显示,没有那文件.
-------------------------------------------------------------------------
[root@win68 ~]# wget soft.vpser.net/lnmp/upgrade_nginx.sh;sh upgrade_nginx.sh
--2011-04-14 09:23:58-- http://soft.vpser.net/lnmp/upgrade_nginx.sh
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2991 (2.9K) [application/octet-stream]
Saving to: `upgrade_nginx.sh.22'
100%[======================================>] 2,991 --.-K/s in 0.01s
2011-04-14 09:23:58 (252 KB/s) - `upgrade_nginx.sh.22' saved [2991/2991]
=========================================================================
Upgrade Nginx for LNMP, Written by Licess
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
For more information please visit http://www.lnmp.org/
=========================================================================
Current Nginx Version:e 20: /usr/local/nginx/sbin/nginx: No such file or directory
Please input nginx version you want:
You can get version number from http://nginx.org/en/download.html
(example: 0.8.54 ):0.8.54
===========================
0.8.54nt to upgrade nginx version to
===========================
Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
0.8.54.tar.gz not found!!!download now......
--2011-04-14 09:24:18-- http://nginx.org/download/nginx-%0D0.8.54.tar.gz
Resolving nginx.org... 81.19.68.137
Connecting to nginx.org|81.19.68.137|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-04-14 09:24:18 ERROR 404: Not Found.
============================check files==================================
tar: nginx-\r0.8.54.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
0.8.54/: No such file or directorynx-
upgrade_nginx.sh: line 69: ./configure: No such file or directory
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
upgrade_nginx.sh: line 74: /usr/local/nginx/sbin/nginx: No such file or directory
make: *** No rule to make target `upgrade'. Stop.
Upgrade completed!
Program will display Nginx Version......
upgrade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory
=========================================================================
You have successfully upgrade from e 20: /usr/local/nginx/sbin/nginx: No such fi0.8.54directory to
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================
For more information please visit http://www.lnmp.org/
=========================================================================
[root@win68 ~]# wget soft.vpser.net/lnmp/upgrade_nginx.sh;sh upgrade_nginx.sh
--2011-04-14 09:25:06-- http://soft.vpser.net/lnmp/upgrade_nginx.sh
Resolving soft.vpser.net... 96.44.153.111
Connecting to soft.vpser.net|96.44.153.111|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2991 (2.9K) [application/octet-stream]
Saving to: `upgrade_nginx.sh.23'
100%[======================================>] 2,991 --.-K/s in 0s
2011-04-14 09:25:06 (219 MB/s) - `upgrade_nginx.sh.23' saved [2991/2991]
=========================================================================
Upgrade Nginx for LNMP, Written by Licess
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
For more information please visit http://www.lnmp.org/
=========================================================================
Current Nginx Version:e 20: /usr/local/nginx/sbin/nginx: No such file or directory
Please input nginx version you want:
You can get version number from http://nginx.org/en/download.html
(example: 0.8.54 ):1.0.0
===========================
1.0.0ant to upgrade nginx version to
===========================
Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
1.0.0.tar.gz not found!!!download now......
--2011-04-14 09:25:22-- http://nginx.org/download/nginx-%0D1.0.0.tar.gz
Resolving nginx.org... 81.19.68.137
Connecting to nginx.org|81.19.68.137|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-04-14 09:25:22 ERROR 404: Not Found.
============================check files==================================
tar: nginx-\r1.0.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
1.0.0/: No such file or directoryinx-
upgrade_nginx.sh: line 69: ./configure: No such file or directory
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
upgrade_nginx.sh: line 74: /usr/local/nginx/sbin/nginx: No such file or directory
make: *** No rule to make target `upgrade'. Stop.
Upgrade completed!
Program will display Nginx Version......
upgrade_nginx.sh: line 78: /usr/local/nginx/sbin/nginx: No such file or directory
=========================================================================
You have successfully upgrade from e 20: /usr/local/nginx/sbin/nginx: No such fi1.0.0 directory to
=========================================================================
LNMP is tool to auto-compile & install Nginx+MySQL+PHP on Linux
=========================================================================
For more information please visit http://www.lnmp.org/
=========================================================================
[root@win68 ~]#(
[ 本帖最后由 win68 于 2011-4-14 10:26 编辑 ] |
|