现在设置源吧,首先你要google一下livna的源,把 它加进去 。如下:
su
Password:
# rpm -ivh http://rpm.livna.org/livna-release-8.rpm
安装fastestmirror插件。
yum install yum-fastestmirror
好了,该到设置yum了:
gedit /etc/yum/yum-updatesd.conf
其配置如下:
[main]
# how often to check for new updates (in seconds)
run_interval = 604800
#多久检查更新,我设置成了7天
# how often to allow checking on request (in seconds)
updaterefresh = 600
#更新刷新周期,这个是为了避免服务器负担太重,建议保持默认,或者设置大点。
# how to send notifications (valid: dbus, email, syslog)
emit_via = dbus
# should we listen via dbus to give out update information/check for
# new updates
dbus_listener = yes
#以下三项为:是否自动安装更新,是否自动下载更新,是否自动下载依赖,建议全部设置成no,否则系统会在后台自动更新,导致前台的所有安装和更新程序被锁死。
# automatically install updates
do_update = no
# automatically download updates
do_download = no
# automatically download deps of updates
do_download_deps = no
设置fastestmirror
默认的fastestmirror并不是每次都能找到最快的源。
要进行一点算是优化的设置:
gedit /etc/yum/pluginconf.d/fastestmirror.conf
配置如下:
[main]
enabled=1
verbose=0
socket_timeout=1
hostfilepath=/var/cache/yum/timedhosts.txt
maxhostfileage=1
#设置成1,即每一天刷新一次镜像的速度
maxthreads=15
#exclude=.gov, facebook
做了如上设置后也许你还是连不上最快的镜像,这时就要RP和刷新了
yum clean all
这样可以清除镜像的记录,让yum重新刷新
分享到:
相关推荐
Linux Fedora 学习之Yum配置 Linux学习讲义
Fedora 15中yum安装卸载LibreOffice中文版.docx
fedora-yum的用法 详细介绍,经典
Linux Fedora 学习之Linux概况 Linux 学习讲义
Windows 7+Linux Fedora 17双系统,Fedora 17引导Windows 7全过程
Linux Fedora 学习之Linux网络基础 Linux 学习讲义
全面介绍了Fedora8的安装和使用,适合初学者使用
安装Linux-Fedora的安装包,大家多支持!嗷嗷!
linux安装问题linux安装问题linux安装问题linux安装问题linux安装问题linux安装问题linux安装问题linux安装问题
RedHat Linux Fedora 1架站宝典RedHat Linux Fedora 1架站宝典
fedora A Local Yum Repository
基于linux fedora 8的DNS服务器构建.pdf
红帽子Linux Fedora Core 6安装全程图解.rar 红帽子Linux Fedora Core 6安装全程图解.rar 红帽子Linux Fedora Core 6安装全程图解.rar
Linux Fedora光盘、硬盘安装详解
现时Fedora最新的版本是Fedora 13,Fedora是linux发行版中更新最快的之一,通常每6个月发布一个正式的新版本。 Fedora和Redhat这两个Linux的发行版联系很密切。Redhat 自9.0以后,不再发布桌面版的,而是把这个...
Linux rpm for fedora 7 oracle 10g install oracle 10g Linux rpm for fedora 7 oracle 10g install oracle 10g
该文档详细讲述了fedora 8 硬盘安装及系统安装设置.是安装双系统很好的指导材料
linux fedora13 的telnet服务端rpm包telnet-server-0.17-46.fc13.i686.rpm
Fedora Linux的使用指南,推荐!