| 订阅 RSS

centos linux下安装bt server V1.1

七月 22nd, 2010 Posted in Centos, Debian, Ubuntu | 116次浏览

Author:gaojinbo
Time:2010-7-9

根据以下文档,你可以在任意linux发行版下建立自己的bt服务器,linux bt server

 

1.下载安装

http://download.bittorrent.com/dl/BitTorrent-4.0.0-GPL.tar.gz 

tar xvzf BitTorrent-4.0.0-GPL.tar.gz 

cd BitTorrent-4.0.0-GPL 

python setup.py install

2.启动bt cracker

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 

 

再打开网页http://ip:6969/就可以显示:

BitTorrent download info

* tracker version: 3.9.1

* server time: 2009-06-19 05:44 UTC

not tracking any files yet…

 

 

3.种子制作:

btmaketorrent.py http://gaojinbo.com:6969/announce /gaojinbo.avi

 

 

4.发布种子:

nohup btdownloadheadless.py /gaojinbo.avi.torrent –save_as /gaojinbo.avi &

 

再打开http://gaojinbo.com:6969/

BitTorrent download info

* tracker version: 4.0.0

* server time: 2010-07-09 07:42 UTC

info hash    complete    downloading    downloaded

8c0123e8bf905af0dba15af0f783a7ba51731ab9    1    0    0

0 files    1    0    0/0

* info hash: SHA1 hash of the "info" section of the metainfo (*.torrent)

* complete: number of connected clients with the complete file

* downloading: number of connected clients still downloading

* downloaded: reported complete downloads (total: current/all)

* transferred: torrent size * total downloaded (does not include partial transfers)

 

 

完成!

Tags:

5 Responses to “centos linux下安装bt server V1.1”

  1. 91526 Says:

    很不错的博客 内容很丰富 也希望博主能够回访 大家彼此交流一下


  2. 石器时代私服 Says:

    不错,前来支持你哦。。


  3. 广东省南方技师学院 Says:

    广东省南方技师学院


  4. 61推广软件站 Says:

    不错不错,路过!!! http://www.tg61.com


  5. gz8j Says:


留下您的脚印