Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
local tracker
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / General / Tutorials

2022-03-12 23:27:43
Thank you for your efforts

i want use tracker in local host
because my web high load
I do not want to raise the host plan

I have an idea to make the tracker at a local address

I have a qnap
Is this a good idea and may save a lot of expenses?

which file  should put in local  also tell if have some edit code
Last edited by leech24 on 2022-03-13 04:49:17
2022-03-17 18:08:31
Im not familiar with qnap, or any NAS device for running ubuntu or a distro needed for the tracker scripts, but if you wanted to run your tracker locally, the best thing to do is get a domain name from a TLD provider like godaddy etc, then just edit the A record in the DNS management to point to your own IP address, then you just setup the script as you would for regular hosting. Also open ports 80 and 443 in your own router and point to the machine running your tracker
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Last edited by MicroMonkey on 2022-03-17 18:09:44
2022-03-18 17:31:20
It also much depends on what else you use your NAS for.
If you use it for storage / streaming / downloading, then your tracker performance may be affected.
Further depends on the number of user active on your tracker, the more users the more active user the more load on your NAS.
And finally depends on your NAS of course.

Just some thoughts you may consider as well.
If It Ain't Dutch, It Ain't Much!!
2022-03-19 07:43:54
i mean just this file in qnap
Announce URL: https://*****.com/announce.php
Last edited by leech24 on 2022-03-19 09:53:24
2022-03-19 11:19:37
in theory yes the announce has not got anything to do with TT

The client like qbit connects to announce and the announce sends data back to qbit.  The only interactions with TT is the first few lines which i post examples below
Things like config, sql detail, not used qnap or sure what it is lol but i would assume it would need sql & php to operate this way

we are looking for includes, $site_config etc but removing them the file becomes independent


<?php
// no errors allowed you should insert errors into database or text file
error_reporting(0); // error_reporting(E_ALL ^ E_NOTICE);
// no sql details
// require_once("backend/mysql.php");
// no config - search $site_config
// require_once("backend/config.php");
// no sql functions
// require_once("backend/mysql.class.php");

// replace sql connection with your details
$GLOBALS["DBconnector"] = @mysqli_connect('myhost', 'mydbusername', 'mysqlpass') or err('dbconn: mysqli_connect: ' . mysqli_connect_error());
@mysqli_select_db($GLOBALS["DBconnector"],'mysqldbname') or err('dbconn: mysqli_select_db: ' . mysqli_error($GLOBALS["DBconnector"]));

// remove all $site_config
$MEMBERSONLY = true; //$MEMBERSONLY = $site_config["MEMBERSONLY"];
$MEMBERSONLY_WAIT = false; //$MEMBERSONLY_WAIT = $site_config["MEMBERSONLY_WAIT"];


then SQL_Query_exec would need replacing with a default sql function like prepare or query or you could include the sql_class.php and leave the querys has there are
Last edited by M-jay warn on 2022-03-19 11:19:55
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728