How to update a redhat 5.x when yum is not installed

How to update a redhat 5.x when yum is not installed

Sometime,

It’s hard to discover that someone failed to install properly a server with the right tools.

Today, it was a Redhat Enterprise Server 5.4 “BareMetal” not updated since a while …

So first, I uploaded the ISO from 5.11 on the server,

Second, created a local directory

Third, mounted the ISO on it

At the end, I finished by creating the local.repo file to allow yum to find what it needs.

 

But, “YUM” was not installed on the server ! Right, it’s time to install it with RPM.

First, go to the local repository directory and then in the directory “Server”, and copy paste this line:

You should have something similar:

And now,
you can update the server via a simple yum update -y.

Leave a Reply

Your email address will not be published. Required fields are marked *