centos 7.9 下载wget

239 阅读2分钟
[root@oracle ~]# curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--  100  2523  100  2523    0     0  33820      0 --:--:-- --:--:-- --:--:-- 34094
	[root@oracle ~]# yum clean all
已加载插件:fastestmirror, langpacks
正在清理软件源: base epel extras updates
Cleaning up list of fastest mirrors
[root@oracle ~]# yum makecache fast
已加载插件:fastestmirror, langpacks
Determining fastest mirrors
epel/x86_64/metalink                               |  16 kB     00:00     
 * base: mirrors.aliyun.com
 * epel: hkg.mirror.rackspace.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                                                   | 3.6 kB  00:00:00     
epel                                                                   | 4.3 kB  00:00:00     
extras                                                                 | 2.9 kB  00:00:00     
updates                                                                | 2.9 kB  00:00:00     
epel/x86_64/updateinfo         FAILED                                          
https://epel.01link.hk/7/x86_64/repodata/ee7ce72544e0fca006120c613404d937cc3da9d09c7d80aea269df31639f310c-updateinfo.xml.bz2: [Errno 14] curl#60 - "Peer's certificate issuer has been marked as not trusted by the user."
正在尝试其它镜像。
It was impossible to connect to the CentOS servers.
This could mean a connectivity issue in your environment, such as the requirement to configure a proxy,
or a transparent proxy that tampers with TLS security, or an incorrect system clock.
You can try to solve this issue by using the instructions on https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

(1/7): base/7/x86_64/group_gz                                          | 153 kB  00:00:00     
(2/7): extras/7/x86_64/primary_db                                      | 253 kB  00:00:00     
epel/x86_64/primary_db         FAILED                                          
https://mirror.01link.hk/epel/7/x86_64/repodata/8b9b4a93a490a3787b09f182250cbaba737fc9c51bc560beecf33988d1abce01-primary.sqlite.gz: [Errno 14] curl#60 - "Peer's Certificate has expired."
正在尝试其它镜像。
(3/7): epel/x86_64/primary_db                                          | 8.7 MB  00:00:02     
(4/7): epel/x86_64/updateinfo                                          | 1.0 MB  00:00:02     
(5/7): epel/x86_64/group                                               | 399 kB  00:00:05     
base/7/x86_64/primary_db       FAILED                                            00:00:59 ETA 
http://mirrors.aliyuncs.com/centos/7/os/x86_64/repodata/6d0c3a488c282fe537794b5946b01e28c7f44db79097bb06826e1c0c88bad5ef-primary.sqlite.bz2: [Errno 12] Timeout on http://mirrors.aliyuncs.com/centos/7/os/x86_64/repodata/6d0c3a488c282fe537794b5946b01e28c7f44db79097bb06826e1c0c88bad5ef-primary.sqlite.bz2: (28, 'Connection timed out after 30001 milliseconds')
正在尝试其它镜像。
base/7/x86_64/primary_db       FAILED                                          
http://mirrors.cloud.aliyuncs.com/centos/7/os/x86_64/repodata/6d0c3a488c282fe537794b5946b01e28c7f44db79097bb06826e1c0c88bad5ef-primary.sqlite.bz2: [Errno 14] curl#6 - "Could not resolve host: mirrors.cloud.aliyuncs.com; Unknown error"
正在尝试其它镜像。
(6/7): base/7/x86_64/primary_db                                        | 6.1 MB  00:00:16     
(7/7): updates/7/x86_64/primary_ 93% [====================- ] 353 kB/s |  (7/7): updates/7/x86_64/primary_ 93% [====================- ] 353 kB/s |  (7/7): updates/7/x86_64/primary_db                   |  27 MB   01:15     
元数据缓存已建立
[root@oracle ~]# yum install wget -y
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: hkg.mirror.rackspace.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
软件包 wget-1.14-18.el7_6.1.x86_64 已安装并且是最新版本
无须任何处理