共計 1236 個字符,預計需要花費 4 分鐘才能閱讀完成。
丸趣 TV 小編給大家分享一下 Ubuntu 如何替換 CDN 方式分發的更新源,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
這是一個由 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 方式分發的更新源”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注丸趣 TV 行業資訊頻道!
正文完