Configuration yum

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 :
  1. mkdir /home/oracle/Yum
  2. mount - o loop /home/oracle/ Rhl 5.0 Linux .iso /home/oracle/Yum
  3. cd /home/Yum/server/package
  4. ls - to see availability of packages 
  5. cd /etc/yum.repos.d
  6. vi server.repo
  7. write following parameters in it

    [Server]
    name=Serverrepo
    baseurl=file:///home/Yum/server/package
    enabled=1
    gpgcheck=0
    gpgenabled=0

    And save by  wq!
     
  8. cd /home/
  9. yum clean all  
  10. yum list all
  11. yum install packages name