返回上一页  首页 | cnbeta报时: 20:18:27
Ubuntu有了第一个全球CDN更新源
发布日期:2012-12-13 18:56:00  稿源:lingyired

流行的Linux发行版Ubuntu日前有了以CDN方式分发的更新源。这种方式比传统的镜像服务器的优势在于CDN服务会自动根据您的位置选择最快的路线进行下载。目前mozilla的开源仓库也提供了此种加速方式,取代了过去的镜像服务器。提供CDN服务的是中文互联网业界知名人士Livid。
Livid :
这是一个由 ORCA.io 提供加速的 Ubuntu 源,替换你目前的 /etc/apt/sources.list 里的那个地址即可从离你服务器最近的地方下载 Ubuntu 包。
如果你目前在用的源不够快,那么可以试试这个。为了达到最优效果,推荐你在 /etc/resolv.conf 里使用 ISP 的 DNS。
Ubuntu 12.10 下使用这个源: sudo gedit /etc/apt/sources.list然后将里面的内容替换成:

deb http://ubuntu.v2ex.com/ubuntu/ quantal main restricted universe multiverse
deb-src http://ubuntu.v2ex.com/ubuntu/ quantal main restricted universe multiverse
deb http://ubuntu.v2ex.com/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://ubuntu.v2ex.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://ubuntu.v2ex.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://ubuntu.v2ex.com/ubuntu/ quantal-backports main restricted universe multiverse
deb http://ubuntu.v2ex.com/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://ubuntu.v2ex.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src http://extras.ubuntu.com/ubuntu quantal main

将上面的替换掉/etc/apt/sources.list 里面的即可。


我们在FebBox(https://www.febbox.com/cnbeta) 开通了新的频道,更好阅读体验,更及时更新提醒,欢迎前来阅览和打赏。
查看网友评论   返回完整版观看

返回上一页  首页 | cnbeta报时: 20:18:27

文字版  标准版  电脑端

© 2003-2025