Redhat 9 在預設的狀態下,是不會自動更新 kernel
要在 /etc/yum.conf 中的 exclude=kernel* 註解掉...
例如:
原本是
exclude=kernel*
更改成
#exclude=kernel*
然後再更新
[root]#yum update
然後會問你要不要下載更新,請你輸入「y」,再按鍵盤上的 Enter 後即可
更新完,再請你重開機囉!
基本上 Linux 更新軟體是不用重開機的,除了 kernel
補充說明:在 Fedora Core 3 的 yum 更改成國內的主機
cd /etc/yum.repos.d/
vi fedora.repo
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=ftp://apt.nc.hcc.edu.tw/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
vi fedora-updates.repo
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=ftp://apt.nc.hcc.edu.tw/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
enabled=1
gpgcheck=1
義守大學的主機要用 ftp 那個哦...
ftp://ftp.isu.edu.tw/pub/Linux/Fedora/linux/core/
安裝 Fedora Core、freshrpms 的 GPG KEY :
rpm --import /usr/share/doc/fedora-release-3/RPM-GPG-KEY-fedora
rpm --import ftp://apt.nc.hcc.edu.tw/pub/freshrpms/RPM-GPG-KEY
如果有出現網址的錯誤訊息,請先用瀏覽器連過去看看,
對方的主機是否正常,如正常,那就是 GPG KEY 沒 import
- May 13 Fri 2005 14:36
用yum 更新 kernel
close
全站熱搜
留言列表