Fedora 9下Yum使用插件来加速

刚用上Fedora 9,使用yum来更新了一下,发现这龟速度还真是非一般的慢。

从加速的原理上无非有两点,一是使用更好的下载工具,二是在更快的源中去下载。而yum是支持plugin的方式的,给我们提供了便利。综合网上找到的资料,再结合自己的使用来说一下。

1,使用axel来作为下载工具。[luyao@localhost btdown]$ wget [luyao@localhost btdown]$ tar zxvf axel-1.0b.tar.gz[luyao@localhost btdown]$ cd axel-1.0b[luyao@localhost btdown]$ ./configure –i18n=1[luyao@localhost btdown]$ make[root@localhost btdown]# make install [luyao@localhost btdown]$ wget [luyao@localhost btdown]$ wget [root@localhost btdown]# cp axelget.conf /etc/yum/pluginconf.d/[root@localhost btdown]# cp axelget.py /usr/lib/yum-plugins/

2,使用fastmirror让它自动匹配最快的源[root@localhost yum.repos.d]# yum install yum-fastestmirror

3,尝试更新一下,OK,,所用的插件都正常。[root@localhost luyao]# yum updateLoaded plugins: axelget, fastestmirror, refresh-packagekitLoading mirror speeds from cached hostfile……..作者:dreamthousand 出自:梦里一千里

如果心在远方,只需勇敢前行,梦想自会引路,

Fedora 9下Yum使用插件来加速

相关文章:

你感兴趣的文章:

标签云: