| XBT Installation |
| Thursday, 08 October 2009 22:42 | ||||||||||||||||||||
XBT Tracker InstallationThe XBT tracker (XBTT) can run on Unix/Linux or Windows. Please check the tutorial that fits you best.
Using Unix/LinuxThe XBTT must be compiled from source on Unix/Linux. You need shell and root access to compile and run XBTT. You also need the following packages:
To install this required packages you can run the following commands in your server:
Then create a folder in your server and type the following:
After the server is compiled you will have a xbt_tracker binary under xbt/Tracker. Copy this binary into the directory where you will run XBTT along with the xbt_tracker.conf.default that is on the same folder. You will end up with two files in your xbt directory: the xbt_tracker and the xbt_tracker.conf.default. Rename the xbt_tracker.conf.default to xbt_tracker.conf.
We now need to create a database to be used with XBTT. You can use phpMyAdmin of the mysql command to create it. See the example below using the mysql client:
After the database is created we need to import the default sql that we previously copied into our xbt_tracker home directory. Just type the following command in the shell of your server:
Ok, the default database schema (xbt_tracker.sql) is imported into the database we have created. All that is left is to configure XBTT to use it. To do so, edit the xbt_tracker.conf in the xbt_tracker home directory and use the following (change the values to fit you need. We are going to use the ones from the previous commands):
We have now concluded the installation of XBTT on our server. So let's start it. To do it just type:
You now have XBTT running on the default port 2710. To customize it please read the XBTT Configuration page. To see how you can always start XBTT when your server starts please check the General Tips page.
Using WindowsTo use the tracker on Windows you can download the installation file from the XBT project page. After downloading the exe file you must run it to install it on your computer. The windows version is installed by default as a service. Personal note: Although XBTT runs on Windows I recommend you to run it on a linux server. |
||||||||||||||||||||












