# wget http://public-yum.oracle.com/public-yum-el5.repo
--2014-03-13 11:36:44-- http://public-yum.oracle.com/public-yum-el5.repo Resolving public-yum.oracle.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address `public-yum.oracle.com'
Your name server configuration in /etc/resolv.conf is broken or missing. I'm betting you can't resolve anything. Fix that before your networking will work.
Agree, Also try disabling the Firewall, Thanks
i created a text file in /etc/yum.repo.c with yum configuration so that yum started working properly.
thank you every1