Gå til innhold

installasjon av torrentflux på clarkconnectserver


Anbefalte innlegg

hei

 

trenger litt hjelp.. har sittet i x antall timer for å installere torrentflux for å slippe å ha på min egen maskin om natta, da serveren står på hele døgnet...

 

får det ikke til av en eller annen grunn...

 

har lagt inn webserver(apache) php-modul, MySQL osv... hva må jeg jeg gjøre for å få det til? må jeg starte en database i mySQl, konfigurere webseren på en spesiell måte?

 

en ikke kjempedreven på linux, ennå

 

har trålet det offisielle forumet, men ikke fått noe vettugt ut av det...

 

MVH

LordArild

Lenke til kommentar
Videoannonse
Annonse
. Untar the package into a directory then copy the contents of

the "html" folder into your web site directory.

 

    tar -zxvf torrentflux.tar.gz

 

2. Create a database and load the torrentflux.sql script.

Database abstraction is supported starting in TorrentFlux 2.0

using ADODB for PHP.  You may specify type of database you want

to use in the config.php, but the examples here use MySQL.

 

    mysqladmin create torrentflux

 

"torrentflux.sql" contains the commands to build the table

structure and the default data for the TorrentFlux.  Run the

script on your torrentflux database.

 

    mysql torrentflux < torrentflux.sql

    Or with PHPMyAdmin (web interface)

 

3. Edit 'config.php' for database settings and TorrentFlux file

path -- $cfg["path"].  Database abstraction is supported starting

in TorrentFlux 2.0 using ADODB for PHP.  You may specify type

of database you want to use, but the examples here use MySQL.

Make sure the path is writable by the user ID that Apache runs

under.  Or just chmod 777 it.  Read through the config.php file,

there may be other options you may

need or want to set.

 

4. Copy the TF_BitTornado directory some where on your web server,

keeping its contents and sub directories intact.  Make sure the

both btphptornado.py and btshowmetainfo.py files are chmod'd +x

so they can execute:

 

    chmod +x btphptornado.py

    chmod +x btshowmetainfo.py

   

The config.php has two variables ($cfg["btphpbin"] and

$cfg["btshowmetainfo"]) that need to be set to the python scripts.

The following are examples of paths:

 

    $cfg["btphpbin"] = "/usr/local/TF_BitTornado/btphptornado.py";

    $cfg["btshowmetainfo"] = "/usr/local/TF_BitTornado/btshowmetainfo.py";

 

5. IMPORTANT:  The first time you access the application, you

will be prompted for a user/password -- this is when you will

set the SUPER ADMIN user and password by what you enter.  For

example, you pull the site up for the first time, you will

be prompted to login and if you put in user: 'goombah' and

password: 'iama' then your super admin user account will

be set to goombah/iama -- cool?

Lenke til kommentar

takk for hjelpen.... skjønte ingenting av det gitt..

 

kan noen forklare det litt enklere... fint lite dreven på både linux og sql-databaser... hvis det er noen som har gjordt det selv, kan de forklare det i klartekst..

 

MVH

Lord

Lenke til kommentar
  • 2 uker senere...

OK:

 

1: I weboppsettet, sett opp windows sharing(under software) og del ut website på sambanettet

 

2: Last ned den TF versjonen du vil ha. Åpne den i winrar på ocen din. kopier alt inn i mappen website-->html i nettverksstedene. Hvis du nå skriver ipen til maskinen i IE, vil det komme opp ei innloggingsside.

 

 

3: sette opp MySQL. Under software i weboppsettet til CC, så er det en side for Database. Der ligger det en link til PHPmyAdmin (den spør kansje om bruker/passord). Opprett en databse med navn Tflux. Gå inn i den. Der finnes det en fane som heter SQL. Inne der kan du legge inn kommendoer. I Tarfila til TF er det en undermappe som heter SQL. Kopier innholdet av den riktige fila inn der og kjør alt. Da skulle det legges inn endel tabeller i databsen.

 

4: Gjøre python scriptet kjørbart. Få opp en terminal mot CC (putty) til /var/www/html TF_BitTornado/

kjør chmod +x btphptornado.py

chmod +x btshowmetainfo.py

 

5: forandre config.php i html mappa slik at den stemmer med mySQL databsen. Det er bare de første variablene som skal forandres.

 

6: Hvis alt er gjort riktig så er det bare å logge inn nå. Hvis du under innlogginga får opp en mySQL feil, så er det noe galt med databsen. Hvis du ikke kan laste ned torrenter, så er det feil i rettighetene.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...