Fedora 19 yum proxy setting [closed]
Does anybody know how to go behind the proxy with fedora 19? If I add the proxy= …
Proxy_username=…
,proxy_password=…
lines in my yum.conf file it still won’t work
thanks
It should work. Could you please add a sample configuration you use (certainly without actual username/password/proxy URL)? What kind of output do you get? You can also put your proxy info into
http_proxy
ANDhttps_proxy
environment variables:export http_proxy=http://username@password:proxy.domain.com:port
andexport https_proxy=$http_proxy
yum
doesn't pick proxy information from the environment variables as far as I know. The only place it takes this info is from theyum.conf
file.I have used environment variables with yum in the past. And I tested Yum right now with a fake proxy (e.g. 127.0.0.1:9000 which doesn't exist) and put it into
http_proxy
ANDhttps_proxy
variables. Now, yum is unable to connect to anywhere. So, it seems that it works. :)i had added the following lines in the yum.conf [without quotes] "proxy=http://myproxyaddress:8080" proxy_username=user proxy_password=passwd
and export the environment variables for http_proxy and https_proxy but i yum is unable to connect and give following error..
[root@fedora19 ~]# yum update Loaded plugins: langpacks, refresh-packagekit Error: Cannot retrieve metalink for repository: fedora/19/x86_64. Please verify its path and try again [root@fedora19 ~]#