So, I am changing boxes like shirts and have to transfer files around. I found few tutorials using ftp fxp but both server need to support fxp and in my case it does not work. Other workaround is to use openbittorrent.com but it again did not work in my case. Lucky me :)
So, I went with opentracker bittorrent tracker. It is actually simple and it works!
I used information on opentracker site:
Code:
http://erdgeist.org/arts/software/opentracker/
I'm using Ubuntu Server 11.04. So, maybe on other linux distributions it will not work, like on Centos 5 I had troubles during "make".
So, do the following as a root
Either use sudo before commands, or do sudo su before to change to root.
Install CVS:
Code:
apt-get install cvs
Get libowfat source:
Code:
cvs -d :pserver:cvs@cvs.fefe.de:/cvs -z9 co libowfat
Cd to libowfat directory:
Run make:
If everything went well, proceed with opentracker source download
Code:
cvs -d:pserver:anoncvs@cvs.erdgeist.org:/home/cvsroot co opentracker
Get inside opentracker directory
[OPTIONAL] Check Makefile in case you want some variables set - consult opentracker website for more information on this
Run make
[OPTIONAL] In case you want default settings, skip to the how to start opentracker part. If all went well, copy opentracker config file
Code:
cp opentracker.conf.sample opentracker.conf
Inside config file uncomment listen line according to your needs:
For example I want to run on tcp port, so I uncommented and changed it to:
Code:
listen.tcp ip_address:port
You can also set chroot directory in the bottom of the conf file.
Code:
tracker.rootdir /usr/local/etc/opentracker
Create directory opentracker will chroot to when running (default /usr/local/etc/opentracker/ )
Code:
mkdir /usr/local/etc/opentracker/
You can now start opentracker in normal mode with
or
Code:
./opentracker.debug
for debug mode
For options use
to see options possible
Default options are opentracker started on all interfaces on udp port 6969
You can define ports and chroot directory in opentracker.conf file. In case you want to use it with config file add -f <config file> to command line
Starting opentracker:
Default settings
Custom settings
Code:
./opentracker -f <config_file>
Check if port you use for opentracker is open with tools like
Code:
http://ping.eu/port-chk/
Now create torrent on box1 - tracker url : http://ip_address:port/announce (e.g. http://222.222.222.222:22222/announce)
Check start seeding, and uncheck Private torrent option when creating a torrent file. When torrent finished, download it, and add to box2 and if everything is working it should start copying from box1 to box2 :)