FileShareFreak

THE SOURCE FOR BITTORRENT & P2P TIPS, TRICKS AND INFO

Gazelle Article One: Server Config / Gazelle Install

Ed. Note: A good friend of ours is in the process of setting up a new Gazelle music tracker, and generously offered his expertise. What’s different about this series of tutorials, is that there will actually be an operational tracker at the end of it. So if you ever wanted to witness the inner workings on how to install, setup & configure a Gazelle tracker from scratch, then this series is for you. Let the documentation begin!

Hello loyal readers. I’m gonna go through the entire process of creating a tracker using gazelle and teach you as I do it. What’s special is that i will be releasing this site to the public. Articles will be general at first but you will see it slowly shape into a niche vinyl music tracker over the course of the series. A beta will be opening soon and I want to emphasize that articles are coming out as I code. I almost forgot to introduce myself, I’m MFSL. Also, I’m not a coding pro. I will be learning new things as I code just like you :). Now to get started. This article will be all about Configuring your Server and Installing Gazelle.

What you need for this step:

  • A Server Running Debian
  • SSH Client such as PuTTy

Server Config

-First to install the dependencies. Load up your SSH client and get crackin (I’m using PuTTy)

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

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

-Changing /var/www/ to /site/

cd /

mkdir site

nano /etc/apache2/sites-enabled/000-default

cd / brings the server to root directory, mkdir site creates a directory called site and the nano command opens up the apache file for editing

**Change this file to**

# Standard http port
NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin yourmail@email.com
ServerName yoursite.tld

DocumentRoot /site/

<Directory “/site/captcha”>
Order deny,allow
Deny from all
</Directory>

<Directory “/site/classes”>
Order deny,allow
Deny from all
</Directory>

<Directory “/site/sections”>
Order deny,allow
Deny from all
</Directory>

<Directory “/site/torrents”>
Order deny,allow
Deny from all
</Directory>

<Files ~ “^.ht|.ini|.inc|.sql”>
Order deny,allow
Deny from all
</Files>

</VirtualHost>

and to make the changes take effect:

apache2 -k restart

Getting Gazelle

svn co http://svn.what.cd:81/repos/project_gazelle /site/

svn tells the server that we are connecting to a svn deposit, co means copy, and it copies all the files from the first thing after it to the second. If you can’t get the svn because its currently down then message me and I’ll send you it.

MYSQL Config

mysql -u root
use mysql
update user set password=PASSWORD(”New_Password”) where User=’root’;

flush privileges;
quit;

Gazelle Config

goto http://serverip/install/index.php and fill out all the fields. I’m not going to go through all this info now because it’s mostly just user names and passwords.

Installing XBTT

cd /site/
tar zxfv xbtt.tar.gz
cd xbtt/build/xbtt
./autogen.sh
make
cd src

nano xbt_tracker.conf

edit the “mysql_host =” and “mysql_user =” fields to your mysql host and user. Pretty simple, really.

More MYSQL Config

mysql -u root -pNEWPASSWORD
use databasewhatever_you_defined_in_install_php
select * from xbt_config;

update xbt_config set value = ‘Your_Servers_IP’ where value = ‘70.47.114.223′;
update xbt_config set value = ‘Any_Port_You_Want’ where value = ‘34000′;

Final Command

./xbt_tracker xbt_tracker.conf

to run XBTT

Final Thoughts

pretty easy for the first day but it’s just the beginning. If anyone needs clarity I will reply to posts in comments, rude comments will be ignored. I hope to get new articles up every 1 to 2 weeks and pose polls to you readers about what direction YOU want this site to head. Thank for reading and I hope to be back soon.

-MFSL

  1. John Gambleputty Says:

    by “A Server Running Debian” you mean an actual web server? Or is it possible to start on my windows by installing apache on it and then later when its ready upload it to the server. By the way what kind of server is needed?

  2. TomG Says:

    John:

    He means that you need to use a Linux server, as sudo and other commands along those lines aren’t Windows. You wouldn’t want to use Windows anyway - it will fall to its knees on a simple DDOS.

    -Tom

  3. bozx Says:

    if i m rit thn xbtt is just a tracker wid no frontend.
    last tim i chkd sourceforge the download link was down.a link wud b appretiated.

    * can xbtt b merged wid joomla/drupal or any other cms.
    * which tracker script is best for a general tracker.i mean stability,load on server,customisation.
    more questions i mit throw.

  4. him Says:

    nice setup. and to bring down, follow below instructions:

    perl -MCPAN -e ‘install IO::Socket::INET’
    perl -MCPAN -e ‘install IO::Socket::SSL’

    wget http://ha.ckers.org/slowloris/slowloris.pl

    perl slowloris.pl -dns domain.com

  5. Das Arschgesicht Says:

    John: You can start the initial development on Windows and be able to move it to Linux later without a problem if you get XAMPP.

    TOMG: I wouldn’t recommend using Windows either but not because “it would fall to its knees from a simple DDoS.” Are you fucking stupid? All servers are susceptible to DDoS attacks, Windows or other. Go back to the Ubuntu forums where you’ll fit in with all the other mindless drones.

    MSFL: PuTTY is typeset “PuTTY”. It’s typeset like that because it’s a TTY (teletype) client. Just FYI :)

  6. John Gambleputty Says:

    Thanks for answers.
    Another question. IF i want to install just the gazelle frontend without the tracker. Is there an easy way to do that?

  7. AzzA Says:

    JOHN: Yes. just dont install xbtt, you just wont be able to track the torrents and ratios.

  8. MFSL Says:

    All the questions have already been answered :(. Guess I’ll just have to get article 2 ready. It won’t be long :)

  9. grey Says:

    @MSFL How can I get latest Gazelle sources? I connect to repository using TortoiseSVN and always get “405 Not Allowed in response to OPTIONS request”.

  10. Phogo Says:

    SVN down

  11. derlinger Says:

    how do i unzip the svn so i can access myip/install/index.php

  12. LazyPirate Says:

    SVN is down :(

  13. Felisa Novellino Says:

    And we would like to explain our opinion why UseNet service is better then Torrent service.

Comments