Fedora12 x86_64 系统 添加163源

首先打开应用程序->系统工具->终端(terminal),输入su ,输入密码,取得管理员权限,

1.安装寻找最快源的插件

输入:  yum install yum-fastestmirror

如果觉得实在是慢

可以按以下方法

rpm -ivh ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/linux/releases/12/Everything/x86_64/os/Packages/axel-2.4-2.fc12.x86_64.rpm

rpm -ivh http://yum-axelget.googlecode.com/files/yum-axelget-0.2-0.2.20090926svn3.fc12.noarch.rpm

 

 

 

2. 添加163 的源,国内的源比较快

打开终端,输入: gedit /etc/yum.repos.d/163.repo

再次把一下内容复制到打开的163.repo 中:
[Fedora-mirrors.163.com]
name=Fedora 12 – x86_64
baseurl=http://mirrors.163.com/fedora/updates/12/x86_64/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-mirrors.163.com]
name=Everything 12 – x86_64
baseurl=http://mirrors.163.com/fedora/updates/12/x86_64/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-mirrors.163.com]
name=Fedora updates
baseurl=http://mirrors.163.com/fedora/updates/12/x86_64/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

保存,关闭163.repo
最后,在终端中输入 yum makecache

 

 

3.添加第三方源
rpm -ivh /
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh /
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

 

 

 

转自:http://blog.chinaunix.net/u1/34109/showart_2219470.html

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值