您的位置:首页 > 运维架构 > Linux

为Centos5添加网易163、搜狐的yum源

2010-11-21 10:46 246 查看
以超级用户登录

先关闭fastestmirror “vi /etc/yum/pluginconf.d/fastestmirror.conf”

and set “enable=0″

cd /etc/yum.repos.d/ (在/etc/yum.repos.d/ 目录下,可以放置你能获取得到的yum源文件,那就可以加入到你软件源里去,对你安装更新软件十分的方便)

wget http://mirrors.163.com/.help/CentOS-Base-163.repo

wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo

yum makecache

yum update

将fastestmirror.conf文件修改回来。

now enjoy it!

sudo rpm --nodeps --force -Uvh
http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.11/rhel5/x86_64/neon-devel-0.28.4-1.x86_64.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.11/rhel5/x86_64/neon-0.28.4-1.x86_64.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.11/rhel5/x86_64/sqlite-3.5.9-2.x86_64.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.11/rhel5/x86_64/sqlite-devel-3.5.9-2.x86_64.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.11/rhel5/x86_64/mod_dav_svn-1.6.11-1.rhel5.x86_64.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.11/rhel5/x86_64/subversion-1.6.11-1.rhel5.x86_64.rpm http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/1.6.11/rhel5/x86_64/subversion-devel-1.6.11-1.rhel5.x86_64.rpm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: