fedora配置源

cd /etc/

mv yum.repos.d yum.repos.d.bak

mkdir yum.repos.d

cd yum.repos.d

vim sohu.repo

内容如下

[updates]
name=Fedora updates
baseurl=http://mirrors.sohu.com/fedora/updates/$releasever/$basearch/
enabled=1
gpgcheck=0

[fedora]
name=Fedora $releasever - $basearch
baseurl=http://mirrors.sohu.com/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=0

yum makecache

相关推荐