- 积分
- 41
- 威望
-
- 金钱
-
- 注册时间
- 2012-10-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
- Last login: Sat Dec 3 17:18:26 2016 from 116.1.96.236
- Welcome to aliyun Elastic Compute Service!
- [root@iZbp1ah56mmzv9abvyfp0zZ ~]# ./upgrade.sh nginx
- -bash: ./upgrade.sh: No such file or directory
- [root@iZbp1ah56mmzv9abvyfp0zZ ~]# cd /root/
- [root@iZbp1ah56mmzv9abvyfp0zZ ~]# ./upgrade.sh nginx
- -bash: ./upgrade.sh: No such file or directory
- [root@iZbp1ah56mmzv9abvyfp0zZ ~]# cd /root/lnmp1.3-full/
- [root@iZbp1ah56mmzv9abvyfp0zZ lnmp1.3-full]# ./upgrade.sh nginx
- lnmp.conf: line 1:
- 为什么会提示这个呢:include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
- \r': command not found
- lnmp.conf: line 3:
- 为什么会提示这个呢:include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
- \r': command not found
- lnmp.conf: line 6:
- 为什么会提示这个呢:include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
- \r': command not found
- +-----------------------------------------------------------------------+
- | Upgrade script for LNMP V1.3, Written by Licess |
- +-----------------------------------------------------------------------+
- | A tool to upgrade Nginx,MySQL/Mariadb,PHP for LNMP/LNMPA/LAMP |
- +-----------------------------------------------------------------------+
- | For more information please visit http://www.lnmp.org |
- +-----------------------------------------------------------------------+
- Current Nginx Version:1.10.0
- You can get version number from http://nginx.org/en/download.html
- Please enter nginx version you want, (example: 1.7.8): 1.11.6
- +---------------------------------------------------------+
- | You will upgrade nginx version to 1.11.6
- +---------------------------------------------------------+
- Press any key to start...or Press Ctrl+c to cancel
- ============================check files==================================
- Notice: nginx-1.11.6.tar.gz not found!!!download now......
- --2016-12-03 17:27:24-- http://nginx.org/download/nginx-1.11.6.tar.gz
- Resolving nginx.org (nginx.org)... failed: Temporary failure in name resolution.
- wget: unable to resolve host address 鈥榥ginx.org鈥
- You enter Nginx Version was:1.11.6
- Error! You entered a wrong version number, please check!
- [root@iZbp1ah56mmzv9abvyfp0zZ lnmp1.3-full]# ./upgrade.sh nginx
- lnmp.conf: line 1:
- 为什么会提示这个呢:include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
- \r': command not found
- lnmp.conf: line 3:
- 为什么会提示这个呢:include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
- \r': command not found
- lnmp.conf: line 6:
- 为什么会提示这个呢:include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
- \r': command not found
- +-----------------------------------------------------------------------+
- | Upgrade script for LNMP V1.3, Written by Licess |
- +-----------------------------------------------------------------------+
- | A tool to upgrade Nginx,MySQL/Mariadb,PHP for LNMP/LNMPA/LAMP |
- +-----------------------------------------------------------------------+
- | For more information please visit http://www.lnmp.org |
- +-----------------------------------------------------------------------+
- Current Nginx Version:1.10.0
- You can get version number from http://nginx.org/en/download.html
- Please enter nginx version you want, (example: 1.7.8): 1.11.6
- +---------------------------------------------------------+
- | You will upgrade nginx version to 1.11.6
- +---------------------------------------------------------+
- Press any key to start...or Press Ctrl+c to cancel
- ============================check files==================================
- Notice: nginx-1.11.6.tar.gz not found!!!download now......
- --2016-12-03 17:28:39-- http://nginx.org/download/nginx-1.11.6.tar.gz
- Resolving nginx.org (nginx.org)... 206.251.255.63, 95.211.80.227, 2001:1af8:4060:a004:21::e3, ...
- Connecting to nginx.org (nginx.org)|206.251.255.63|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 960331 (938K) [application/octet-stream]
- Saving to: 鈥榥ginx-1.11.6.tar.gz鈥
- 100%[======================================>] 960,331 8.83KB/s in 2m 11s
- 2016-12-03 17:30:53 (7.14 KB/s) - 鈥榥ginx-1.11.6.tar.gz鈥saved [960331/960331]
- Download nginx-1.11.6.tar.gz successfully!
- ============================check files==================================
- Uncompress nginx-1.11.6.tar.gz...
- cd nginx-1.11.6...
- checking for OS
- + Linux 3.10.0-327.22.2.el7.x86_64 x86_64
- checking for C compiler ... found
- + using GNU C compiler
- + gcc version: 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
- checking for gcc -pipe switch ... found
- checking for -Wl,-E switch ... found
- checking for gcc builtin atomic operations ... found
- checking for C99 variadic macros ... found
- checking for gcc variadic macros ... found
- checking for gcc builtin 64 bit byteswap ... found
- checking for unistd.h ... found
- checking for inttypes.h ... found
- checking for limits.h ... found
- checking for sys/filio.h ... not found
- checking for sys/param.h ... found
- checking for sys/mount.h ... found
- checking for sys/statvfs.h ... found
- checking for crypt.h ... found
- checking for Linux specific features
- checking for epoll ... found
- checking for EPOLLRDHUP ... found
- checking for EPOLLEXCLUSIVE ... not found
- checking for O_PATH ... found
- checking for sendfile() ... found
- checking for sendfile64() ... found
- checking for sys/prctl.h ... found
- checking for prctl(PR_SET_DUMPABLE) ... found
- checking for sched_setaffinity() ... found
- checking for crypt_r() ... found
- checking for sys/vfs.h ... found
- checking for poll() ... found
- checking for /dev/poll ... not found
- checking for kqueue ... not found
- checking for crypt() ... not found
- checking for crypt() in libcrypt ... found
- checking for F_READAHEAD ... not found
- checking for posix_fadvise() ... found
- checking for O_DIRECT ... found
- checking for F_NOCACHE ... not found
- checking for directio() ... not found
- checking for statfs() ... found
- checking for statvfs() ... found
- checking for dlopen() ... not found
- checking for dlopen() in libdl ... found
- checking for sched_yield() ... found
- checking for SO_SETFIB ... not found
- checking for SO_REUSEPORT ... found
- checking for SO_ACCEPTFILTER ... not found
- checking for SO_BINDANY ... not found
- checking for IP_BIND_ADDRESS_NO_PORT ... not found
- checking for IP_TRANSPARENT ... found
- checking for IP_BINDANY ... not found
- checking for IP_RECVDSTADDR ... not found
- checking for IP_PKTINFO ... found
- checking for IPV6_RECVPKTINFO ... found
- checking for TCP_DEFER_ACCEPT ... found
- checking for TCP_KEEPIDLE ... found
- checking for TCP_FASTOPEN ... found
- checking for TCP_INFO ... found
- checking for accept4() ... found
- checking for eventfd() ... found
- checking for int size ... 4 bytes
- checking for long size ... 8 bytes
- checking for long long size ... 8 bytes
- checking for void * size ... 8 bytes
- checking for uint32_t ... found
- checking for uint64_t ... found
- checking for sig_atomic_t ... found
- checking for sig_atomic_t size ...
- ./configure: error: can not detect sig_atomic_t size
- make: *** No rule to make target `build', needed by `default'. Stop.
- cp: cannot stat 鈥榦bjs/nginx鈥 No such file or directory
- Test nginx configure file...
- include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory
- upgrade...
- make: *** No rule to make target `upgrade'. Stop.
- ======== upgrade nginx completed ======
- Program will display Nginx Version......
- include/upgrade_nginx.sh: line 65: /usr/local/nginx/sbin/nginx: No such file or directory
- [root@iZbp1ah56mmzv9abvyfp0zZ lnmp1.3-full]#
复制代码
为什么会提示这个呢:include/upgrade_nginx.sh: line 58: /usr/local/nginx/sbin/nginx: No such file or directory |
|