About the author

Photo of sanduhrs
sanduhrs

BitTorrent on Debian How-to

Login to your server

ssh yourserver.tld

Install the necessary programs

apt-get install bittorrent bittornado

Upload the file you want to provide via BitTorrent

scp ./input.ext username@server.tld:/webroot

create the torrent files

btmakemetafile http://yourserver.tld/announce input.ext --target output.torrent

Start 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

exit

And Download the file with your preferred BitTorrent client at

http://yourserver.tld/outfile.torrent

Get download statistics at

http://yourserver.tld:6969/

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Website powered by lovely Drupal · Microformats · XML Feed · Valid XHTML, CSS · No www.