Difference between revisions of "Debian torrentflux install"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Install the lighttpd web server with PHP5 et SQLite support)
(Torrentflux 2.1 + Transmissioncli installation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Articles|Debian|Kurobox|Filesharing}}
 
== Install the lighttpd web server with PHP5 et SQLite support ==
 
== Install the lighttpd web server with PHP5 et SQLite support ==
  
Line 12: Line 13:
 
  apt-get install lighttpd php5-cgi php5-sqlite
 
  apt-get install lighttpd php5-cgi php5-sqlite
 
Answer yes to all and ignore the errors (the one about exim is normal as you do not have exim !)
 
Answer yes to all and ignore the errors (the one about exim is normal as you do not have exim !)
 +
 +
You may also need python
 +
apt-get install python
  
 
Now configure lighttpd to use PHP5-cgi :
 
Now configure lighttpd to use PHP5-cgi :
Line 54: Line 58:
 
Now you can play with Torrentflux, your downloads will be stored in '''/mnt/torrent''' directory ;) Have fun !
 
Now you can play with Torrentflux, your downloads will be stored in '''/mnt/torrent''' directory ;) Have fun !
  
[[Category: Debian]]
+
== Clutch (alternative webgui for Transmission) ==
 +
 
 +
Instead of Torrentflux, you may also want to try Clutch. This is a web-based frontend to the transmission-daemon.
 +
 
 +
The latest package and howtos are at: http://clutchbt.com/ 
 +
[You may have to update transmission to a later build than the one in Sylver's package: check out http://www.transmissionbt.com/ for new packages.]

Latest revision as of 09:40, 5 February 2008

Install the lighttpd web server with PHP5 et SQLite support

Switch to debian unstable (needed as lighttpd is not available in stable debian)

nano /etc/apt/sources.list
replace stable to unstable in "deb" lines
//deb http://security.debian.org stable/updates main contrib
//deb ftp://ftp.fr.debian.org/debian unstable main contrib
//deb ftp://ftp.de.debian.org/debian-non-US stable/non-US main contrib
//deb-src ftp://ftp.fr.debian.org/debian unstable main contrib
//deb-src ftp://ftp.de.debian.org/debian-non-US stable/non-US main contrib

Install Lighttpd + PHP5 + SQLite support

apt-get install lighttpd php5-cgi php5-sqlite

Answer yes to all and ignore the errors (the one about exim is normal as you do not have exim !)

You may also need python

apt-get install python

Now configure lighttpd to use PHP5-cgi :

nano /etc/lighttpd/conf-available/10-fastcgi.conf
// replace
                "bin-path" => "/usr/bin/php4-cgi",
// with
                "bin-path" => "/usr/bin/php5-cgi",

and activate fast-cgi and cgi modules :

cd /etc/lighttpd/conf-enabled
ln -s ../conf-available/10-cgi.conf 10-cgi.conf
ln -s ../conf-available/10-fastcgi.conf 10-fastcgi.conf

Allow any client to connect to the server :

nano /etc/lighttpd/lighttpd.conf
// comment the line
server.bind                = "localhost"

=>

#server.bind                = "localhost"

Run lighttpd server with root privileges :

// comment the lines
server.username            = "www-data"
// and
server.groupname           = "www-data"

restart lighttpd :

/etc/init.d/lighttpd restart

Torrentflux 2.1 + Transmissioncli installation

Lucky you, I've made a package with all already compiled/configured :

apt-get install wget
cd /
wget http://www.kurobox.com/sylver/contest/06-05-15_torrentflux_transmission/tf21_tr.tar.gz
tar xzf tf21_tr.tar.gz
rm tf21_tr.tar.gz

It's almost finished :) With your browser, go to http://kurobox_ip/tf21 You will be prompted for a login/password ! You can enter whatever you want this time, it will be saved as the admin's user/password !

Now you can play with Torrentflux, your downloads will be stored in /mnt/torrent directory ;) Have fun !

Clutch (alternative webgui for Transmission)

Instead of Torrentflux, you may also want to try Clutch. This is a web-based frontend to the transmission-daemon.

The latest package and howtos are at: http://clutchbt.com/ [You may have to update transmission to a later build than the one in Sylver's package: check out http://www.transmissionbt.com/ for new packages.]