[yum] yum加速

 

通常,以我对于个人生活和工作品质的要求,并没有这个需求。

因为我的宽带费很贵,独享。就算是centos主站,也很快。但是当你去了一些办公环境恶劣的地方上班的时候,

也难免动用一些小技巧。如下:

 

装这个包,就可以了。

[root@base-centos7-1804 ~]# yum info yum-plugin-fastestmirror.noarch
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: repo.virtualhosting.hk
 * extras: mirrors.cn99.com
 * updates: repo.virtualhosting.hk
Installed Packages
Name        : yum-plugin-fastestmirror
Arch        : noarch
Version     : 1.1.31
Release     : 45.el7
Size        : 53 k
Repo        : installed
From repo   : anaconda
Summary     : Yum plugin which chooses fastest repository from a mirrorlist
URL         : http://yum.baseurl.org/download/yum-utils/
License     : GPLv2+
Description : This plugin sorts each repository's mirrorlist by connection speed
            : prior to downloading packages.

Available Packages
Name        : yum-plugin-fastestmirror
Arch        : noarch
Version     : 1.1.31
Release     : 46.el7_5
Size        : 33 k
Repo        : updates/7/x86_64
Summary     : Yum plugin which chooses fastest repository from a mirrorlist
URL         : http://yum.baseurl.org/download/yum-utils/
License     : GPLv2+
Description : This plugin sorts each repository's mirrorlist by connection speed
            : prior to downloading packages.

 

posted on 2018-10-22 15:57  toong  阅读(269)  评论(0编辑  收藏  举报