Not able to user wget and yum
hi all.......
I am working with fedora 9 ..My system is connected to the internet through proxy server, so i am not able to use the commands like wget and yum is there any way to make these command work having proxy server connected to my system.... i have tried using following command http_proxy=ip_of_proxy:8080 wget http://www.kernel.org/pub/linux/kern...ch-2.6.29.6.gz output is Proxy request sent, awaiting response... 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ) 2009-07-14 10:44:27 ERROR 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.). It will not ask for password or username...In which file should i specify username and password to proxy.... can anyone please suggest me regarding this issue......... Thanks in advance ............ |
/can anyone please suggest me regarding this issue.........
yes.. Code:
http_proxy=http://username:password@ip_of_proxy:8080 wget http://www.kernel.org/pub/linux/kern...ch-2.6.29.6.gz |
I don't know if yum is able to read the http_proxy environment variable, as wget does. Eventually you can try to edit /etc/yum.conf and add the following in the [main] section:
Code:
proxy=http://proxy-address:proxy-port-number |
Quote:
How can we solve this issue?? |
Code:
The problem here is my password has an @ symbol and it is conflicting with @ip_of_proxy btw you can use wget direct but you need to create .wgetrc in your $HOME so wget can make direct to proxy but still there the problem with your p@ssword which you need to settle first or maybe some others from here know how to solve it , i also need to know :) |
What if you set the environment variable without user and password and use wget options to provide authentication?
Code:
$ export http_proxy=http://proxy-address:proxy-port-number |
All times are GMT -5. The time now is 03:24 AM. |