Dec 2, 2010

CentOS 5 Behind a Proxy

There are few tricks to add/remove programs and update CentOS 5.5 when you are behind a proxy server.

Please note that without a correct proxy configuration, both the "Add/Remove Software" and the "Software Updater" will just hang without giving any error message. So the user will notice that "Add/Remove Software" is not working and taking forever without any visual feedback.

Disable yum's fastest mirror plugin. A complete post about the steps to accomplish this can be found here.

Configure yum to use a proxy server. Details can be found in this well-written post.