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="http://192.168.1.1:3128"
# ftp_proxy="http://192.168.1.1:3128"
/* if PROXY host is http://192.168.1.1/ & PROT is 3128 */
Export the variable (from command line):
# export http_proxyexport ftp_proxy
Test yum & reply me.
Monday, February 23, 2009
connect yum using proxy, yum cannot connect through proxy
Labels:
Fedora,
rpm or yum
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment