Code Monkey home page Code Monkey logo

filebt's Introduction

filebt

基于murder的P2P文件分发工具

在Twitter开源的murder的基础上,增加一些便于使用的脚本。

产生背景

不管是使用SaltStack还是Ansible,仅支持小文件的分发,在分发大文件的时候速度非常慢,甚至会有卡死的现象,之前用过murder,封装一个方便自己使用的小工具,声明一下,真的没有什么创新,呵呵...

部署手册

1.克隆filebt代码

[root@linux-node1 ~]# git clone https://github.com/unixhot/filebt.git

2.部署tracker服务

[root@linux-node1 ~]# cd filebt/install/
[root@linux-node1 install]# ./install.sh tracker

使用手册

1.生成一个100M的测试文件

[root@linux-node1 ~]# dd if=/dev/zero of=bigfile.tar.gz count=1 bs=100M

2.为测试文件生成种子文件

[root@linux-node1 ~]# python /opt/filebt/murder_make_torrent.py bigfile.tar.gz 192.168.56.11:8998 bigfile.tar.gz.torrent

filebt's People

Contributors

unixhot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.