修改 CentOS 163 yum源
替换默认源为163源:
mv CentOS5-Base-163.repo /etc/yum.repos.d/
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
yum makecache
改回原来的yum源:
rm -f /etc/yum.repos.d/CentOS5-Base-163.repo
yum makecache
您可能感兴趣的文章:
修改 CentOS 163 yum源
CentOS 5.5 yum更新源(163、搜狐、中科大)
CentOS minimal版安装图形界面与中文语言包
linux下修改yum本地源
yum方式安装MySQL并设置密码
配置从centos6.0升级到centos6.2需要的源
用于 centos6.2 优化的shell脚本
linux yum 命令
Linux yum命令详解
CentOS 6.2使用yum安装LAMP与phpMyadmin