[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
¤Ç³Î¼Â¤ËÀܳ¤Ç¤¤ë¾ì¹ç)¡¤¤³¤Î»Ä¤ê¤Î¥¹¥Æ¥Ã¥×¤òé¤Ã¤Æ¤¤¤Ã¤Æ¤¯¤À¤µ¤¤¡¥
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