From: Cameron Dale Date: Tue, 15 Jul 2008 18:34:45 +0000 (-0700) Subject: Second submission of debaday article. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9c38691c68afe46972703bf1bad813c6b553b5ca;p=quix0rs-apt-p2p.git Second submission of debaday article. --- diff --git a/docs/debaday.html b/docs/debaday.html index a867501..21c80bb 100644 --- a/docs/debaday.html +++ b/docs/debaday.html @@ -20,6 +20,15 @@ mirror so your download will not fail.

How it works

+

Apt-P2P is a daemon that runs in the background, responding to any +requests from apt for files to download, and sharing any downloaded +files with other users. The sharing is all done using HTTP, so it +operates as both a server for the requests from apt and other peers, and +as a client to download from other peers and mirrors. Also, if you go to +http://localhost:9977/ in your +browser on the machine Apt-P2P is running on, you will get a nice +statistical display of what it is doing.

+

The main operation of Apt-P2P is the maintenance of a Distributed Hash Table (DHT) used to find and store peers to download from for @@ -40,29 +49,6 @@ download speeds (similar to BitTorrent). For more information, you can go to the Apt-P2P home page: http://www.camrdale.org/apt-p2p/.

-

Statistics

- -

Since Apt-P2P is a daemon, it doesn't have any user interface for a -nice screenshot. However, if you go to -http://localhost:9977/ in your -browser on the machine Apt-P2P is running on, you will get a nice -display of various statistics. These include:

- - - -

Don't be discouraged if you don't upload much to, or download much -from, other peers yet. Apt-P2P is still young and needs more people to -use it to increase the chances of finding peers for files. Tell your -friends!

-

Comparison with other P2P programs

Other than DebTorrent, @@ -90,6 +76,13 @@ technologies (e.g. twisted). be available in Intrepid for Ubuntu. It can be installed by aptitude install apt-p2p.

+

First, it is VERY important to set up port +forwarding if your machine is behind a firewall or router/NAT. The +default port you need to forward is 9977, both UDP and TCP. More +information on how to determine if you are connectable can be +found +here.

+

Setting up apt to use Apt-P2P as a proxy is easy, especially if you have used other proxy software (e.g. apt-proxy, apt-cacher, approx) in the past. The configuration change is the same, simply adding a @@ -135,10 +128,4 @@ deb-src http://localhost:9977/www.backports.org/debian etch-backports main contr

Then, run an apt-get update and start installing packages.

-

It's also VERY important to set up port forwarding -if your machine is behind a firewall or router/NAT. More information on -how to determine if you are connectable can be -found -here.

-