XBT TRACKER Installation

Source: Internet
Author: User
Tags mysql client svn phpmyadmin root access

Note, the article reproduced from: Http://www.visigod.com/xbt-tracker/installation

Slightly modified.

The XBT Tracker (XBTT) can run on Unix/linux or Windows. Please check the tutorial that fits.

Using Unix/linux

The XBTT must is compiled from source on Unix/linux. You are need shell and root access to compile and run XBTT. You also need the following Packages:boost-devel Mysql-devel,mysql-server (here to add server, otherwise the subsequent database connection will be problematic) gcc-c++ Subversion

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

Installing the required packages on Debian
1
2
3
Apt-get Install g++ Libboost-date-time-dev libboost-dev \
Libboost-filesystem-dev Libboost-program-options-dev libboost-regex-dev \
make Subversion Zlib1g-dev

Installing the required packages on CentOS, Fedora or Red Hat
1
Install boost-devel gcc-c++ mysql-devel Subversion

If for some reason the boost libraries are still on the "old" version, you can do the following:

Install Boost Manually
1
2
3
4
5
6
[PHP] view plain copy cd/usr/local/src/wget Http://sourceforge.net/projects/boost/files/boost/1.44.0/boost _1_44_0.tar.gz/download tar xvzf boost_1_44_0.tar.gz cd boost_1_44_0/bootstrap.sh./bjam Install


Then Create a folder in your server and type the following:

1
2
3
4
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 was compiled you have a xbt_tracker binary under Xbt/tracker. Copy this binary to the directory where you'll run XBTT along with the Xbt_tracker.conf.default which is on the same fo Lder. You'll 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 are using/home/xbt_tracker as an example
1
2
3
4
5
CP /Home/xbt_tracker/
CP /Home/xbt_tracker/
CP /Home/xbt_tracker/
CD/home/xbt_tracker/
MV Xbt_tracker.conf.default xbt_tracker.conf

We now need to create a database to is used with XBTT. can use phpMyAdmin for the MySQL command to create it. The example below using the MySQL client:

I did not install phpmyadmin here, so I executed it directly from the command line.

Before you do so, start the MYSQLD service, set the password, and so on.

[plain] view plain copy/etc/init.d/mysqld start mysqladmin-u root Password * * * mysql-u root-p Enter password

The user is then added to the database:

CREATE USER ' XBT_tracker ' @ ' localhost ' identified by ' I_tracker_password ';
GRANT USAGE on to ' Xbt_tracker ' @ ' localhost ' identified by ' I_tracker_password ';
CREATE DATABASE not EXISTS ' xbt_tracker ';
GRANT All Privileges on ' xbt_ to ' xbt_tracker ' @ ' localhost ';

After the "database is" created we need to import the default SQL so we previously copied into our Xbt_tracker home direct Ory. Just Type the following command in the shell of your server:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.