问题的原因在 http://download.bt.cn:5880/src/nginx--Tengine2.2.1.tar.gz 下载的包名版本为2.2.1,但是解压出来后的版本是 2.2.0 所以在移到的时候没有`tengine-2.2.1'这个目录,导致后面安装的时候找不到./confiure 文件
--2017-10-14 10:24:58-- http://103.224.251.67:5880/install/0/nginx.sh
Connecting to 103.224.251.67:5880... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12489 (12K) [application/octet-stream]
Saving to: `nginx.sh'
0K .......... .. 100% 36.0M=0s
2017-10-14 10:24:58 (36.0 MB/s) - `nginx.sh' saved [12489/12489]
groupadd: group 'www' already exists
useradd: user 'www' already exists
Stoping nginx... nginx is not running.
--2017-10-14 10:25:18-- http://download.bt.cn:5880/src/nginx--Tengine2.2.1.tar.gz
Resolving download.bt.cn... 103.224.251.67
Connecting to download.bt.cn|103.224.251.67|:5880... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2160648 (2.1M) [application/octet-stream]
Saving to: `/www/server/nginx/src.tar.gz'
0K .......... .......... .......... .......... .......... 2% 1.69M 1s
50K .......... .......... .......... .......... .......... 4% 1.25M 1s
100K .......... .......... .......... .......... .......... 7% 814K 2s
-----下载进程忽略点-------
2050K .......... .......... .......... .......... .......... 99% 165K 0s
2100K .......... 100% 40.5M=2.0s
2017-10-14 10:25:20 (1.01 MB/s) - `/www/server/nginx/src.tar.gz' saved [2160648/2160648]
tengine-2.2.0/
tengine-2.2.0/configure
tengine-2.2.0/docs/modules/ngx_limit_upstream.md
-------解压tengine-2.2.0的内容太多了忽略掉点------
tengine-2.2.0/tests/test-nginx/dso_cases/ngx_http_upstream_check_module/http_check.t
mv: cannot stat `tengine-2.2.1': No such file or directory
nginx.sh: line 93: cd: src: No such file or directory
--2017-10-14 10:25:21-- http://download.bt.cn:5880/src/openssl-1.0.2l.tar.gz
Resolving download.bt.cn... 103.224.251.67
Connecting to download.bt.cn|103.224.251.67|:5880... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5365054 (5.1M) [application/octet-stream]
Saving to: `openssl.tar.gz'
0K .......... .......... .......... .......... .......... 0% 2.18M 2s
50K .......... .......... .......... .......... .......... 1% 691K 5s
100K .......... .......... .......... .......... .......... 2% 6.12M 3s
-----下载进程忽略点-------
5150K .......... .......... .......... .......... .......... 99% 547K 0s
5200K .......... .......... .......... ......... 100% 1.63M=5.1s
2017-10-14 10:25:26 (1.01 MB/s) - `openssl.tar.gz' saved [5365054/5365054]
openssl-1.0.2l/ACKNOWLEDGMENTS
------解压openssl-1.0.2的内容太多了忽略掉点------
openssl-1.0.2l/VMS/WISHLIST.TXT
--2017-10-14 10:25:26-- http://download.bt.cn:5880/src/ngx_cache_purge-2.3.tar.gz
Resolving download.bt.cn... 103.224.251.67
Connecting to download.bt.cn|103.224.251.67|:5880... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12248 (12K) [application/octet-stream]
Saving to: `ngx_cache_purge.tar.gz'
0K .......... . 100% 54.4M=0s
2017-10-14 10:25:26 (54.4 MB/s) - `ngx_cache_purge.tar.gz' saved [12248/12248]
ngx_cache_purge-2.3/
ngx_cache_purge-2.3/CHANGES
ngx_cache_purge-2.3/config
ngx_cache_purge-2.3/LICENSE
ngx_cache_purge-2.3/ngx_cache_purge_module.c
ngx_cache_purge-2.3/README.md
ngx_cache_purge-2.3/t/
ngx_cache_purge-2.3/TODO.md
ngx_cache_purge-2.3/t/proxy1.t
ngx_cache_purge-2.3/t/proxy1_vars.t
ngx_cache_purge-2.3/t/proxy2.t
ngx_cache_purge-2.3/t/proxy2_vars.t
nginx.sh: line 126: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
========================================================
[31mERROR: nginx--Tengine2.2.1 installation failed.[0m |