Debian torrentflux install

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 22:08, 23 June 2006 by Sylver (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 !)

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/php-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"

restart lighttpd :

/etc/init.d/lighttpd restart

Now install the Torrentflux 2.1 + Transmissioncli package :

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 ;) Have fun !