How to configure proxy for common linux apps
pear
to use a proxy with PEAR, you should use
$ pear config-set http_proxy http://proxypc.localdomain
yum
For yum to work you have to add these settings to /etc/yum.conf
export http_proxy=http://192.168.65.253:8080
export ftp_proxy=http://192.168.65.253:8080
wget
For wget to work add this to ~./bash_profile
export http_proxy=http://192.168.65.253:8080
export ftp_proxy=http://192.168.65.253:8080
then run command
source ~./bash_profile
Comments
it helped for me for wget