CentOS 5.5 yum更新源(163、搜狐、中科大)
源的更新方法如下:
先进入yum源配置目录
cd /etc/yum.repos.d
备份系统自带的yum源
mv CentOS-Base.repo CentOS-Base.repo.save
下载其他更快的yum源
中科大的yum源:
wget http://centos.ustc.edu.cn/CentOS-Base.repo
163的yum源:
wget http://mirrors.163.com/.help/CentOS-Base-163.repo
sohu的yum源
wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
更新yum源后,建议使用makecache更新一下,使操作立即生效:
yum makecache
您可能感兴趣的文章:
CentOS 5.5 yum更新源(163、搜狐、中科大)
yum方式安装MySQL并设置密码
linux yum 命令
配置从centos6.0升级到centos6.2需要的源
redhat 5.5 升级python 到2.6.4
CentOS 5.5使用yum安装LAMP(php环境)步骤分享
修改 CentOS 163 yum源
centos如何在python中安装虚拟环境?
CentOS minimal版安装图形界面与中文语言包
用于 centos6.2 优化的shell脚本