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
Start the tracker
bttrack.bittorrent --port 6969 --dfile btstatus &
Seed the file
nohup btdownloadheadless --responsefile ./output.torrent --super_seeder 1 > /dev/null 2>&1 &