apt-get添加代理
vim /etc/apt/apt.conf
Acquire::http::proxy "http://username:password@proxy_adress:port_number";
#export http_proxy=http://username:password@proxy_address:port_number
#可以加在${HOME}/.bashrc里,开机自动运行
apt-get update
wget 代理
vim .wgetrc
http-proxy = web-proxy.proxy.com:8080