ads
ads
IGFounder
آني عراقي وهاي هيه
عضو منذ 01-12-2022
مجموع المشاركات4
الاعجاب المتلقى0
الجنسذكر
عضو منذ 01-12-2022
مجموع المشاركات4
الاعجاب المتلقى0
الجنسذكر
Using Unix/Linux
Installing the required packages on Debian and Ubuntu
Link the x64 (/usr/lib64) libraries into the x86 (/usr/lib)
Then create a folder in your server and type the following:
1.
">https://github.com/OlafvdSpek/xbt[/CODE]
2.
3.
4.
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 are using /home/xbt_tracker as an example
1.
2.
3.
4.
5.
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:
1.
2.
3.
4.
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):
1.
2.
3.
4.
We have now concluded the installation of XBTT on our server. So let's start it. To do it just type:
You now have XBT Tracker running on the default port 2710.
Original post found here: https://www.visigod.com/xbt-tracker/installation
The XBT Tracker must be compiled from source on Unix/Linux. You need shell and root access to compile and run XBT Tracker. You also need the following packages:
- boost-devel
- mysql-devel
- gcc-c++ (at least version 7)
- git
Installing the required packages on Debian and Ubuntu
توسيع
كود:
apt-get install cmake default-libmysqlclient-dev g++ git libboost-dev make zlib1g-dev
Link the x64 (/usr/lib64) libraries into the x86 (/usr/lib)
توسيع
كود:
ln -s /usr/lib64/mysql/libmysqlclient.so /usr/lib/libmysqlclient.so
توسيع
كود:
ln -s /usr/lib64/libsystemd.so.0 /usr/lib/libsystemd.so.0
1.
توسيع
كود:
git clone
2.
توسيع
كود:
cd xbt/Tracker
3.
توسيع
كود:
cmake .
4.
توسيع
كود:
make
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 are using /home/xbt_tracker as an example
1.
توسيع
كود:
cp xbt_tracker /home/xbt_tracker/
2.
توسيع
كود:
cp xbt_tracker.conf.default /home/xbt_tracker/
3.
توسيع
كود:
cp xbt_tracker.sql /home/xbt_tracker/
4.
توسيع
كود:
cd /home/xbt_tracker/
5.
توسيع
كود:
mv xbt_tracker.conf.default 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:
1.
توسيع
كود:
CREATE USER 'xbt_tracker'@'localhost' IDENTIFIED BY 'my_tracker_password';
2.
توسيع
كود:
GRANT USAGE ON * . * TO 'xbt_tracker'@'localhost' IDENTIFIED BY 'my_tracker_password';
3.
توسيع
كود:
CREATE DATABASE IF NOT EXISTS `xbt_tracker` ;
4.
توسيع
كود:
GRANT ALL PRIVILEGES ON `xbt_tracker` . * TO 'xbt_tracker'@'localhost';
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:
توسيع
كود:
mysql -uxbt_tracker -pmy_tracker_password xbt_tracker < xbt_tracker.sql
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):
1.
توسيع
كود:
mysql_host = localhost
2.
توسيع
كود:
mysql_user = xbt_tracker
3.
توسيع
كود:
mysql_password = my_tracker_password
4.
توسيع
كود:
mysql_database = xbt_tracker
We have now concluded the installation of XBTT on our server. So let's start it. To do it just type:
توسيع
كود:
./xbt_tracker
You now have XBT Tracker running on the default port 2710.
Original post found here: https://www.visigod.com/xbt-tracker/installation
آخر تحرير بواسطة IGFounder. 05-12-2022 09:05. السبب: Added original post link