Debian torrentflux install

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search

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 stable/updates main contrib
//deb unstable main contrib
//deb stable/non-US main contrib
//deb-src unstable main contrib
//deb-src 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 /
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: [You may have to update transmission to a later build than the one in Sylver's package: check out for new packages.]