Thursday, October 6, 2011

apt-get through proxy server under Debian

Declare and export http_proxy and ftp_proxy into /etc/bash.bashrc

FTP_PROXY=http://your_net_account_username:your_net_account_password@proxy_host:proxy_port
HTTP_PROXY=http://your_net_account_username:your_net_account_password@proxy_host:proxy_port
export FTP_PROXY
export HTTP_PROXY


Open new console.... and you're ready....

Bye..

No comments:

Post a Comment