Linux中出现archive.cloudera.com报错怎么办
短信预约 -IT技能 免费直播动态提醒
这篇文章主要介绍“Linux中出现archive.cloudera.com报错怎么办”,在日常操作中,相信很多人在Linux中出现archive.cloudera.com报错怎么办问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”Linux中出现archive.cloudera.com报错怎么办”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!
一.错误
[root@hadoop002 ~]# wget -c http://archive.cloudera.com/cm5/cm/5/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz--2019-07-23 16:59:08-- http://archive.cloudera.com/cm5/cm/5/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gzResolving archive.cloudera.com... failed: Temporary failure in name resolution.wget: unable to resolve host address “archive.cloudera.com”
dns">二.修改网卡,添加DNS
[root@hadoop002 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0ONBOOT=yesBOOTPROTO=staticIPADDR=172.31.236.240NETMASK=255.255.240.0#百度DNS服务器DNS1=180.76.76.76#阿里云DNS服务器DNS2=223.5.5.5
三.重启网络生效 切记
[root@hadoop002 ~]# service network restartShutting down interface eth0: [ OK ]Shutting down loopback interface: [ OK ]Bringing up loopback interface: [ OK ]Bringing up interface eth0: Determining if ip address 172.31.236.240 is already in use for device eth0...RTNETLINK answers: File exists [ OK ][root@hadoop002 ~]# ping archive.cloudera.comPING prod.cloudera.map.fastly.net (151.101.76.167) 56(84) bytes of data.64 bytes from 151.101.76.167: icmp_seq=1 ttl=59 time=0.719 ms64 bytes from 151.101.76.167: icmp_seq=2 ttl=59 time=0.754 ms^Z[3]+ Stopped ping archive.cloudera.com[root@hadoop002 ~]#
四.下载
[root@hadoop002 ~]# wget -c http://archive.cloudera.com/cm5/cm/5/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz--2019-07-23 17:00:29-- http://archive.cloudera.com/cm5/cm/5/cloudera-manager-centos7-cm5.16.2_x86_64.tar.gzResolving archive.cloudera.com... 151.101.76.167Connecting to archive.cloudera.com|151.101.76.167|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 837950600 (799M) [binary/octet-stream]Saving to: “cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz”100%[=============================================================================>] 837,950,600 12.3M/s in 65s 2019-07-23 17:01:34 (12.4 MB/s) - “cloudera-manager-centos7-cm5.16.2_x86_64.tar.gz” saved [837950600/837950600][root@hadoop002 ~]# wget -c https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel--2019-07-23 17:01:58-- https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcelResolving archive.cloudera.com... 151.101.76.167Connecting to archive.cloudera.com|151.101.76.167|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 2132782197 (2.0G) [binary/octet-stream]Saving to: “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel”100%[===========================================================================>] 2,132,782,197 12.8M/s in 2m 46s 2019-07-23 17:04:44 (12.3 MB/s) - “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel” saved [2132782197/2132782197][root@hadoop002 ~]# wget -c https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1--2019-07-23 17:04:56-- https://archive.cloudera.com/cdh6/parcels/latest/CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1Resolving archive.cloudera.com... 151.101.76.167Connecting to archive.cloudera.com|151.101.76.167|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 41 [text/plain]Saving to: “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1”100%[=============================================================================>] 41 --.-K/s in 0s 2019-07-23 17:04:56 (3.57 MB/s) - “CDH-5.16.2-1.cdh6.16.2.p0.8-el7.parcel.sha1” saved [41/41][root@hadoop002 ~]# wget -c https://archive.cloudera.com/cdh6/parcels/latest/manifest.json--2019-07-23 17:05:09-- https://archive.cloudera.com/cdh6/parcels/latest/manifest.jsonResolving archive.cloudera.com... 151.101.76.167Connecting to archive.cloudera.com|151.101.76.167|:443... connected.HTTP request sent, awaiting response... 200 OKLength: 66804 (65K) [application/json]Saving to: “manifest.json”100%[=============================================================================>] 66,804 --.-K/s in 0.001s 2019-07-23 17:05:09 (44.2 MB/s) - “manifest.json” saved [66804/66804]
到此,关于“Linux中出现archive.cloudera.com报错怎么办”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注编程网网站,小编会继续努力为大家带来更多实用的文章!
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341