First of all we need mount Rhl 5.0 Linux image or dvd in Yum folder then we
find the location of packages.
For mount Rhl 5.0 Linux image or dvd we write the below mentioned command on the terminal
and follow the step for configuration Yum :
-
mkdir /home/oracle/Yum
-
mount - o loop /home/oracle/ Rhl 5.0 Linux .iso /home/oracle/Yum
-
cd /home/Yum/server/package
-
ls - to see availability of packages
-
cd /etc/yum.repos.d
-
vi server.repo
-
write following parameters in it
[Server]
name=Serverrepo
baseurl=file:///home/Yum/server/package
enabled=1
gpgcheck=0
gpgenabled=0
And save by wq!
-
cd /home/
-
yum clean all
-
yum list all
-
yum install packages name