歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> Linux業界 >> Ubuntu有了第一個全球CDN更新源

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

日期:2017/3/2 13:44:48   编辑:Linux業界
流行的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 裡面的即可。

Copyright © Linux教程網 All Rights Reserved