Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Gazelle (http://www.bvlist.com/forumdisplay.php?f=40)
-   -   How To Set Up Gazelle on a Debian Server (http://www.bvlist.com/showthread.php?t=2359)

mrs 21st January 2010 02:06

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:

Originally Posted by marius (Post 19816)
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


Any ideea ? :sad:
I need to setup this tracker before 1th february.
Please help me!

zuzubv 21st January 2010 19:32

Quote:

Originally Posted by marius (Post 19816)
I need to setup this tracker before 1th february.
Please help me!


kiddin, right?

after compile and install the tracker, you have to resolve some bugs, and much other :)

mrs 22nd January 2010 17:40

Quote:

Originally Posted by zuzubv (Post 19830)
kiddin, right?

after compile and install the tracker, you have to resolve some bugs, and much other :)


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

underx 6th February 2010 16:19

When i run these
[quote]$ mysql -u root
$ use mysql
$ update user set password=PASSWORD(

pennst26 11th February 2010 05:45

need some help please (error on make)
 
Code:

Now type `make' to compile.
debian:/site/hh/xbtt/build/xbtt# make
make  all-recursive
make[1]: Entering directory `/site/hh/xbtt/build/xbtt'
Making all in src
make[2]: Entering directory `/site/hh/xbtt/build/xbtt/src'
Making all in misc
make[3]: Entering directory `/site/hh/xbtt/build/xbtt/src/misc'
Making all in sql
make[4]: Entering directory `/site/hh/xbtt/build/xbtt/src/misc/sql'
/bin/sh ../../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../ -I../../    -g -O2 -I/usr/include/mysql  -DBIG_JOINS=1 -fPIC -funroll-loops -fexpensive-optimizations -O3 -MT database.lo -MD -MP -MF .deps/database.Tpo -c -o database.lo database.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../.. -I../ -I../../ -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -funroll-loops -fexpensive-optimizations -O3 -MT database.lo -MD -MP -MF .deps/database.Tpo -c database.cpp  -fPIC -DPIC -o .libs/database.o
In file included from database.h:8,
                from database.cpp:2:
sql_result.h: In member function 'long long int Csql_field::i(long long int) const':
sql_result.h:70: error: 'atoll' was not declared in this scope
make[4]: *** [database.lo] Error 1
make[4]: Leaving directory `/site/hh/xbtt/build/xbtt/src/misc/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/site/hh/xbtt/build/xbtt/src/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/site/hh/xbtt/build/xbtt/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/site/hh/xbtt/build/xbtt'
make: *** [all] Error 2

anyone know a fix for this?
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

Phogo 15th February 2010 15:02

Quote:

Originally Posted by pennst26 (Post 20877)
Code:

Now type `make' to compile.
debian:/site/hh/xbtt/build/xbtt# make
make  all-recursive
make[1]: Entering directory `/site/hh/xbtt/build/xbtt'
Making all in src
sql_result.h:70: error: 'atoll' was not declared in this scope
make[4]: *** [database.lo] Error 1

anyone know a fix for this?
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

I can fix this, pm me

gordon 10th April 2010 07:32

This tut seems pretty old, and I have run into many many problems trying to use this one. Is there a new one available?

pirpiliter 9th October 2010 21:57

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
2. Build essentials (install important stuff):

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
apache2, php5, memcached, and sphinxsearch are also in the Debian package repository so you don't need to build by hand. If you run Sid (unstable) you will get the versions described below.

Code:

sudo apt-get install apache2 php5 memcached sphinxsearch
3. Install Apache HTTP Server:

Code:

cd /usr/local && wget http://mirror.cc.columbia.edu/pub/software/apache//httpd/httpd-2.2.16.tar.gz

tar -xzvf httpd-2.2.16.tar.gz && cd httpd-2.2.16

./configure --enable-so

make

make install

/usr/local/apache2/bin/apachectl start

/usr/local/apache2/bin/apachectl stop

4. Install Memcached (you can also use this shell script to install memcache automatically)

Code:

cd /usr/local && wget http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz

tar -xvf memcached-1.4.5.tar.gz && cd memcached-1.4.5

./configure

make

make install

5. Install PHP

Code:

cd /usr/local && wget http://us3.php.net/get/php-5.3.3.tar.gz/from/this/mirror

tar xzvf php-5.3.3.tar.gz && cd php-5.3.3

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-mcrypt --with-mysqli --with-gd --enable-mbstring

make

make install

libtool --finish /usr/local/php-5.3.3/libs

cp php.ini-development /usr/local/lib/php.ini

cd /usr/local/src/ && wget http://pecl.php.net/get/memcache-2.2.4.tgz

tar xzvf memcache-2.2.4.tgz && cd memcache-2.2.4

phpize && ./configure --enable-memcache && make

mkdir -p /usr/local/lib/php/extensions/no-debug-non-zts-20090626

cp modules/memcache.so /usr/local/lib/php/extensions/no-debug-non-zts-20090626/

Add extension=memcache.so to your php.ini (/usr/local/lib/php.ini) file and restart the webserver (/usr/local/apache2/bin/apachectl restart)

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

SetHandler application/x-httpd-php


SetHandler application/x-httpd-php


SetHandler application/x-httpd-php-source

you can add this as well, so you can set where your files are served from:

Code:


DocumentRoot /var/www

AllowOverride All
allow from all
Options +Indexes


Test it:

Code:

/usr/local/apache2/bin/apachectl start
Create a PHP file with the folowing code in it:
Code:


Place that file in your web root (in this case, /var/www) and navigate to localhost (either 127.0.0.1, or 127.0.1.1) - See if you have success!

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
xxx= megabytes of ram. We used 512 for the -m XXX bit.

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
9. Install Sphinx
-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

tar xzvf sphinx-1.10-beta.tar.gz && cd sphinx-1.10-beta

./configure

make

make install

Use the sphinx.conf included in the latest Gazelle tarball build

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

/usr/local/bin/indexer -c /usr/local/sphinx-1.10-beta/sphinx.conf --all

mkdir -p /var/log/searchd/

/usr/local/bin/searchd

If you get any errors, try to debug it yourself. If all else fails, post in the forums or join IRC.



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
3. With FileZilla or a shell editor, open config.php. This is your main configuration file for Gazelle. Set all the settings for your site, how you want them. The important bit is the SITE_SALT and other hashes. You can use this site to make good hash keys: http://grc.com/passwords.html

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
Enter this:

Code:

0,15,30,45 * * * * /usr/local/bin/php /var/www/schedule.php INSERT_YOUR_SCHEDULE_KEY >> /root/schedule.log

10,25,40,55 * * * * /usr/local/bin/php /var/www/peerupdate.php INSERT_YOUR_SCHEDULE_KEY >> /root/peerupdate.log

* * * * * /usr/local/bin/indexer -c /usr/local/sphinx-1.10-beta/sphinx.conf --rotate delta requests_delta

5 0,12 * * * /usr/local/bin/indexer -c /usr/local/sphinx-1.10-beta/sphinx.conf --rotate --all

Where SCHEDULE_KEY is the password you set in classes/config.php



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/

./configure --bindir=/path/to/xbtt/xbtt/bin --libdir=/path/to/xbtt/xbtt/lib --libexecdir=/path/to/xbtt/xbtt/lib --enable-epoll

make

sudo make all install

For common installation problems, see here: http://what.cd/gazelle/forums.php?ac...ead&threadid=2
----------------------------------
source: http://what.cd/gazelle/

wMan 20th October 2010 22:05

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:

nikole957 5th December 2010 04:12

Quote:

Originally Posted by adyshor (Post 11067)
:bubble: Hi I'm almost done a still need to resolve this problem
Code:

./xbt_tracker xbt_tracker.conf
/site/xbtt/build/xbtt/src/.libs/lt-xbt_tracker: error while loading shared libraries: libmisc.so.0: cannot open shared object file: No such file or directory

Thank you all!
Later edit: How can I make the anounce url from tracker.domain to domain?

I'm getting that, too. Can someone PM me with some help? It would be greatly appreciated





______________________
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 17:28.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.