Now I have a fully updated system. Following is the brief summary of the steps I took
1) Since I was behind a proxy I had to export environment variable http_proxy.
2) Downloaded yum-2.0.8-1.noarch.rpm fromhttp://linux.duke.edu/projects/yum/download/2.0/yum-2.0.8-1.noarch.rpm
3) Installed it usingrpm –i yum-2.0.8-1.noarch.rpm
4) Configured my yum.conf to look like this:
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
#base]
#name=Red Hat Linux $releasever - $basearch - Base
#aseurl=http://mirror.dulug.duke.edu/pub/yum-
repository/redhat/$releasever/$basearch/
[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/3/os/i386/
gpgcheck=1
[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://mirror.centos.org/centos/3/updates/i386/
gpgcheck=1
5) Downloaded the gpg key for CentOS rpm packages fromhttp://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3
6) Imported the key like this:rpm --import RPM-GPG-KEY-CentOS-3
7) Run “yum –y update”. Now Sit back and enjoy seeing your system being updated.
Enjoy!
Shahjahan Siraj
Install Yum in RHEL3
Ah!! You are here, which means that you do want to know about me.
The name's Rubel & I live in BANGLADESH. Well, there isn't a biography of mine available, I'm not a celebrity.
However, I'm a GEEK, I live, breathe, sleep & talk INTERNET. This is my place on INTERNET & I'm happy with it. I love surfing INTERNET & getting to know good websites & believe me, though I've seen a lot of them, I'm still thirsty, b'coz, yeh dil mange more.
I am also complete the CCNA, CCNP, MCSA, MCDBA & MCSE certification. Now i am studying to sit the exam CCIE & RHCE.
2 $type={blogger}:
Thanks a lot! This saved my life!
I left the last comment.
Only one thing to note.
Downloading yum '.noarch' rpm is unavailable at pointed url.
You can find it here instead:
http://mirror.datapipe.net/local/redhat-3ES/i386/yum-2.0.8-1.noarch.rpm
Cheers!
Post a Comment