服务器维护,服务器代维,安全设置,漏洞扫描,入侵检测服务

dirtysea 发表于 2010-7-23 17:05:52

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>&nbsp;</P>
<P></P>
<P>&nbsp;</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&amp;


chmod +x /root/bin/bt.sh
</PRE>
<P>&nbsp;</P>
<P></P>
<P>再打开网页http://ip:6969/就可以显示:<BR><BR>BitTorrent download info </P>
<P>&nbsp;&nbsp;&nbsp; * tracker version: 3.9.1 </P>
<P>&nbsp;&nbsp;&nbsp; * server time: 2009-06-19 05:44 UTC </P>
<P>not tracking any files yet… </P>
<P>&nbsp;</P>
<P>&nbsp;</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 &amp; </P>
<P>&nbsp;</P>
<P>再打开http://gaojinbo.com:6969/<BR><BR>BitTorrent download info </P>
<P>&nbsp;&nbsp;&nbsp; * tracker version: 4.0.0 </P>
<P>&nbsp;&nbsp;&nbsp; * server time: 2010-07-09 07:42 UTC </P>
<P>info hash&nbsp;&nbsp;&nbsp; complete&nbsp;&nbsp;&nbsp; downloading&nbsp;&nbsp;&nbsp; downloaded </P>
<P>8c0123e8bf905af0dba15af0f783a7ba51731ab9&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0 </P>
<P>0 files&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0/0 </P>
<P>&nbsp;&nbsp;&nbsp; * info hash: SHA1 hash of the "info" section of the metainfo (*.torrent) </P>
<P>&nbsp;&nbsp;&nbsp; * complete: number of connected clients with the complete file </P>
<P>&nbsp;&nbsp;&nbsp; * downloading: number of connected clients still downloading </P>
<P>&nbsp;&nbsp;&nbsp; * downloaded: reported complete downloads (total: current/all) </P>
<P>&nbsp;&nbsp;&nbsp; * transferred: torrent size * total downloaded (does not include partial transfers) </P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>完成!</P>
页: [1]
查看完整版本: centos linux下安装bt server V1.1