export http_proxy=http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/
export ftp_proxy=http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/
See this link for details.
I also used the following command to add the proxy to the .bashrc as specified here.
gksudo gedit /etc/bash.bashrc
and also to the apt.config.
sudo gedit /etc/apt/apt.conf
No comments:
Post a Comment