Linux论坛's Archiver

《开源》旗舰电子杂志2009年第1期火热下载!

如是 发表于 2008-8-28 09:42

apt-p2p

疯了, 才发现还有apt-p2p这种好东西.[code]
DESCRIPTION
       apt-p2p  is a helper for downloading Debian packages files with APT.  It will download any needed files from other Apt-P2P peers in a
       peer-to-peer manner, and so reduce the strain on the Debian mirrors.
   APT SETUP
       In order for APT to send it's requests to apt-p2p, the sources.list entries must be modified to point to the local  apt-p2p  address.
       Unless  you  have  changed  the  default port, then adding "localhost:9977/" to the beginning of each entry should be sufficient. For
       example, if your sources.list contains a line like this:
              deb http://ftp.us.debian.org/debian etch main contrib non-free
       then replace it with this:
              deb http://localhost:9977/ftp.us.debian.org/debian etch main contrib non-free
       You can do the same with 'deb-src' lines as well, and apt-p2p will be used to download and share your source packages as well.
[/code]

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.