Login to your server
ssh yourserver.tldInstall the necessary programs
apt-get install bittorrent bittornadoUpload the file you want to provide via BitTorrent
scp ./input.ext username@server.tld:/webrootcreate the torrent files
btmakemetafile http://yourserver.tld/announce input.ext --target output.torrentStart the tracker
bttrack.bittorrent --port 6969 --dfile btstatus &Seed the file
nohup btdownloadheadless --responsefile ./output.torrent --super_seeder 1 > /dev/null 2>&1 &Logout from the server
exitAnd Download the file with your preferred BitTorrent client at
http://yourserver.tld/outfile.torrentGet download statistics at
http://yourserver.tld:6969/
Post new comment