http://blog.chinaunix.net/u3/109488/showart_2138366.html
1.vi ~/.bashrc
http_proxy=http://192.168.0.1:81
export http_proxy
#becare,didn't ""
2.vi /etc/apt/apt.conf
Acquire::http::proxy "http://192.168.0.43:81/";
使用apt-get update或者任何您想用的网络工具测试代理。我使用firestarter查 看活动的网络连接。
1.vi ~/.bashrc
http_proxy=http://192.168.0.1:81
export http_proxy
#becare,didn't ""
2.vi /etc/apt/apt.conf
Acquire::http::proxy "http://192.168.0.43:81/";
使用apt-get update或者任何您想用的网络工具测试代理。我使用firestarter查 看活动的网络连接。