Chinaunix首页 | 论坛 | 博客
  • 博客访问: 728897
  • 博文数量: 256
  • 博客积分: 3502
  • 博客等级: 中校
  • 技术积分: 3988
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-17 21:13
文章分类

全部博文(256)

文章存档

2014年(11)

2013年(134)

2012年(111)

我的朋友

分类: LINUX

2012-07-27 20:12:39

加快 的速度
安装yum的fast mirror插件,可以加快 CentOS yum的速度和提高稳定性,效果显著。

1、Install the fastestmirror plugin
CentOS 5.x: yum -y install yum-fastestmirror
CentOS 4.x: yum -y install yum-plugin-fastestmirror

2、enable the plugin
[root@centos ~]# vi /etc/yum/pluginconf.d/fastestmirror.conf
[main]
enabled=1
verbose=0
socket_timeout=3
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=10
阅读(1206) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~