1. go to rpm.pbone.net to download the yum software package of rhel3 .. wgetftp: // mirror. switch. ch/pool/2/mirror/eldk/4.2/ppc-linux-x86/distribution/ppc_8xx/RPMS/yum-arch-2.2.2-1.el3.rf.noarch.rpm to install the yum package. Rpm-ivhyum-arch
1. Go to the rpm.pbone.net site to download the yum software package of rhel3 ..
Wget ftp://mirror.switch.ch/pool/2/mirror/eldk/4.2/ppc-linux-x86/distribution/ppc_8xx/RPMS/yum-arch-2.2.2-1.el3.rf.noarch.rpm
Install the yum package.
Rpm-ivh yum-arch-2.2.2-1.el3.rf.noarch.rpm
2. Edit the/etc/yum. conf file.
Add the following content:
[Main]
Cachedir =/var/cache/yum
Debuglevel = 2
Logfile =/var/log/yum. log
Pkgpolicy = newest
Distroverpkg = RedHat-release
Tolerant = 1
Exactarch = 1
[OS]
Name = Red Hat Linux $ releasever-$ basearch-OS
Baseurl = http://mirrors.sohu.com/centos/3.4/ OS /?basearch
# [Updates]
# Name = Red Hat Linux $ releasever-$ basearch-updates
# Baseurl = http://mirrors.sohu.com/centos/3.4/ OS /?basearch/updates
3. Install the KEY file
Rpm -- import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3
In this way, you can use yum ..