[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BitTorrentのREADMEファイル
矢吹です。
必要に迫られて、Debian Sidの/usr/share/doc/bittorrent/
にあるREADMEを訳をしてみました。
EUC-JPです。upstream mergeになるとよいのですが。
現段階のやつを、ここに投げておきます.
--
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
Yukiharu Yabuki (矢吹幸治) I use Debian GNU/Linux
mail: yabuki@xxxxxxxxxxxxx クレクレタコラは好き / クレクレタコだはイヤ
議論パターンを実践してみませんか?
http://www.shos.info/develop/oo/dscsnptn.html
====+====+====+====+====+====+====+====+====+====+====+====+====+====+
$Id: bittorrent-readme.txt,v 1.2 2005/02/16 10:29:44 yabuki Exp $
This is EUC-JP text!
======================================================================
BitTorrent is a tool for distributing files. It's extremely
easy to use - downloads are started by clicking on hyperlinks.
Whenever more than one person is downloading at once
they send pieces of the file(s) to each other, thus relieving
the central server's bandwidth burden. Even with many
simultaneous downloads, the upload burden on the central server
remains quite small, since each new downloader introduces new
upload capacity.
BitTorrentϡեۤġݥǤBitTorrentϡ -- ϥѡ
åǡɤϤ -- ȤƤñ˻Ȥ
ޤҤȤʾ夬Ʊ˥ɤ(ɤƤ)餬
˥եξʬäơФӰؤ
ڸޤƱ¿ΥɤǤ--- ФΥåץ
٤ϡޤޤǤ --- Τ褦˿ɤ(
)ϡåץǽϤޤ
Windows web browser support is added by running an installer.
A prebuilt one is available, but instructions for building it
yourself are in BUILD.windows.txt
ɥΥ֥֡饦ϻٱ絡ǽȤƥȡ¹Ԥ
(ǽ)ɲäƤ롥ץ졦ӥɤǽˤʤäƤ뤬
ӥɤˤĤƤϡBUILD.windows.txt ˤ롥
Instructions for Unix installation are in INSTALL.unix.txt
UnixؤΥȡϡ INSTALL.unix.txt ˤ롥
To start hosting -
ۥƥϤ롥
1) start running a tracker
1) ȥåư롥
First, you need a tracker. If you're on a dynamic IP or otherwise
unreliable connection, you should find someone else's tracker and
use that. Otherwise, follow the rest of this step.
ǽˡȥåɬפǤ⤷ʤưŪѲIP䡤Գμ
³ξ(ǥȥåΥФΩƤ褦ȤƤ)ʤ顤ʤ
ɤ̤ΥȥåĤѤ褤Ǥʤ(IP
dz줳Ǥ)λĤΥƥåפéäƤäƤ
Trackers refer downloaders to each other. The load on the tracker
is very small, so you only need one for all your files.
ȥåϡߤ˻Ȥޤȥåؤ
ϡؤʤեΤˤҤȤĤɬפǤ
To run a tracker, execute the command bttrack.py Here is an example -
ȥåưˤϡbttrack.pyޥɤǼ¹ԤޤǤϡ
Ȥ -
./bttrack.py --port 6969 --dfile dstate
--dfile is where persistent information is kept on the tracker across
invocations. It makes everything start working again immediately if
you restart the tracker. A new one will be created if it doesn't exist
already.
--dfile ϡȥåƤӽФ줿鵭Ͽ³ŪʾǤ⤷
ʤȥåƵưȤƤ⡤(ȥå)¨¤ƤκȤ
Ϥޤ⤷(ե뤬)¸ߤƤʤϡΤ
Ǥ礦
The tracker must be on a net-addressible box, and you must know the
ip number or dns name of it.
ȥåϡͥåȥãǤ륵ФǤɬפޤ
ʤIPɥ쥹DNSϿƤ̾(FQDNΤȤ)Τ
Ƥɬפ롥
The tracker outputs web logs to standard out. You can get information
about the files it's currently serving by getting its index page.
ȥåϡɸϤ WebΥϤޤʤϡΥǥ
ڡƸƤեˤĤƤξǤ
롥
2) create a metainfo file using btmakemetafile.py
2) btmakemetafile.pyѤƥե롥
To generate a metainfo file, run the publish btmakemetafile and give
it the file you want metainfo for and the url of the tracker
ե롥ȯɽbtmakemetafile(?)¹Ԥ
ե˥ȥåURLȤʤ˾Ϳޤ
./btmakemetafile.py myfile.ext http://my.tracker:6969/announce
This will generate a file called myfile.ext.torrent
, myfile.ext.torrent Ȥե뤬ޤ
Make sure to include the port number in the tracker url if it isn't 80.
⤷줬80ǤʤСȥåURLؤΥܡֹ椬ޤޤƤ뤫
ǧ뤳ȡ
This command may take a while to scan over the whole file hashing it.
ΥޥɤϡեΤϥå夹Τ˥եޤ
The /announce path is special and hard-coded into the tracker.
Make sure to give the domain or ip your tracker is on instead of
my.tracker.
/announceȤѥ̰ơȥåǤ롥
my.trackerˤʤΥȥå()IPɥᥤǤ
ǧƤ
You can use either a dns name or an IP address in the tracker url.
ʤϡȥåURL DNSƤ̾IPɥ쥹Ȥ
Ǥ롥
3) associate .torrent with application/x-bittorrent on your web server
3) .torrent(Ȥĥ)ʤΥ֥Ф
3) application/x-bittorrent ˷ӤĤ롥
The way you do this is dependent on the particular web server you're using.
ˡϡʤȤäƤΥ֥Ф˰¸롥
You must have a web server which can serve ordinary static files and is
addressable from the internet at large.
ʤϡ̤ŪʥեѤǤ̤˥ͥåȤ饢
ǽǤWebФäƤɬפ롥
4) put the newly made .torrent file on your web server
4) .torrent ե֥Фξ֤롥
Note that the file name you choose on the server must end in .torrent, so
it gets associated with the right mimetype.
. Υե̾ mimetype ˷դ뤿ˡ
Ф֤Ƥ롤ʤե̾ϡ.torrentǽäƤ
ɬפ롥
5) put up a static page which links to the location you uploaded to in step 4
5) ƥå4ˤ롤ʤåץɤؤΥŪ
(HTML)ڡ֤ޤ
The file you uploaded in step 4 is linked to using an ordinary url.
ƥå4ˤ뤢ʤåץɤƤեϡ̾URLȤ
ѤƥƤ롥
6) start a downloader as a resume on the complete file
6) ưƴʥե쥸塼ह
You have to run a downloader which already has the complete file,
so new downloaders have a place to get it from. Here's an example -
ʤϡǤˤäƤ봰ʥեоݤ˥¹Ԥ
ʤƤϤϤʤ
./btdownloadheadless.py --url http://my.server/myfile.torrent --saveas myfile.ext
Make sure the saveas argument points to the already complete file.
saveas ϡǤ˴·äƤեξؤ뤳Ȥ
ǧ补
If you're running the complete downloader on the same machine or LAN as
the tracker, give a --ip parameter to the complete downloader. The --ip
parameter can be either an IP address or DNS name.
⤷ƱޥξLANǥȥåȤơ(ե
)¹ԤƤʤ顤--ip ѥ(ե
Ƥ)Ϳ补 --ip ѥϡIP
ɥ쥹DNS̾ΤɤǤ褤
BitTorrent defaults to port 6881. If it can't use 6881, (probably because
another download is happening) it tries 6882, then 6883, etc. It gives up
after 6889.
BitTorrent ϡǥեȤ 6881ΥݡȤѤޤ⤷6881ݡ
ѤǤʤʤ顤(¿ʬ̤ΥɤȯƤΤǤ礦)
BitTorrent ϡ6882 ơ 6883 ޤBitTorrentϡ6889
(õ)ޤ
7) you're done!
7) λǤ
Now you just have to get people downloading! Refer them to the page you
created in step 5.
ޤ䡤ʤϡߤʤɤǤ褦ˤǤޤƥå5
ˤ롤ʤڡߤʤȤޤ
BitTorrent can also publish whole directories - simply point
btmakemetafile.py at the directory with files in it, they'll be published
as one unit. All files in subdirectories will be included, although files
and directories named 'CVS' and 'core' are ignored.
BitTorrent ϡǥ쥯ȥΤ뤳ȤǤޤ- ñˡ
btmakemetafile.py ե뤬äƤǥ쥯ȥꤹ
ϡĤΥ˥å((ñ)ȤƸޤ֥ǥ쥯
ޤƤΥեϡޤޤޤȤϤեǥ쥯ȥ
̾'CVS''core'̵뤷ޤ
If you have any questions, try the web site or mailing list -
⤷䤬ʤ顤WebȤˬ䤹뤫ꥹȤɤ
http://bitconjurer.org/BitTorrent/
http://groups.yahoo.com/group/BitTorrent
You can also often find me, Bram, in #bittorrent of irc.freenode.net
ޤirc.freenode.net#bittorrentͥˤơ錄(Bram)ߤ
뤳ȤǤޤ
(yabuki good-day co jp)
Ūʡְ㤤νƤϴޤޤ
2005/02/16 yabuki