Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Tutorials
Reply
  #1  
Old 26-08-10, 22:48
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 963
Default XBT Tracker Installation
The XBT tracker (XBTT) can run on Unix/Linux or Windows.

http://www.visigod.com/xbt-tracker/installation




Using Unix/Linux

You need shell and root access to compile and run XBTT.
You also need the following packages:
  • boost-devel
  • mysql-devel
  • gcc-c++
  • subversion

To install this required packages you can run the following commands in your server:

1. Install the required packages on Debian
PHP Code:
apt-get install cmake g++ libboost-date-time-dev libboost-dev \
libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
libboost-serialization-dev libmysqlclient15-dev make subversion zlib1g-dev 
Installing the required packages on CentOS, Fedora or Red Hat
PHP Code:
yum install boost-devel gcc-c++ mysql-devel subversion 


2. Then create a folder in your server and type the following:

PHP Code:
svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/misc xbt/misc
svn co https://xbtt.svn.sourceforge.net/svnroot/xbtt/trunk/xbt/Tracker xbt/Tracker
cd xbt/Tracker
./make.sh 
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.

3. we are using /home/xbt_tracker as an example
PHP Code:
cp xbt_tracker /home/xbt_tracker/
cp xbt_tracker.conf.default /home/xbt_tracker/
cp xbt_tracker.sql /home/xbt_tracker/
cd /home/xbt_tracker/
mv xbt_tracker.conf.default xbt_tracker.conf 


4. 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:

PHP Code:
CREATE USER 'xbt_tracker'@'localhost' IDENTIFIED BY 'my_tracker_password';
GRANT USAGE ON * . * TO 'xbt_tracker'@'localhost' IDENTIFIED BY 'my_tracker_password';
CREATE DATABASE IF NOT EXISTS `xbt_tracker` ;
GRANT ALL PRIVILEGES ON `xbt_tracker` . * TO 'xbt_tracker'@'localhost'


5. 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:

PHP Code:
mysql -uxbt_tracker -pmy_tracker_password xbt_tracker xbt_tracker.sql 


6. 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):

PHP Code:
mysql_host localhost
mysql_user 
xbt_tracker
mysql_password 
my_tracker_password
mysql_database 
xbt_tracker 


7. We have now concluded the installation of XBTT on our server. So let's start it. To do it just type:

PHP Code:
./xbt_tracker 
You now have XBTT running on the default port 2710.

Now you nee to customize it: http://www.visigod.com/xbt-tracker/i...ration-options
Reply With Quote
The Following User Says Thank You to Fynnon For This Useful Post:
buves18 (07-06-13)
  #2  
Old 26-08-10, 23:33
wMan's Avatar
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Thumbs up tracker
nice to see this ok here is my probs here ok set it up on vb same as this site code , do i have to put a torrent folder in root as it is there not one when when it install it on vb , any idea what to do ?
Reply With Quote
  #3  
Old 12-02-11, 13:01
Nero9's Avatar
Nero9 Nero9 is offline
Member
 
Join Date: Feb 2011
United Kingdom
Posts: 3
Default
getting segmentation fault wen compiling ./xbt_tracker ??
Reply With Quote
  #4  
Old 16-04-11, 16:21
asdcxz9's Avatar
asdcxz9 asdcxz9 is offline
Member
 
