首页 > 代码库 > Federa 7 配置yum 源
Federa 7 配置yum 源
今天给老服务器虚拟机配置yum源,Federa版本太旧,最后好歹找到了可以用的源了
参考链接:
中科院mirrors: https://lug.ustc.edu.cn/wiki/mirrors/help/fedoras
Federa论坛:http://forums.fedoraforum.org/showthread.php?t=221471
附两个文件,将两个文件放到/etc/yum.repos.d目录下,然后运行yum makecache,即可
fedora-ustc.repo
[fedora] name=Fedora $releasever - $basearch - ustcfailovermethod=priority baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/$releasever/Fedora/$basearch/os/enabled=1 #metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [fedora-debuginfo] name=Fedora $releasever - $basearch - Debug - ustcfailovermethod=priority baseurl=http://mirrors.ustc.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/debug/ enabled=0 #metadata_expire=7d gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [fedora-source] name=Fedora $releasever - Source - ustcfailovermethod=priority baseurl=http://mirrors.ustc.edu.cn/fedora/linux/releases/$releasever/Everything/source/SRPMS/ enabled=0 #metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
fedora-updates-ustc.repo
[updates]name=Fedora $releasever - $basearch - Updates - ustcfailovermethod=priority baseurl=http://archive.fedoraproject.org/pub/archive/fedora/linux/updates/$releasever/$basearch/enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [updates-debuginfo] name=Fedora $releasever - $basearch - Updates - Debug -ustcfailovermethod=priority baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/$releasever/$basearch/debug/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch [updates-source] name=Fedora $releasever - Updates Source - ustcfailovermethod=priority baseurl=http://mirrors.ustc.edu.cn/fedora/linux/updates/$releasever/SRPMS/ enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
Federa 7 配置yum 源
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。