wget ERROR 404: Not Found.
[root@chenqiang-master-dev001-shgq downloads]#wget http://mirror.bit.edu.cn/apa che/zookeeper/zookeeper-3.4.3/zookeeper-3.4.3.tar.gz
–2015-09-29 16:28:05– http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4 .3/zookeeper-3.4.3.tar.gz
Resolving mirror.bit.edu.cn… 219.143.204.117, 2001:da8:204:2001:250:56ff:fea1: 22
Connecting to mirror.bit.edu.cn|219.143.204.117|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2015-09-29 16:28:06 ERROR 404: Not Found.
[root@chenqiang-master-dev001-shgq downloads]# wget http://mirror.bit.edu.cn/apa che/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz
–2015-09-29 16:34:20– http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4 .6/zookeeper-3.4.6.tar.gz
Resolving mirror.bit.edu.cn… 219.143.204.117, 2001:da8:204:2001:250:56ff:fea1: 22
Connecting to mirror.bit.edu.cn|219.143.204.117|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 17699306 (17M) [application/octet-stream]
Saving to: “zookeeper-3.4.6.tar.gz”
100%[======================================>] 17,699,306 2.06M/s in 7.9s
2015-09-29 16:34:31 (2.13 MB/s) - “zookeeper-3.4.6.tar.gz” saved [17699306/17699 306]
总结:
一般出现ERROR 404: Not Found.这样的问题时,我们需要手动的在浏览器中打开,看看能不能访问,如果不能访问,刚我们可以退回到该下载地址的上一层或者上二层目录,这样说不定就可以访问了。当确定可以访问后,我们就可以直接用wget下载了。