Tips: 通过一条命令获取最快的 apt 源镜像

9
2010
# 作者: riku / 本文采用CC BY-NC-SA 2.5协议授权,转载请注明本文链接

众所周知的, Ubuntu 最吸引人的特点之一就是通过 apt 源就可以快速安装各类软件。但是有时候,由于网络等各方面的原因,通过官方源安装程序时下载速度会超慢。这时候我们就会千方百计去寻找可靠的快速源,而通过下面这个 Tips ,你无需多费周折就可以通过一条命令获取最快的 apt 源镜像服务器,并直接添加到 /etc/apt/sources.list 文件中。

事实上这个 Tips 就是利用了前段时间 Ubuntu Night 服务所提供的数据,需注意的是,在运行以下命令后会覆盖掉现有的 /etc/apt/sources.list 文件,所以请务必先做好相应的备份工作

另外,这些源目前只支持 Ubuntu 10.04 LTS (Lucid Lynx ) 。

# 命令:

选择最快的镜像服务器

sudo wget -O /etc/apt/sources.list http://ubuntu9.com/topmirror/sourceslist/topfast

选择你地域内 (国家) 的最快的镜像服务器

sudo wget -O /etc/apt/sources.list http://ubuntu9.com/topmirror/sourceslist/topnear

选择最稳定的镜像服务器

sudo wget -O /etc/apt/sources.list http://ubuntu9.com/topmirror/sourceslist/topstable

我这边帮我自动选择了 u.srt.cn 源

sc2010092515000.png

作者:riku

Bio: 关注新网络、Web2.0、移动应用;Nexus S/Andorid,iPad,FreeBSD,Ubuntu 用户;伪设计师,好推墙运动。
链接:Blog - Twitter - Facebook - 此作者的更多文章

7 Responses to Tips: 通过一条命令获取最快的 apt 源镜像

Avatar

通过一条命令获取最快的 apt 源镜像 | Open your thoughts

WordPress 2.9.2 WordPress 2.9.2

八月 9th, 2010 at 9:47 上午

[...] 摘自:http://wowubuntu.com/get_fast_apt.html [...]

Avatar

通过一条命令获取最快的 apt 源镜像 | Hi_BinGo

WordPress 2.9.2 WordPress 2.9.2

八月 9th, 2010 at 11:56 上午

[...] 发表评论 摘自:Tips: 通过一条命令获取最快的 apt 源镜像*****以后不用烦改源了***** [...]

Avatar

pityonline

Google Chrome 5.0.375.125 Google Chrome 5.0.375.125 GNU/Linux GNU/Linux

八月 9th, 2010 at 2:07 下午

我这里的topfast居然是: http://mirrors.mit.edu/ubuntu 看来是我用vpn的关系……

[Reply]

Avatar

kendisk

Firefox 3.6.8 Firefox 3.6.8 Ubuntu 10.04 Ubuntu 10.04

八月 13th, 2010 at 5:05 下午

用来这个后,我悲剧了,忘记备份鸟。/

[Reply]

Avatar

google

Opera 10.70 Opera 10.70 GNU/Linux GNU/Linux

八月 16th, 2010 at 11:05 上午

这个没什么必要的说

[Reply]

Avatar

gb

Namoroka 3.6.15pre Namoroka 3.6.15pre Ubuntu 10.04 x64 Ubuntu 10.04 x64

二月 23rd, 2011 at 12:10 下午

ubuntunight 现在已经支持10.10,11.04了

[Reply]

Avatar

Ubuntu Night 已提供 Natty 源列表 [新闻] | Wow!Ubuntu

WordPress 3.1.1 WordPress 3.1.1

四月 12th, 2011 at 9:59 上午

[...] 另外,这里有一条 tips ,可以通过一条命令从 Ubuntu night 上获取最快的 apt 源镜像。 [...]

Comment Form

top

无觅相关文章插件,快速提升流量