BitTorrent应用

配置

nginx.conf

      location /RPC2 {

                include scgi_params;

                scgi_pass 127.0.0.1:5000;

                #scgi_pass unix:///tmp/rpc.socket;

        }

~/.rtorrent.rc

scgi_port = localhost:5000

制作种子(http seeding, http://172.16.42.57:8080/tmp/bt/应该有dir)

mktorrent -a http://172.16.42.39:9999/announce -w http://172.16.42.57:8080/tmp/bt/ dir

1.bt方式(BitComet, Vuze, 迅雷)

启动track

./bttrack.py --port 9999 --dfile /var/log/bittorrent.log  &

启动ngnix

启动rtorrent(支持xmlrpc)

加入种子并开始(nginx端口8080)

xmlrpc localhost:8080 load_start dir.torrent

2.only http(BitComet, Vuze)

迅雷不支持

猜你喜欢

转载自simplehappy.iteye.com/blog/1337705
今日推荐