Fedora Legacy for Fedora Core 2
1.檢查並安裝驗證套件:
rpm -Uvh http://ftp.kh.edu.tw/Linux/fedoralegacy/fedora/2/os/i386/gnupg-1.2.4-2.1.i386.rpm
2.安裝yum更新套件:
rpm -Uvh http://ftp.kh.edu.tw/Linux/fedoralegacy/fedora/2/os/i386/yum-2.0.7-1.1.noarch.rpm
3.修改 /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
# 若您不想更新kernel, 請將下列的 # 刪除!
#exclude=kernel*
[base]
gpgcheck=1
name=Fedora Core $releasever - Base
baseurl=http://ftp.kh.edu.tw/Linux/fedoralegacy/fedora/$releasever/os/$basearch
[updates]
gpgcheck=1
name=Fedora Core $releasever updates
baseurl=http://ftp.kh.edu.tw/Linux/fedoralegacy/fedora/$releasever/updates/$basearch
[legacy-utils]
gpgcheck=1
name=Fedora Legacy utilities for Fedora Core $releasever
baseurl=http://ftp.kh.edu.tw/Linux/fedoralegacy/fedora/$releasever/legacy-utils/$basearch
4.匯入套件驗證用的KEY(GPG KEY):
rpm --import http://www.fedoralegacy.org/FEDORA-LEGACY-GPG-KEY
5.開始進行更新的程序:
yum update
6.開啟 yum 服務:
chkconfig yum on
service yum start