Start a full fledged torrent tracker on your PC easily

Posted by Saad Ibrahim 24 June, 2008

These days torrent are the most popular file sharing medium, almost everybody downloads stuff off torrents and now imagine you can create a torrent tracker on your own PC easily which also doesn’t uses much resources, well one might wonder the uses of hosting a tracker on one’s own PC, thinking of it one immediately comes to my mind that is if you are using a Internet connection where the local traffic is uncapped then you can start a tracker and start sharing stuff with your fellow local users with higher speeds than your Internet speeds. now if you have found a use for the tracker continue to read the instructions:

This is what you require to start a torrent tracker:

1. Xampp – allows you to start a web server on your PC bundling apache, mysql, file FTP server and SMTP server into an easy to install packages

for Linux you can use lampp but this article only caters windows users

Actually you can install any kind of web script on Xampp/lampp (or any such application) e.g WordPress, phpbb etc

2. Xbtit or Btit (I will be using Xbtit in this guide) – you can get both from btiteam.org

I chose Xbtit because you can easily install plugins for it using the administrative panel

P.S aradi tracker is also powered by Btit tracker software

Step by step guide:

1. download and Install Xampp, during the installer it will give you option to set apache, my SQL and filezilla FTP as system service so they start with the system , do this if you want your server to start with your PC making it available all the time

2. now download Xbtit and extract the files, now copy all the files placed in the Xbtit_xxx folder (xxx is the version number) to the htdocs folder in the Xampp directory (usually C:/Xampp/htdocs) – once you have copied all the files this will replace the original Xampp index.php file which has the redirect code for the configuration page, now everytime you open http://127.0.0.1 in your browser it will open your tracker page, if you want to access your Xampp control panel you will have to visit http://127.0.0.1/xampp in your browser

3. now that you have copied the files correctly open http://127.0.0.1 in your  browser and Xampp will present an start page for you which will ask you for your language click on your language and move on

4. now it will show you a page which has many links on the left, click on status to check if everything is working fine, if something shows up as disabled open the Xampp control panel (open it from the Xampp start menu folder) and start that service

5 this is the most important step, make your Xampp installation secure, visit the Xampp security  page by clicking the security link on the left side ,Xampp will show you the security problems and the way to fix them, just make sure you remember the phpmyadmin password as you would require it in step no 6 and 11

6. now that everything is working fine, click on the phpmyadmin link on the left side this will open a login page, the default username is root and the password is the phpmyadmin password you set in the previous step once you login it will load a complex looking page, here you need to make a database named tracker, to do that type tracker in the text box below “create new database:” heading and press create

sshot-2

it will show you a message stating “Database tracker has been created.” it means everything went fine

7. now in your browser visit http://127.0.0.1 this will now start the Xbtit installer (much like the WordPress installer)

sshot-13

8. click start and now it will check if everything is ready for the install and will show you the stats , now click next

sshot-21

9. now it will ask you for the database details

sshot-3

details are as follows:

MySQL Server (localhost works ok for most servers): localhost

MySQL Username: root

MySQL Password: put the password that you had set in step no 5

MySQL Database: tracker (we created this in step 5)

MySQL Table Prefix: leave it alone

now click next

10.  click next again on the page that shows up now and it will start importing your tables to your database and when it finishes it will show you a message “The database.sql has been imported to your database. ” , click next

11. now it will prompt you for the tracker settings

sshot-5

put in the site name and the site URL and leave everything else as it is ( I have noticed there is a problem with the SMTP server in Xampp that’s why the user  validation mode doesn’t works so you will have to use admin validation method or no validation), click next and it will show you a page telling that all setting were saved

12. now it will prompt you to create an owner account so that you can manage your tracker put in the settings and click next and it will give you a success message “Creating Owner Account is done.”

sshot-6

13. you are done with the installation and it will give an installation completed message

sshot-7

now click on go to your tracker link and log in to your tracker and start customizing your tracker by going in your admin panel

Now start uploading torrents and sharing

Note: if you have an dynamic IP use these services so that you don’t have to share your IP with your users every time the IP changes:

No-IP

DynDNS

If you enjoyed this post, make sure you subscribe to my RSS Feed
Share and Enjoy:
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Facebook
  • Technorati
  • E-mail this story to a friend!
  • Twitter
  • Yahoo! Buzz
Categories : How To's Tags : , , , ,

Comments
January 4, 2009

Hi,
Thanks for the great tutorial.
If I enter my remote address in for the Site-Url then my site wont work. My router requires that the host queries itself on ‘localhost’ or the local ‘ip’ address.
If I enter ‘local host’ as the Site-Url then obviously nobody can access the site remotely.
Is there a work around for this (specifying a local and remote address somehow) or should I upgrade my router to one that enjoys local connections connecting via a remote address?
Thanks for any information you can provide.
Cheers.

Posted by Dave
January 4, 2009

Hey Dave!
try forwarding the ports in your router to your PC’s IP
Checkout PortForward for port forwarding guide for your router

Posted by Saad Ibrahim
January 9, 2009

Thanks, but my problem is bigger than port forwarding.
The script, hosted on my machine, refers to itself as localhost, or the local ip.
If I use the global address (the www) then my router holds it up (it forwards remote pc’s to the host pc, but local traffic is held up at the router).
So someone on a the internet cant view my site because it refers to local host, not the global www. if I change it in the script to the global www then my script cant find itself, lol. I need to replace my router with one that accepts local traffic addressing it via the global ip.
Cheers for your help anyway (portforward.com rocks).

Posted by Dave
January 9, 2009

Woah! That’s confusing :???:

Posted by Saad Ibrahim
February 14, 2009

same problem here….please provide solution for it.

Posted by hemant
Leave a comment

(required)

(required)