wget http://down.wdlinux.cn/in/php_up53.sh
sh php_up53.sh
4.升級nginx
wget http://down.wdlinux.cn/in/nginx_up.sh
sh nginx_up.sh
默認(rèn)升級是1.0.14,如要指定版本,執(zhí)行腳本后臺(tái)加上版本號就可以,如
sh nginx_up.sh 1.4.2
就是只升級到1.4.2版本了
make[1]: Leaving directory `/tmp/nginx-1.2.9'
Starting nginx: nginx: [warn] conflicting server name "www.****.co" on 0.0.0.0:8 0, ignored
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()
[FAILED]
Nginx Update Is OK
Current Ver Is:1.2.9
[root@131025in03 ~]#
Broadcast message from root (Mon Nov 18 20:19:03 2013):
升級nginx提示這樣,是不是出錯(cuò)了,怎么版本好像是1.2.9的呢?