Chinaunix首页 | 论坛 | 博客
  • 博客访问: 287231
  • 博文数量: 155
  • 博客积分: 1688
  • 博客等级: 上尉
  • 技术积分: 1560
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-17 08:06
文章分类
文章存档

2011年(16)

2009年(137)

2008年(2)

分类: LINUX

2009-06-06 03:18:43

centos使用yum进行更新的时候最郁闷的就是速度,最好的解决办法是做一个本地镜像,但是全部镜像大约需要250GB+. OMG, 换算成SAS硬盘也是几千块钱了.
必须花钱么? 当然不是, 可以通过安装fastestmirror和axel提高速度!
FastestMirror是类似apt-spy的yum用软件
axel是一个Linux下多线程下载工具

yum -y install yum-fastestmirror
wget
tar jxvf axel-2.2.tar.bz2
cd axel-2.2
./configure
make && make install
svn co /etc/yum/axelget
cd /etc/yum/pluginconf.d/
ln -s /etc/yum/axelget/axelget.conf .
cd /usr/lib/yum-plugins/
ln -s /etc/yum/axelget/axelget.py .


最后确保/etc/yum.conf中plugins=1就好了
阅读(1999) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~