Chinaunix首页 | 论坛 | 博客
  • 博客访问: 10327622
  • 博文数量: 1669
  • 博客积分: 16831
  • 博客等级: 上将
  • 技术积分: 12594
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-25 07:23
个人简介

柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!

文章分类

全部博文(1669)

文章存档

2023年(4)

2022年(1)

2021年(10)

2020年(24)

2019年(4)

2018年(19)

2017年(66)

2016年(60)

2015年(49)

2014年(201)

2013年(221)

2012年(638)

2011年(372)

分类:

2012-12-04 09:38:23

原文地址:Fedora 添加国内源 作者:大鬼不动

# vi /etc/yum.repos.d/fedora-cn.repo
=============================================================================
[fedora-mirrors.sohu.com]
name=Fedora $releasever - $basearch - sohu.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo-mirrors.sohu.com]

name=Fedora $releasever - $basearch - Debug - sohu.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source-mirrors.sohu.com]

name=Fedora $releasever - Source - sohu.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-mirrors.163.com]

name=Fedora $releasever - $basearch - 163.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo-mirrors.163.com]

name=Fedora $releasever - $basearch - Debug - 163.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source-mirrors.163.com]

name=Fedora $releasever - Source - 163.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

=============================================================================


# vi /etc/yum.repos.d/fedora-update-cn.repo
=============================================================================
[updates-mirrors.sohu.com]
name=Fedora $releasever - $basearch - Updates - sohu.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo-mirrors.sohu.com]

name=Fedora $releasever - $basearch - Updates - Debug - sohu.com
failovermethod=priority
baseurl=debug/
mirrorlist=
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source-mirrors.sohu.com]

name=Fedora $releasever - Updates Source - sohu.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-mirrors.163.com]

name=Fedora $releasever - $basearch - Updates - 163.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo-mirrors.163.com]

name=Fedora $releasever - $basearch - Updates - Debug - 163.com
failovermethod=priority
baseurl=debug/
mirrorlist=
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source-mirrors.163.com]

name=Fedora $releasever - Updates Source - 163.com
failovermethod=priority
baseurl=
mirrorlist=
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
=============================================================================

最新的源获取方法

访问   找到Fedora 所在行,
点击其右侧的
  , 然后参照其说明操作即可。

最后, 是新添加的源生效:

yum makecache
阅读(561) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~