添加清华大学的源
发布时间:2009-11-27 14:07:06来源:红联作者:yuchao668
[i=s] 本帖最后由 yuchao668 于 2009-11-28 00:02 编辑 [/i]
以前用的是上海交通大学的源,这几天更新时发现有好几个依赖关系不能解决,于是我就删了交大的源,换上了清华的源,发现比交大的好用多了,速度挺快的。
在此将清华大学的源与大家分享。
1:请使用vi或者gedit (最好在终端里面以root身份登录 gedit 后将以下三个文件的内容分别copy 到gedit中并分别命名,当然你可以选择自己喜欢的名字但是处于某种考虑最好还是要自己清楚自己的命名到底在指什么)
2:完成步骤1之后呢将三个文件分别保存到 /etc/yum.repos.d/目录下
3:在终端里面输入 yum makecache,如果有什么不对的请自行尝试更改或者直接删除这三个文件即可
4:开源的世界是永恒的,灿烂的,光芒的,大家齐分享更是美好的
5:gxhee@ssdut@dlut@china
/**************************更名为[ftp3-tsinghua-updates.repo]************************/
[ftp3-tsinghua-updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/fedora/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[ftp3-tsinghua-updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/fedora/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[ftp3-tsinghua-updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/fedora/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
rpmfusion更新源
/****************更名为[tsinghua-rpmfusion.repo]*********/
[tsinghua-rpmfusion-free]
name=RPM Fusion for Fedora $releasever - Free
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora
[tsinghua-rpmfusion-free-debuginfo]
name=RPM Fusion for Fedora $releasever - Free - Debug
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora
[tsinghua-rpmfusion-free-source]
name=RPM Fusion for Fedora $releasever - Free - Source
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/source/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora
/**********************更名为[tsinghua-rpmfusion-nonfree.repo]***/
[tsinghua-rpmfusion-nonfree]
name=RPM Fusion for Fedora $releasever - Nonfree
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/nonfree/fedora/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora
[tsinghua-rpmfusion-nonfree-debuginfo]
name=RPM Fusion for Fedora $releasever - Nonfree - Debug
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/nonfree/fedora/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora
[tsinghua-rpmfusion-nonfree-source]
name=RPM Fusion for Fedora $releasever - Nonfree - Source
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/nonfree/fedora/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora