Monday, February 23, 2009

connect yum using proxy, yum cannot connect through proxy

Yum can connect with external repository if http_proxy , ftp_proxy environment variables are set properly.

Set the environment variables (from command line):

# http_proxy=""
# ftp_proxy=""

/* if PROXY host is & PROT is 3128 */
Export the variable (from command line):

# export http_proxyexport ftp_proxy

Test yum & reply me.

No comments: