Fedora8添加修改yum源的方法:
找到yum PATH 文件, 路径:/etc/yum.repos.d/
fedora.repo
fedora-updates.repo然后修改这2个文件。
# gedit fedora.repo
弹出文本编辑器后,把所有内容删除。替换成下列内容。根据你自己的网速也可以精简解个最快的源。
内容如下:
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedora.RedHat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
baseurl=
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
ftp://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
ftp://ftp.free.fr/mirrors/fedora.redhat.com/fedora/linux/releases/$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
ftp://ftp.cse.buffalo.edu/pub/Linux/fedora/linux/releases/$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
ftp://ftp.iij.ad.jp/pub/linux/fedora/releases/$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
$releasever/Everything/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY