A lightweight BitTorrent Tracker written in PHP, with an SQL backend, for people that just want to host a tracker, not the torrent listing site.
What Do You Need?
- A PHP compatible web-server.
- PHP >= 5.4.0 with Core, SimpleXML, date, filter, json, mysqli, pcre, & standard extensions. (Generated using PHP CompatInfo
- A MySQLI supported database, such as MySQL >= 4.1
- The latest version of Nginx ( >= 1.10.0 with HTTP/2 )
- The latest version of PHP
- The latest version of MariaDB ( >= 10 )
- Edit the variables in
- Upload all the
.shfiles to your server.
admin.phpin your browser and run the
Configuration should take place in
_settings/phoenix.default.php. Phoenix will attempt to use the default configuration if yours is missing.
Cron (Automating Maintenance)
_cron/hourly/backup-database.shby changing the path in the second line, and the username, password, database, and file in the last three.
false. You can also set
0to save processing time.
- Edit your crontab with
crontab -e, and add a crontab like the following. You can edit the times, and should make sure the paths are correct by running the commands after the asteriks.
15 * * * * php ~/phoenix/_cron/hourly/clean-and-optimize.php 30 * * * * ~/phoenix/_cron/hourly/backup-database.sh