CentOS 增加 yum 源

 

一、livna

rpm -ivh http://rpm.livna.org/livna-release.rpm

rpm --import http://rpm.livna.org/RPM-LIVNA-GPG-KEY



二、
rpm -ivh http://centos.alt.ru/repository/centos/5/x86_64/centalt-release-5-3.noarch.rpm

三、
rpm -iUvh http://dl.atrpms.net/el5-x86_64/atrpms/stable/atrpms-repo-5-4.el5.x86_64.rpm

四、
rpm -iUvh http://download1.rpmfusion.org/free/el/updates/testing/5/x86_64/rpmfusion-free-release-5-0.1.noarch.rpm
rpm -iUvh http://download1.rpmfusion.org/nonfree/el/updates/testing/5/x86_64/rpmfusion-nonfree-release-5-0.1.noarch.rpm

五、
rpm -iUvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm


六、 添加163

关闭fastestmirror
“vi /etc/yum/pluginconf.d/fastestmirror.conf”     and set “enable=0″
wget http://mirrors.163 .com/.help/CentOS-Base-163 .repo
yum makecache
yum update




http://wiki.centos.org/AdditionalResources/Repositories/RPMForg
http://wiki.centos.org/AdditionalResources/Repositories
http://wiki.centos.org/PackageManagement/Yum/Priorities
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值