Scripts 学盟

标题: Ubuntu有了第一个全球CDN更新源 [打印本页]

作者: 那个谁    时间: 2012-12-13 19:13:42     标题: Ubuntu有了第一个全球CDN更新源


        感谢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 里面的即可。


               
               
               

               
                顶一下
               
               
               
               
               
               
               





欢迎光临 Scripts 学盟 (http://www.iscripts.org/) Powered by Discuz! X2