How To Set Up Gazelle on a Debian Server
Tutorial:How To Set Up Gazelle on a Debian Server
This was taken from from ScT forum, and left exactly as-is … take a look here: ScT/forums_viewtopic.php?id=19331&page=1#p344573 This guide allows anyone to setup their very own BitTorrent tracker using the fancy and flashing Project Gazelle sourcecode by the What.CD development team — Setup and steal releases off ScT and you’ll be as good as SCC, ScL and the likes in no time and NO EFFORT!!!! This guide is written for Debian (etch), but with little modification you can suit it for other distributions as well. It’s time to go and rent that 20€ Kimsufi now and start your very own career as the SysOp of your imba tracker. While not necessary, it’s preferred that you purchase a domain for the site as well. Preferably something that has “scene” prefix or postfix!!!! Like sceneIMBA.com, cbatogetmyownsceneaxx.com or faggotscene.net. Want to run a tracker, but your low-end seedbox with 512mb ram runs on Windows? GTFO. Here’s what you need to install, via apt-get. 1. Dependencies: Code:
$ apt-get install build-essential apache2 php5 libapache2-mod-php5 mysql-server libmysqlclient15-dev php5-mysql memcached php5-memcache php5-gd php5-mcrypt subversion automake 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 make zlib1g-dev 2. Configuring apache Apache2 installs itself in /etc/apache2. By default, it serves its **** from /var/www directory, but we’ll change that along with some other stuff in a mo. First, create a directory where you store your web-frontend files. For example: Code:
$ cd / The file to alter is /etc/apache2/sites-enabled/000-default Code:
$ nano /etc/apache2/sites-enabled/000-default Code:
# Standard http port Code:
# HTTPS port Then you just need to create a certificate (consult google). Ogay, we’ve done configuring apache. Time to reload the changes Code:
$ apache2 -k restart 3. Getting sourcecode EDIT: since the repository is offline you can get the exact copy of the source here: http://www.bvlist.com/gazelle/2208-g...n-11397-a.html You can fetch the source from What’s SVN repository as follows: 4.Configuring MySQL Principally you should take a look at /etc/mysql/my.cnf and optimize it for your setup and needs. Obviously you’re too much of a slob and cba to, so just skip this step and tell yourself it’ll all be ok. What you should do, though, is to setup a root password for MySQL as it is not automatic. Code:
$ mysql -u root 5. Configuring the site Then you will need to navigate to youripaddress and follow instructions. Literacy is required in this step unfortunately. If all is well, you should now be able to access your site. If not, all is not well. That is not all, though. You’ve got the site web frontend working, but not the tracker — yet. Project Gazelle includes a tracker written in C++. It is its program that runs on its own. Remember to remove the installation directory after successful install. Ie, rm -r /site/install 6. Getting tracker up and running Code:
$ cd /site/ Code:
mysql_host = There’s also the actual tracker executeable xbt_tracker. Which you’ll need to run with command ./xbt_tracker xbt_tracker.conf after the last step. The last step to get the tracker working is to insert some parameters into MySQL. It defaults to What.cd’s IP address and stuff, and you must change that. Code:
$ mysql -u root -pNEWPASSWORD Code:
$ update xbt_config set value = ‘YOURIPADDRESSHERE’ where value = ‘70.47.114.223′; If you don’t know how to, tell everyone to use uTorrent 1.8 or it’s banhammer time. Code:
$ insert into xbt_client_whitelist (peer_id, vstring) values (’-UT1810-’, ‘uTorrent 1.8.1′); |
error
Code:
./xbt_tracker xbt_tracker.conf Code:
sql_result.h:70: error: 'atoll' was not declared in this scope |
Quote:
Code:
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so |
Quote:
Quote:
Late edit: Still same error Code:
./xbt_tracker xbt_tracker.conf |
Quote:
|
Almost done
:bubble: Hi I'm almost done a still need to resolve this problem
Code:
./xbt_tracker xbt_tracker.conf Later edit: How can I make the anounce url from tracker.domain to domain? |
Code:
./xbt_tracker xbt_tracker.conf |
Got it working, thanks!
|
I know this is an older thread but, could use a little help
I have xbtt mostly setup and installed but I keep getting this error when I try to run it:
Code:
./xbt_tracker: error while loading shared libraries: libmisc.so.0: Thank You for ANY help with this! George P.S. Guess I should give some more info like OS and stuff....the system is running Debian Stable(Lenny) and I do have Libtools installed if that helps any. |
for the shared libraries issue do
Code:
cp /usr/local/lib/libmisc.* /usr/lib/ Quote:
Code:
define('ANNOUNCE_URL','http://tracker.A.B.C.1D:port'); //Announce URL |
Quote:
i have an error when i try to run ./autogen.sh .......... Code:
checking signal.h usability... yes I am using a centos 5.4 vmware image with latest updates and lxadmin control panel. Please help me Regards |
Maybe it's because of the lxadmin Remove LXadmin then retry ;)
|
Quote:
|
Quote:
|
if the compiler cannot compute the sizeof(short) than its a compiler problem.
as code is simple as Code:
function main() Do as the log suggests, and look into the log file for any further hints as to what the problem is. |
1 Attachment(s)
Here is my config.log.
I'we named it config.log.php because i can't upload it as config.log |
Quote:
|
Quote:
Now i'm trying to follow next steps on this turorial. Maybe i will come with other questions latter. Thank you |
Well good lucks on your venture :)
|
Quote:
Now i'm trying to install it on a centos 5.3 server, not virtual server :D Now i can run Code:
./autogen.sh What file should i upload here for you to see the errors i have after running make? Thanks |
add this 3 lines
PHP Code:
sql_result.h stream_int.h bt_misc.cpp bvalue.cpp virtual_binary.cpp xif_value.h when you have make error, type make clean then make again LE: and in tracker_input.cpp LE2: and if you got LONG_LONG_MAX error add to tracker_input.cpp PHP Code:
then make clean, and add this PHP Code:
|
I have done all that you said. Now i have jus one error:
PHP Code:
|
do you type make clean and again make ?
if yes, then include the 3 lines in bt_tracker_url.cpp too |
It doesnt matter what you type or include, if you dont pay attention to the log file and errors. just spewing possible solutions will just create more problems.
Quote:
looks like you have a mis-installation of the boost library, (re)install the boost libs and headers. |
Quote:
Quote:
But i'm not ready yet :secret: maybe i will come with another questions :ok: Thank you Edited I have executed ./xbt_tracker xbt_tracker.conf and all is ok, executed install.php, config.php file was created automatically, i have modifyed ip adress and port in my database... but when i try to login i receive a blank screen. I have turned display errors on, and i have this error: Code:
Notice: Undefined index: HTTPS in /home/admin/mydomain/classes/config.php on line 10 |
you don't have memcache installed
check google |
Quote:
Code:
Loaded Modules core prefork http_core mod_so mod_auth_basic mod_auth_digest mod_authn_file mod_authn_alias mod_authn_anon mod_authn_dbm mod_authn_default mod_authz_host mod_authz_user mod_authz_owner mod_authz_groupfile mod_authz_dbm mod_authz_default util_ldap mod_authnz_ldap mod_include mod_log_config mod_logio mod_env mod_ext_filter mod_mime_magic mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy mod_proxy_balancer mod_proxy_ftp mod_proxy_http mod_proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_version mod_php5 mod_proxy_ajp mod_ssl |
that looks more like apache modules than php modules
|
Quote:
Quote:
But i still have errors: Code:
Notice: Undefined index: HTTPS in /home/admin/christianmovies.eu/classes/config.php on line 10 |
turn off error reporting in php.ini, (yes them wonderful errors that help you find problems in scripts).
Gazelle isnt coded very well to run with error reporting on. These error reports throw off some of the functions that require no display code in order to interact with the page headers. so you have a snowball effect as you just witnessed, Enable the error_log, so you can still find php errors. just disable the error reporting. |
I have turned error reporting to off, and now in opera it say "The page cannot be dispalyed" , in google chrome and firefox there is a blank page, and in iexplorer error 500.
Check here Quote:
Any ideea ? :sad: I need to setup this tracker before 1th february. Please help me! |
Quote:
kiddin, right? after compile and install the tracker, you have to resolve some bugs, and much other :) |
Quote:
I'm not kidding :bubble: i try to configure it ... if i can ... but i need some help... maybe i ask here stupid questions, but... :bubble: i realy need help |
When i run these
[quote]$ mysql -u root $ use mysql $ update user set password=PASSWORD( |
need some help please (error on make)
Code:
Now type `make' to compile. I had xbtt running from src before, but this one in this rls is slightly different. It has added tables etc and the older one doesn't start up with gazelle. That aside, how can I fix this error on debian 5.04 |
Quote:
|
This tut seems pretty old, and I have run into many many problems trying to use this one. Is there a new one available?
|
How to install Gazelle RC2 on Debian or Ubuntu
This guide is designed for Debian based systems (Ubuntu for example). This tutorial is going to assume you are installing it under a vhost in /var/www.
Before we get to Gazelle: 1. Update software, and package cache: Code:
sudo aptitude update && sudo aptitude upgrade Code:
sudo aptitude install build-essential gcc wget subversion automake libtool make g++ -f mysql-server mysql-client libmysqlclient15-dev libboost-date-time-dev libboost-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev libboost-serialization-dev zlib1g-dev libpng-dev libmcrypt-dev libxml2-dev libevent-dev libmysqld-dev Code:
sudo apt-get install apache2 php5 memcached sphinxsearch Code:
cd /usr/local && wget http://mirror.cc.columbia.edu/pub/software/apache//httpd/httpd-2.2.16.tar.gz Code:
cd /usr/local && wget http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz Code:
cd /usr/local && wget http://us3.php.net/get/php-5.3.3.tar.gz/from/this/mirror While in php.ini - find the line: "short_open_tag = Off" - Turn it On, and restart apache 6. Locate HTTPD.conf Should be in /usr/local/apache2/conf add the following lines to the the bottom of the .conf file: Code:
LoadModule php5_module modules/libphp5.so Code:
Code:
/usr/local/apache2/bin/apachectl start Code:
7. Start Memcache (if you used the shell script from step 4, skip this step as memcache is already running!) Code:
memcached -d -m XXX -s /var/run/memcached.sock -a 0777 -t16 -C -u root 8. Run an SQL query for gazelle.sql to create the database, the table, and the default data. To use the code below you must first extract gazelle.sql (from the latest release) to /var/www/ Code:
mysql -u root -p < /var/www/gazelle.sql -for documentation, see: http://www.sphinxsearch.com/docs/current.html Sphinx is a bit tricky. You have been warned. Run this: Code:
cd /usr/local && wget http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz Put sphinx.conf in /usr/local/sphinx-1.10-beta as sphinx.conf. You will need to edit in your database settings, otherwise nothing will work. (Really important ones are lines 11, 99, 312-315) Run the following commands: Code:
mkdir -p /var/data/sphinx/delta 10. Front-end Install 1. Get the latest copy of Gazelle from http://what.cd/gazelle. Once you have downloaded and extracted it, upload it to your server. 2. Run the following command: Code:
cp /var/www/classes/config.template /var/www/classes/config.php P.S. if you get a MYSQL SOCK error, change the line about that in the config file to /var/run/mysqld/mysqld.sock 4. Register at your site, you will be made a SysOp automatically. You will not be sent an email, just login. You'll need to configure the email server later. 5. Setup cron jobs: Use the following commands: Code:
crontab -e Code:
0,15,30,45 * * * * /usr/local/bin/php /var/www/schedule.php INSERT_YOUR_SCHEDULE_KEY >> /root/schedule.log 11. Back-end install (XBTT) ***This probably wont work, I have a version which I will test again that should work on Debian*** Code:
cd /var/www/ && tar xzvf xbtt.tar.gz && cd xbtt/build/xbtt/ ---------------------------------- source: http://what.cd/gazelle/ |
yep
yes torrent lol when upload them go to seed then go missing from site on seebox as well as home torrents on refresh of index and torrent page come back as seeding and then go missing again so you have site full off torrents one min then on refresh gone lol what a laf code bin it no good at all:muscle:
|
Quote:
______________________ YouTube - Downloading Wii Games - Where to Download the Best Wii Games! YouTube - Downloading Wii Games - Where to Download the Best Wii Games! YouTube - Downloading Wii Games - Where to Download the Best Wii Games! |
All times are GMT +2. The time now is 18:52. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.