'''[[w:Torrentflux|Torrentflux]]''' is a multi-user GUI for [[w:BitTornado|BitTornado]]. It is scripted in [[w:PHP|PHP]], with a [[w:MySQL|MySQL]] database and runs on a web server. The most recent beta release also includes support for [[w:ADOdb|ADOdb]], allowing for use of other database backends. Numerous "hacks" have been written to add additional functionality.

+

+

'''[[w:Transmission_%28BitTorrent%29|Transmission]]''' is a free, lightweight [[w:BitTorrent|BitTorrent]] client. It features a simple, intuitive interface (we won't be using here) on top on an efficient, cross-platform back-end.

=== Requirements ===

=== Requirements ===

−

You will need to install:

+

You will need to install either:

−

# [[Apache HTTP server, installing | Apache]]

+

# [[Apache_HTTP_server%2C_installing | LAMP]] Steps 1-5

−

# [[Apache HTTP server, installing | PHP]]

+

# [[Lighttpd_with_mysql_and_php_%28LLMP%29 | LLMP]]

−

# [[Articles/DebianMySQL | MySQL]]

+

# [[Lighttpd_with_Sqlite_and_Php_%28LLSP%29 | LLSP]]

−

# Python

+

−

# Perl

+

−

=== Installation ===

=== Installation ===

−

+

May not be needed -

−

First get python and perl

+

Get python and perl

apt-get install python perl

apt-get install python perl

+

+

May not be needed -

+

Get cksfv and unrar (you will need non-free in /etc/apt/sources.list for unrar)

+

+

apt-get install cksfv unrar libevent-dev

+

+

Goto webservers root directory (/var/www)

Goto webservers root directory (/var/www)

Line 25:

Line 36:

Download [http://tf-b4rt.berlios.de torrentflux-b4rt] into said directory

Download [http://tf-b4rt.berlios.de torrentflux-b4rt] into said directory

<font color=red>(if you set a passwd for mysql root then use this and enter passwd at prompt)</font>

+

−

mysqladmin -p create torrentflux

+

−

and then

+

−

mysql torrentflux < mysql_torrentflux_tf-b4rt-97.sql

+

−

<font color=red>(if you set a passwd for mysql root then use this and enter passwd at prompt)</font>

+

−

mysql -p torrentflux < mysql_torrentflux_tf-b4rt-97.sql

+

−

+

−

cd ../../html

+

−

mv config.db.php.dist config.db.php

+

−

<font color=red>(if you set a passwd for mysql root you need to edit)</font>

+

Make it readable for apache user:group

−

pico config.db.php

+

chown -R www-data:www-data /var/www/torrentflux-b4rt_1.0-beta2/html

−

<font color=red>add passwd</font>

+

−

$cfg["db_pass"] = "<add passwd>"; // Password for Database

+

−

+

−

chown -R www-data:www-data /var/www/torrentflux_2.1-b4rt-97/html

+

−

+

−

== Apache ==

+

Now you will need to create a file in apache to see torrentflux

Now you will need to create a file in apache to see torrentflux

Line 74:

Line 70:

and add this to that file

and add this to that file

−

# SwissCenter Torrentflux Virtual Host Configuration file

+

# Torrentflux Virtual Host Configuration file

Listen 8090

Listen 8090

<VirtualHost _default_:8090>

<VirtualHost _default_:8090>

−

DocumentRoot "/var/www/torrentflux_2.1-b4rt-97/html"

+

DocumentRoot "/var/www/torrentflux-b4rt_1.0-beta2/html"

−

<Directory "/var/www/torrentflux_2.1-b4rt-97/html">

+

<Directory "/var/www/torrentflux-b4rt_1.0-beta2/html">

Options Indexes FollowSymLinks MultiViews

Options Indexes FollowSymLinks MultiViews

AllowOverride None

AllowOverride None

Line 93:

Line 89:

/etc/init.d/apache restart

/etc/init.d/apache restart

−

== Run it ==

+

== Lighttpd ==

+

Make it readable for apache user:group

+

chown -R www-data:www-data /var/www/torrentflux-b4rt_1.0-beta2

+

+

Restart Lighttpd

+

/etc/init.d/lighttpd restart

+

+

== Run it ==

+

=== Apache ===

Go to your Torrentflux on your Linkstation

Go to your Torrentflux on your Linkstation

<nowiki>http://<IPAdddress>:8090</nowiki>

<nowiki>http://<IPAdddress>:8090</nowiki>

+

=== Lighttpd ===

+

Go to your Torrentflux on your Linkstation

+

+

<nowiki>http://<IPAdddress>/torrentflux-b4rt_1.0-beta1/html</nowiki>

+

+

== Configure it ==

+

+

You should see the configuration screen that will run you through what database to use etc...

+

Once you've entered the correct details you'll see...

+

+

[[Image:Torrentflux_Login.JPG]]

+

+

Enter user name and passwd - <font color=red>WARNING!!</font> - That is for the superuser, so don't forget it

+

+

Check all the admin settings pages and configure your installation - i.e select transmissioncli as default client and point it in the right direction. You will need to correct everything highlighted red (apart from bittornado unless you are going to use it).

+

+

== Problems and Issues ==

+

Linkstation Pro : ARM Processor

+

Running out of memory after ca. 24 hours of running.

+

Needed to add more swap space. Search the wiki for "Adding more swap to Linkstation"

* Max. connections per torrent: 1 or 2, opening more ports per torrent (more than 12 in total) may slow down your Linkstation

+

[[User:Bauldrick|Bauldrick]] 11:38, 4 December 2006 (EST)

+

Minor changes by [[User:mosi|mosi]] 30.08.2007

[[Category:Debian]]

[[Category:Debian]]

Latest revision as of 16:14, 31 August 2009

Torrentflux is a multi-user GUI for BitTornado. It is scripted in PHP, with a MySQL database and runs on a web server. The most recent beta release also includes support for ADOdb, allowing for use of other database backends. Numerous "hacks" have been written to add additional functionality.

Transmission is a free, lightweight BitTorrent client. It features a simple, intuitive interface (we won't be using here) on top on an efficient, cross-platform back-end.

Run it

Apache

Lighttpd

Configure it

You should see the configuration screen that will run you through what database to use etc...
Once you've entered the correct details you'll see...

Enter user name and passwd - WARNING!! - That is for the superuser, so don't forget it

Check all the admin settings pages and configure your installation - i.e select transmissioncli as default client and point it in the right direction. You will need to correct everything highlighted red (apart from bittornado unless you are going to use it).

Problems and Issues

Linkstation Pro : ARM Processor
Running out of memory after ca. 24 hours of running.
Needed to add more swap space. Search the wiki for "Adding more swap to Linkstation"
Generally, the 128 MB RAM + 256 MB swap are NOT enough for running the lighttpd + SQLite + python (the queue manager) + 2 torrents, each with 2 ports open