- 积分
- 96
- 威望
-
- 金钱
-
- 注册时间
- 2013-12-8
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
- [root@usla-server ~]# php -v
- PHP 7.3.10 (cli) (built: Oct 2 2019 18:52:36) ( NTS )
- Copyright (c) 1997-2018 The PHP Group
- Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
- [root@usla-server ~]# nginx -v
- nginx version: nginx/1.17.4
- [root@usla-server ~]# ls
- bbr.sh git-2.23.0 lnmp1.6 lnmp1.6.tar.gz ssr.sh v2.23.0.tar.gz
- [root@usla-server ~]# cd lnmp1.6
- [root@usla-server lnmp1.6]# ls
- addons.sh conf init.d License pureftpd.sh src uninstall.sh upgrade.sh
- ChangeLog include install.sh lnmp.conf README tools upgrade1.x-1.6.sh
- [root@usla-server lnmp1.6]# ./upgrade.sh
- +-----------------------------------------------------------------------+
- | Upgrade script for LNMP V1.6, Written by Licess |
- +-----------------------------------------------------------------------+
- | A tool to upgrade Nginx,MySQL/Mariadb,PHP for LNMP/LNMPA/LAMP |
- +-----------------------------------------------------------------------+
- | For more information please visit https://lnmp.org |
- +-----------------------------------------------------------------------+
- 1: Upgrade Nginx
- 2: Upgrade MySQL
- 3: Upgrade MariaDB
- 4: Upgrade PHP for LNMP
- 5: Upgrade PHP for LNMPA or LAMP
- 6: Upgrade MySQL to MariaDB
- 7: Upgrade phpMyAdmin
- exit: Exit current script
- ###################################################
- Enter your choice (1, 2, 3, 4, 5, 6, 7 or exit): 1
- Current Nginx Version:1.17.4
- You can get version number from http://nginx.org/en/download.html
- Please enter nginx version you want, (example: 1.14.0): 1.17.5
- +---------------------------------------------------------+
- | You will upgrade nginx version to 1.17.5
- +---------------------------------------------------------+
- Press any key to start...or Press Ctrl+c to cancel
- ============================check files==================================
- Notice: nginx-1.17.5.tar.gz not found!!!download now......
- --2019-11-02 01:28:59-- http://nginx.org/download/nginx-1.17.5.tar.gz
- Resolving nginx.org (nginx.org)... 2001:1af8:4060:a004:21::e3, 62.210.92.35, 95.211.80.227
- Connecting to nginx.org (nginx.org)|2001:1af8:4060:a004:21::e3|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 1036056 (1012K) [application/octet-stream]
- Saving to: ‘nginx-1.17.5.tar.gz’
- 100%[======================================>] 1,036,056 879KB/s in 1.2s
- 2019-11-02 01:29:01 (879 KB/s) - ‘nginx-1.17.5.tar.gz’ saved [1036056/1036056]
- Download nginx-1.17.5.tar.gz successfully!
- ============================check files==================================
- openssl-1.1.1c.tar.gz [found]
- Uncompress nginx-1.17.5.tar.gz...
- cd nginx-1.17.5...
- include/upgrade_nginx.sh: line 55: gcc: command not found
- checking for OS
- + Linux 5.3.2-1.el7.elrepo.x86_64 x86_64
- checking for C compiler ... not found
- ./configure: error: C compiler cc is not 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 72: /usr/local/nginx/sbin/nginx: No such file or directory
- upgrade...
- make: *** No rule to make target `upgrade'. Stop.
- Checking ...
- Error: Nginx upgrade failed.
- [root@usla-server lnmp1.6]#
复制代码
|
|