Join Date: Apr 2011
P2P
Posts: 1
Default xbtt install error
Code:
./make.sh
../misc/bt_misc.cpp:4:29: error: boost/foreach.hpp: No such file or directory
../misc/bt_misc.cpp: In function 'std::string escape_string(const std::string&)':
../misc/bt_misc.cpp:19: error: expected primary-expression before 'char'
../misc/bt_misc.cpp:19: error: 'BOOST_FOREACH' was not declared in this scope
../misc/bt_misc.cpp:20: error: expected `;' before '{' token
../misc/bt_misc.cpp:354: error: expected `}' at end of input
../misc/bvalue.cpp:4:29: error: boost/foreach.hpp: No such file or directory
../misc/bvalue.cpp: In member function 'int Cbvalue::pre_read() const':
../misc/bvalue.cpp:289: error: expected primary-expression before 'i'
../misc/bvalue.cpp:289: error: 'BOOST_FOREACH' was not declared in this scope
../misc/bvalue.cpp:290: error: expected `;' before 'v'
../misc/bvalue.cpp:296: error: expected primary-expression before 'i'
../misc/bvalue.cpp:296: error: 'BOOST_FOREACH' was not declared in this scope
../misc/bvalue.cpp:297: error: expected `;' before 'v'
In file included from config.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
In file included from connection.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
In file included from epoll.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
In file included from server.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
server.cpp: In member function 'int Cserver::run()':
server.cpp:43: error: expected primary-expression before 'j'
server.cpp:43: error: 'BOOST_FOREACH' was not declared in this scope
server.cpp:44: error: expected `;' before '{' token
server.cpp:966: error: expected `}' at end of input
In file included from tcp_listen_socket.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
In file included from tracker_input.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
In file included from transaction.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
In file included from udp_listen_socket.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory
In file included from XBT Tracker.cpp:1:
stdafx.h:3:29: error: boost/foreach.hpp: No such file or directory

can u explain me about dis plzzz
Reply With Quote
  #5  
Old 16-05-11, 15:08
l0calh0st's Avatar
l0calh0st l0calh0st is offline
Member
 
Join Date: Sep 2010
Netherlands
Posts: 11
Default
Execute the folllowing commands to fix that:

Code:

cd /usr/local/src/ 
wget http://sourceforge.net/projects/boost/files/boost/1.44.0/boost_1_44_0.tar.gz
tar xvzf boost_1_44_0.tar.gz 
cd boost_1_44_0 
./bootstrap.sh 
./bjam install
Reply With Quote
  #6  
Old 26-05-12, 14:02
totopizza's Avatar
totopizza totopizza is offline
Senior Member
 
Join Date: May 2012
P2P
Posts: 21
Default i also in troubles arrtfffffff please some help ? :)
i get this error :::::

g++: error trying to exec 'cc1plus': execvp: No such file or directory


i searched and searched but could not find any solution,
would you please help me ?

i tried your fix :::
cd /usr/local/src/
wget http://sourceforge.net/projects/boos..._1_44_0.tar.gz
tar xvzf boost_1_44_0.tar.gz
cd boost_1_44_0
./bootstrap.sh
./bjam install


but i recieved another error ::



Building Boost.Jam with toolset gcc...
Failed to build Boost.Jam
Consult 'bootstrap.log' for more details
1909346773:/usr/local/src/boost_1_44_0# ./bjam install
-bash: ./bjam: No such file or directory


arrrfffffffff
Reply With Quote
  #7  
Old 27-04-13, 06:18
chromium's Avatar
chromium chromium is offline
Member
 
Join Date: Apr 2013
Canada
Posts: 14
Default
Hey,
Can this XBT installation on my machine be used to create a torrent tracker site , pls lemme know.
Reply With Quote
  #8  
Old 08-06-13, 22:03
buves18's Avatar
buves18 buves18 is offline
Member
 
Join Date: Jan 2010
P2P
Posts: 6
Default Not good xbt
Not good xbt!!!!
Reply With Quote
  #9  
Old 11-10-13, 23:15
Dingo38's Avatar
Dingo38 Dingo38 is offline
Senior Member
 
Join Date: Oct 2013
P2P
Posts: 35
Default
Quote:
Originally Posted by buves18 View Post
Not good xbt!!!!

It's a bloody nightmare,been trying to sort it for 2 days..The tuts no use..I'll move on to another for the time being..
Reply With Quote
  #10  
Old 12-10-13, 05:31
AutoSnipe's Avatar
AutoSnipe AutoSnipe is offline
Senior Member
 
Join Date: May 2008
Posts: 84
Default
You're obviously not doing it right :P
and there are many Shell bash scripts that are simply one click wonders for installs for xbt avaliable
Reply With Quote
Reply

Tags
installation , tracker , xbt

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 22:54. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2018, vBulletin Solutions Inc.