PDA

View Full Version : Installing Gazelle [Frontend Only] on Windows!



cheatos
21.09.09, 17:53
Hi and welcome :smile:.

while i was playing with tracker scripts i managed to install Gazelle on windows and i'll share the steps. i've failed many times because of using Apache as a web server so in the guide i'll use another Webserver :top:.

Notes:

after doing everything you'll not have a fully functional tracker because this guide does not cover to compile/run Gazelle's own xbitt which is for linux. [i still need to learn how to use Cgywin after that maybe i'll succeed again :klatsch_3: and i'll post the result here too OR i will make a linux tut when i know something about linux]
You cannot add a single torrent :shockkk!:. this is guide is for previewing Gazelle and to prove that Windows can run Gazelle.
The guide was made inside a virtual pc if you don't want to fill your computer with these V stuff :wink:.
I've made this tut for SB-Innovation DO NOT COPY IT WITHOUT Permission, appreciate others hard work do NOT steal!! Just refer to SB-Innovation and to this topic thanks :top:


Tools Needed:


Abyss WebServer:
Aprelium - Download Abyss Web Server X1 (http://www.aprelium.com/abyssws/download.php)
Abyss WebServer's PHP package:
http://www.aprelium.com/data/php528.exe
memcached server:
http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip
memcache php extension:
http://downloads.php.net/pierre/php_memcache-5.2-Win32-vc6-x86-20090408.zip
AppServ, we'll just use its MySQL to avoid the 100mb download :wink:
Download AppServ from SourceForge.net (http://prdownloads.sourceforge.net/appserv/appserv-win32-2.5.10.exe?download)
Gazelle Source, find it in the attachments because what.cd's SVN repository is offline now [attachment] -----UPLOADING and checking please wait----


ok lets start:

Detailed Noob-Friendly Tut :biggrin:

Step 1: Installing Abyss WebServer [Noobs only]:
click below to start GIF :top:
http://i38.tinypic.com/ma7x3r.png (http://i37.tinypic.com/34ns01v.gif)

Step 2: Installing and Configuring PHP:
click below to start GIF :top:
http://i36.tinypic.com/2j0l1j6.png (http://i36.tinypic.com/2ntcykn.gif)

Step 3: Installing memcached:
click below to start GIF :top:
http://i33.tinypic.com/n3ol6t.png (http://img15.imageshack.us/img15/5586/mem2s.gif)

[Note: there is a typo when entering the extension's name in notepad it must be php_memcache.dll Not php_memcached.dll]
[Note2: uncomment remove the ";"

;extension=php_mcrypt.dll
to

extension=php_mcrypt.dll
in php.ini

Now Run C:\memcached_server\memcached.exe
it'll be a black screen its normal.

Step 4: Installing AppServ to get MySQL Server,phpMyAdmin:
click below to start GIF :top:
http://i35.tinypic.com/wcb704.png (http://i33.tinypic.com/mct36x.gif)


Step 5:Importing the Database:


Move phpMyAdmin folder from C:\AppServ\htdocs\ to C:\WS\htdocs
Browse to 'http://localhost/phpmyadmin' and enter you MySQL username [root] and Password.
Click "Databases"
Create a new database called "gazelle"
Choose Import from the top
Browse to C:\WS\htdocs\gazelle.sql
Click Go


Step 6: Installing Gazelle:

Go to /install
open install_handle.php
Find:

mysql_query("DROP DATABASE ".db_string($_POST['sqldb']));

// Create the database
if(!mysql_query("CREATE DATABASE ".db_string($_POST['sqldb']))){
fail('Could not create database: '.mysql_error());
}

// Create the tables
exec("mysql -uroot -p$_POST[sqlrootpass] $_POST[sqldb] < $_POST[server_root]/gazelle.sql");

mysql_select_db($_POST['sqldb']);
mysql_query("SELECT COUNT(ID) FROM permissions");
if(mysql_error()){
fail('Something went wrong when trying to create the tables: '.mysql_error());
}


and Delete it.
Run install.php in browser; http://localhost/install/install.php and fill the data.
in "Session directory:" enter:

/

then create the SysOp :smile::

Signup successful!

This part of the installation is complete, and you may now sign in. Please read the documentation in /docs/1-installation.txt for information on how to proceed. Click here to log in.

Visit http://localhost and enjoy a working frontend of Gazelle :top:


Some screenshots ;)

http://img508.imageshack.us/img508/2006/gaz4.png
http://img401.imageshack.us/img401/4056/gazelle.png
http://img508.imageshack.us/img508/7393/gazelle2.png
http://img21.imageshack.us/img21/7919/gazelle3.png

eot - end of topic :tongue:

thecoolest
21.09.09, 18:15
trust me if this works..chetos..i dont need anything else..rep+1 added...thank you too:top:

anon
21.09.09, 18:16
You can't even download torrents from this. It's a tutorial to prove Gazelle (and only Gazelle) can be installed on Windows. :wink:

cheatos
21.09.09, 18:18
trust me if this works..chetos..i dont need anything else..rep+1 added...thank you too:top:

glad you're happy with it :smile:
but as anon mentioned:


You can't even download torrents from this. It's a tutorial to prove Gazelle (and only Gazelle) can be installed on Windows. :wink:

its only experimental :frown: and for everyone who loves to play with scripts,admin tools etc .. :biggrin:
if someone here can teach me how to compile things for Linux we'll make a very good port :biggrin:
but i don't know how to use CgyWin...:frown:


after doing everything you'll not have a fully functional tracker because this guide does not cover to compile/run Gazelle's own xbitt which is for linux. [i still need to learn how to use Cgywin after that maybe i'll succeed again and i'll post the result here too OR i will make a linux tut when i know something about linux]


+ i'm still checking the script and it'll be uploaded soon because What.cd closed its SVN for an unknown time :confused: .

thecoolest
21.09.09, 18:22
ohh thats bad....but although its grt script & grt help to ppl..thx cheatos..ur work is appreciated....same as the all the coders ,mods,,& staffs

anon
21.09.09, 19:11
Gazelle uploaded,
though i can't update the first post :confused2: (getting an error)

Merged :top:

paperghost
15.10.09, 08:13
i tryed to follow this but i keep getting stuck at step 5 , im guessing that you ment go to www and get phpmyadmin for there?
could you tell me how do it on something like wamp or xampp?

SBcheater
15.10.09, 17:36
That's really an interesting approach to experiment gaz. code, have you tried this in conjuction with uni-server?

I am reading this tut and hopefully work over it soon and leave my feedback cheatos do you know the name of the bit torrent tracker that doesnt use a mysql database i just cant remember it?

cheatos
15.10.09, 17:50
That's really an interesting approach to experiment gaz. code, have you tried this in conjuction with uni-server?

its by using Abyss WebServer.


do you know the name of the bit torrent tracker that doesnt use a mysql database i just cant remember it?

i saw it but i forgot its name :biggrin:
it was based on writing to a file if i remember correctly

anon
15.10.09, 18:18
do you know the name of the bit torrent tracker that doesnt use a mysql database i just cant remember it?

TorrentTrader Lite doesn't need a MySQL database, is that the one you're talking about?

SBcheater
15.10.09, 18:31
TorrentTrader Lite doesn't need a MySQL database, is that the one you're talking about?

Wawo that's another option i never knew about this one, thanks for sharing anon.

I just found the source code I was talking about it was Flippy's BitTorrent Tracker the first BitTorrent PHP tracker that does NOT use MySQL it users binary files to store its data.

http://www.plunder.com/Flippy-s-Bittorrent-Tracker-v2-2-FBT2-download-ddc369b4d9.htm

anon could you please confirm you received my pm ? or it is ignored

anon
15.10.09, 18:32
anon could you please confirm you received my pm ? or it is ignored

I did. Please be patient.

Instab
15.10.09, 18:37
image (http://img21.imageshack.us/img21/7919/gazelle3.png)

eot - end of topic :tongü:

that's how a forum should be :lol_5:

thecoolest
17.10.09, 09:47
hey cheatos sending u a link on ur rep check it out must hope you will like it :top:

---------- Post added at 07:47 ---------- Previous post was at 07:15 ----------

anytime mate i got that link yesterday trying to send msg cant coz of post :biggrin: so i sent you like this..sorry if it caused any problem then

sbiuser1
29.12.09, 06:25
can someone make a Virtual Machine image running Linux, Apache and Gazelle?

(or should I do it?)

GhostRaider
11.03.13, 07:59
Hi there, I clicked memcache but it was gone???