yum through proxy always fails

view story

http://www.linuxquestions.org – Hi, I'm installing software on a Redhat linux in a lab. All internet traffic are through a proxy called proxy.labs so I put proxy=http://proxy.labs:80 in the /etc/yum.conf but when I tried to install anything, I got the following error. What could be the reason? thanks. yum install gcc gcc-c++ autoconf automake Loaded plugins: rhnplugin, security There was an error communicating with RHN. RHN support will be disabled. Error communicating with server. The message was: Connection refused Setting up Install Process No package gcc-c++ available. No package autoconf available. No package a (HowTos)