1. Check if there is an internet connection
2. If internet connection is ok. edit /etc/yum.conf.
3. look for the proxy settings which would look something like “proxy=http://192.168.1.1:3128″
4. Check if this proxy is working.
5. Delete the whole line if you’re not using an internet proxy server