我们可以下载该套件HDP-2.6.3.0-centos6-rpm.tar.gz
通过以下 wget
wget http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.3.0/HDP-2.6.3.0-centos6-rpm.tar.gz
--2018-01-14 17:16:18-- http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.3.0/HDP-2.6.3.0-centos6-rpm.tar.gz
Resolving public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)... 13.32.145.17, 13.32.145.111, 13.32.145.237, ...
Connecting to public-repo-1.hortonworks.com (public-repo-1.hortonworks.com)|13.32.145.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7072846515 (6.6G) [application/x-tar]
Saving to: ‘HDP-2.6.3.0-centos6-rpm.tar.gz.1’
0% [ ] 4,627,213 114KB/s eta 5h
但如何知道下面的套件列表是什么 - http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.6.3.0
经过wget
?
答案1
如果 Web 服务器没有返回文件列表,wget 也无法向您显示。