we are going to configure my YUM software to use proxy to get my LINUX updated with new softwares all the times with repositories available on internet.

OS = Fedora 10

1) Configure yum.conf

vi /etc/yum.conf
enter following lines at bottom of [main] section


2) Export http_proxy variable

export http_proxy=”http://yourproxyaddress:80/”

3) Export http_proxy variable in bash login script

vi /root/.bash_profile

export http_proxy=”http://yourproxyaddress:80/”

This will help you to export http_proxy variable automatically everytime you login.

Now use “yum list” command to check for its working.
yum list