BitTorrent应用
生活随笔
收集整理的這篇文章主要介紹了
BitTorrent应用
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
配置
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/應(yīng)該有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)
迅雷不支持
?
?
總結(jié)
以上是生活随笔為你收集整理的BitTorrent应用的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 场景实践:使用函数计算打包下载OSS文件
- 下一篇: C++生成GIF小结