首页 > 未分类 > 记Fedora 21 Yun源配置和软件安装

记Fedora 21 Yun源配置和软件安装

因为不小心把CentOS搞崩了,没办法.借着给同学装系统的机会,就把系统重新装了.这个安装的是Fedora21,直接刻u盘,u盘引导启动安装即可,这里不再细说,直接说安装完后.

安装完Fedora,首先,重新配置了一下yum源,这个测试了一下,因为平时在教育网的时间比较多,官方源就试了下清华的.果然,清华的源就是给力,教育网更新速度在20Mbps以上,比较给力.这里直接给出清华源的配置文件,其他的源参照修改即可.

首先是fedora.repo

[fedora] 
name=Fedora $releasever - $basearch - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/releases/$releasever/Everything/$basearch/os/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch 
enabled=1 
metadata_expire=7d 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1
 
[fedora-debuginfo] 
name=Fedora $releasever - $basearch - Debug - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/releases/$releasever/Everything/$basearch/debug/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch 
enabled=0 
metadata_expire=7d 
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1

[fedora-source] 
name=Fedora $releasever - Source - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/releases/$releasever/Everything/source/SRPMS/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch 
enabled=0 
metadata_expire=7d 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1
然后,fedora-updates.repo

[updates]
name=Fedora $releasever - $basearch - Updates - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/updates/$releasever/$basearch/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch 
enabled=1 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1
 
[updates-debuginfo] 
name=Fedora $releasever - $basearch - Updates - Debug -ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/updates/$releasever/$basearch/debug/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1

[updates-source] 
name=Fedora $releasever - Updates Source - ustc
failovermethod=priority 
baseurl=http://mirrors.tuna.tsinghua.edu.cn/fedora/updates/$releasever/SRPMS/ 
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch 
enabled=0 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
#priority=1

知识共享许可协议
本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可。

上一篇: Linux运维文档之nginx【转】

下一篇: Linux服务器配置与LNMP安装实录---(1)

评论已关闭