Ubuntu 有了第一個全球 CDN 更新源

jopen 11年前發布 | 6K 次閱讀 Ubuntu

流行的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 里面的即可。

Ubuntu 有了第一個全球 CDN 更新源

來自: http://www.ubuntusoft.com/v2ex-ubuntu-update-source.html

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!