默认安装好Fedora后,yum就可以使用了,但由于服务器在国外,速度奇慢无比,因此需要手动设置一下,可大大提高yum的速度
1,安装 yum-fastestmirror 插件
yum install yum-fastestmirror -y
2,添加livna源,为了提高yum的下载速度,所以我们使用清华的源
先下载
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/livna-release-7.rpm[/url]
双击安装
编辑/etc/yum.repos.d/livna.repo
以root 编辑
gedit /etc/yum.repos.d/livna.repo
在baseurl= 下面添加清华的源
下面贴上我的配置
然后一行命令对整个系统升级
yum update -y
3,安装图形化的yum
yum install yumex
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
[url]http://rpm.livna.org/[/url]Fedora/$releasever/$basearch/
[url]http://livna.cat.pdx.edu/[/url]Fedora/$releasever/$basearch/
[url]http://wftp.tu-chemnitz.de/pub/linux/livna/[/url]Fedora/$releasever/$basearch/
[url]http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/[/url]Fedora/
[url]http://mirror.atrpms.net/livna/[/url]Fedora/$releasever/$basearch/
[url]ftp://mirrors.tummy.com/pub/rpm.livna.org/[/url]Fedora/$releasever/$basearch/
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/[/url]Fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-7
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
[livna-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Debug
baseurl=
[url]http://rpm.livna.org/[/url]Fedora/$releasever/$basearch/debug/
[url]http://livna.cat.pdx.edu/[/url]Fedora/$releasever/$basearch/debug/
[url]http://wftp.tu-chemnitz.de/pub/linux/livna/[/url]Fedora/$releasever/$basearch/debug/
[url]http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/[/url]Fedora/$releasever/$basearch/debug/
[url]http://mirror.atrpms.net/livna/[/url]Fedora/$releasever/$basearch/debug/
[url]ftp://mirrors.tummy.com/pub/rpm.livna.org/[/url]Fedora/$releasever/$basearch/debug/
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/[/url]Fedora/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
[livna-source]
name=Livna for Fedora Core $releasever - $basearch - Source
baseurl=
[url]http://rpm.livna.org/[/url]Fedora/$releasever/SRPMS/
[url]http://livna.cat.pdx.edu/[/url]Fedora/$releasever/SRPMS/
[url]http://wftp.tu-chemnitz.de/pub/linux/livna/[/url]Fedora/$releasever/SRPMS/
[url]http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/[/url]Fedora/$releasever/SRPMS/
[url]http://mirror.atrpms.net/livna/[/url]Fedora/$releasever/SRPMS/
[url]ftp://mirrors.tummy.com/pub/rpm.livna.org/[/url]Fedora/$releasever/SRPMS/
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/[/url]Fedora/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
1,安装 yum-fastestmirror 插件
yum install yum-fastestmirror -y
2,添加livna源,为了提高yum的下载速度,所以我们使用清华的源
先下载
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/livna-release-7.rpm[/url]
双击安装
编辑/etc/yum.repos.d/livna.repo
以root 编辑
gedit /etc/yum.repos.d/livna.repo
在baseurl= 下面添加清华的源
下面贴上我的配置
然后一行命令对整个系统升级
yum update -y
3,安装图形化的yum
yum install yumex
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
[url]http://rpm.livna.org/[/url]Fedora/$releasever/$basearch/
[url]http://livna.cat.pdx.edu/[/url]Fedora/$releasever/$basearch/
[url]http://wftp.tu-chemnitz.de/pub/linux/livna/[/url]Fedora/$releasever/$basearch/
[url]http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/[/url]Fedora/
[url]http://mirror.atrpms.net/livna/[/url]Fedora/$releasever/$basearch/
[url]ftp://mirrors.tummy.com/pub/rpm.livna.org/[/url]Fedora/$releasever/$basearch/
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/[/url]Fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-7
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
[livna-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Debug
baseurl=
[url]http://rpm.livna.org/[/url]Fedora/$releasever/$basearch/debug/
[url]http://livna.cat.pdx.edu/[/url]Fedora/$releasever/$basearch/debug/
[url]http://wftp.tu-chemnitz.de/pub/linux/livna/[/url]Fedora/$releasever/$basearch/debug/
[url]http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/[/url]Fedora/$releasever/$basearch/debug/
[url]http://mirror.atrpms.net/livna/[/url]Fedora/$releasever/$basearch/debug/
[url]ftp://mirrors.tummy.com/pub/rpm.livna.org/[/url]Fedora/$releasever/$basearch/debug/
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/[/url]Fedora/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
[livna-source]
name=Livna for Fedora Core $releasever - $basearch - Source
baseurl=
[url]http://rpm.livna.org/[/url]Fedora/$releasever/SRPMS/
[url]http://livna.cat.pdx.edu/[/url]Fedora/$releasever/SRPMS/
[url]http://wftp.tu-chemnitz.de/pub/linux/livna/[/url]Fedora/$releasever/SRPMS/
[url]http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/[/url]Fedora/$releasever/SRPMS/
[url]http://mirror.atrpms.net/livna/[/url]Fedora/$releasever/SRPMS/
[url]ftp://mirrors.tummy.com/pub/rpm.livna.org/[/url]Fedora/$releasever/SRPMS/
[url]ftp://ftp3.tsinghua.edu.cn/mirror/livna/[/url]Fedora/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
转载于:https://blog.51cto.com/ironpeak/93224