Difference between revisions of "Debian torrentflux install"
(→Install the lighttpd web server with PHP5 et SQLite support)
m (6 revision(s))
Revision as of 19:56, 12 July 2007
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 :
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 !