centos linux下安装bt server V1.1
<P>根据以下文档,你可以在任意linux发行版下建立自己的bt服务器,linux bt server</P><P>1.下载安装 </P><PRE><A href="http://download.bittorrent.com/dl/BitTorrent-4.0.0-GPL.tar.gz"><FONT color=#006666>http://download.bittorrent.com/dl/BitTorrent-4.0.0-GPL.tar.gz</FONT></A>
tar xvzf BitTorrent-4.0.0-GPL.tar.gz
cd BitTorrent-4.0.0-GPL
python setup.py install </PRE>
<P> </P>
<P></P>
<P> </P>
<P>2.启动bt cracker </P><PRE>vi /root/bin/bt.sh
#!/bin/bash
cd /usr/bin
nohup python bttrack.py --port 6969 --dfile dfile.log&
chmod +x /root/bin/bt.sh
</PRE>
<P> </P>
<P></P>
<P>再打开网页http://ip:6969/就可以显示:<BR><BR>BitTorrent download info </P>
<P> * tracker version: 3.9.1 </P>
<P> * server time: 2009-06-19 05:44 UTC </P>
<P>not tracking any files yet… </P>
<P> </P>
<P> </P>
<P>3.种子**: </P><PRE>btmaketorrent.py http://gaojinbo.com:6969/announce /gaojinbo.avi</PRE>
<P>4.发布种子: </P>
<P>nohup btdownloadheadless.py /gaojinbo.avi.torrent –save_as /gaojinbo.avi & </P>
<P> </P>
<P>再打开http://gaojinbo.com:6969/<BR><BR>BitTorrent download info </P>
<P> * tracker version: 4.0.0 </P>
<P> * server time: 2010-07-09 07:42 UTC </P>
<P>info hash complete downloading downloaded </P>
<P>8c0123e8bf905af0dba15af0f783a7ba51731ab9 1 0 0 </P>
<P>0 files 1 0 0/0 </P>
<P> * info hash: SHA1 hash of the "info" section of the metainfo (*.torrent) </P>
<P> * complete: number of connected clients with the complete file </P>
<P> * downloading: number of connected clients still downloading </P>
<P> * downloaded: reported complete downloads (total: current/all) </P>
<P> * transferred: torrent size * total downloaded (does not include partial transfers) </P>
<P> </P>
<P> </P>
<P>完成!</P>
页:
[1]