歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Fedora 8中yum設置相關知識(圖)

Fedora 8中yum設置相關知識(圖)

日期:2017/2/28 17:07:36   编辑:Linux教程

首先談下自己的Linux系統現狀:

轉投Fedora 8後覺得 Fedora比Ubuntu好,不想引起爭論,只是覺得Fedora走的很超前,很多東西都是Fedora 8出了後才在Ubuntu上找到相似的影子的。但是Fedora 8的源是他的硬傷,還有就是他的包依賴沒有Ubuntu做得好。

正文:

推薦安裝時選擇中文,即使你喜歡用英文界面的操作系統,例如我,因為要是默認用英文安裝的話,很多中文字體不會裝上,中文輸入法也不會裝上,後期設置很麻煩。用中文語言安裝後,進如系統,將語言設置成英語即可實現英文操作系統,再在系統中設置下就可以在英文環境下用中文輸入法了,設置如下:

現在設置源吧,首先你要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

Copyright © Linux教程網 All Rights Reserved