gsiva
July 23, 2014, 2:34am
1
Hi Folks,
I have installed Centos-6.4 in my VMware. I have enabled the proxy settings in the network and I am able to access the internet through GUI, but unable to browse via the command line. I did the below options as:
1) Added the proxy setting in /etc/environment file.
export http_proxy="http"//www.xxxx.com/xxx:80"
2) Added in the /etc/profile file:
export http_proxy="http"//www.xxxx.com/xxx:80"
but, this doesn't helped me out.
-Siva
What command line web client are you using? wget, lynx,..? What error do you get? Does mozilla/firefox work?
Your proxies are wrong.
Try:
export http_proxy="http://www.xxxx.com/xxx:80"
You will have to logout and log back in for the settings to take effect.
try this way
export http_proxy="http://USERNAME:PASSWORD@your_proxy_server:proxy_server_port"
Example :
export http_proxy="http://akshay:nopassword@192.129.3.5:3128"
export http_proxy="http://akshay:nopassword@myserver.org:3128"
gsiva
July 24, 2014, 12:01am
5
Thanks for your replies.
Yes, I can access the webpages and download from the browser, but still can't do it with the command line.