歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> 使用apt-p2p更新Ubuntu

使用apt-p2p更新Ubuntu

日期:2017/2/28 16:47:56   编辑:Linux教程

在Ubuntu 9.04即將於4月23日正式發行之際,linux/ubuntu/using-apt-p2p-for-faster-upgrades-from-intrepid-to-jaunty/" target=_blank>這篇博文介紹了一種以P2P升級Ubuntu的方法(如果無法連接到其他節點,仍然能夠從鏡像站點升級),能夠有效的降低鏡像站點的負載,避免在發行日造成網絡擁塞。記住在使用apt-p2p之前需要先禁止所有第三方軟件倉庫。

網站目前下線了,以下是鏡像:

1. apt-get install apt-p2p (Not in Hardy and older repos IIRC... for you late/sporadic upgraders)

2. Back up your /etc/apt/sources.list and then edit the file, s/\/\//\/\/localhost:9977\// (hope I got that right -- Guess I could have just used # or something eh?)

3. Not in the guide: edit /etc/apt-p2p/apt-p2p.conf and set UPLOAD_LIMIT ... just in case. :) You probably have to /etc/init.d/apt-p2p restart after that.

4. apt-get update

5. Then make the update... But it's not time for that yet.

Copyright © Linux教程網 All Rights Reserved