apt-get 代理设置

陈着 posted @ Sep 09, 2009 09:39:33 AM in Unix/linux , 2304 阅读

 刚从中大搬过华工,今天才有网上。之前的中大内部源显然不能用了,于是找中科大的老源,apt-get update出现错误,貌似不能直接连到某些国外网站。。。华工是教育网阿。。悲

还是解决问题吧。。。设代理:

sudo gedit /etc/apt/apt.conf

加入一行:

Acquire::http::Proxy "http://yourproxyaddress:proxyport";

然后当然是:

sudo apt-get update

试了下,速度210k/s,没办法,用的是代理嘛

ps:华工的网速还是超快的,看视频一点都不卡

 

 

 

Head_small
Tiger Soldier 说:
Sep 17, 2009 08:57:02 PM

教育网就是个悲剧啊

Avatar_small
Molly 说:
Apr 02, 2019 01:35:40 PM

I am not getting the actually theme color and result for the download this one to make changes in my mobile. This is completely Chinese and tomorrow to the friend I will ask it with the writing service of this one have only logically impressions for the users.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter