View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Sep 20, 2008 7:35 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
HOWTO Covers: Installation of Torrentflux. Tested, works great on R5.5, and is D-E-A-D simple :p

HOWTO Does NOT Cover: Configuration of TorrentFlux (come on people, it's pretty much self-explanatory). One caveat to be aware of with any system behind a router/firewall (if you have a router and/or firewall) is that you'll have to forward or open a port/ports for TorrentFlux to work properly. This too is beyond the scope of this HOWTO guide. See the references section at the end of this guide for a link that'll help you in this regard.

Background Material: TorrentFlux is a headless (i.e. you run it from a shell and it has no UI), bittorrent client with a killer web interface. You control it through your mythweb from any machine that has access to your mythweb. It uses very little resources compared to some GUI-only BT clients which makes it perfect for a KM system!

The Installation Steps: As always, command that being with the $ prompt are done by the user (i.e. mythtv) and those preceded by the # prompt are done by root.

First download the latest release of TorrentFlux (as of 18-Jun-2008 it is version 2.4):

Code:
$ cd /home/mythtv
$ wget http://internap.dl.sourceforge.net/sourceforge/torrentflux/torrentflux_2.4.tar.gz


Now untar setup mysql for TorrentFlux:

Code:
$ tar zxvf torrentflux_2.4.tar.gz ; cd torrentflux_2.4/sql
$ echo "CREATE DATABASE torrentflux ;" > create.sql ; mysql -uroot < create.sql ; mysql -uroot torrentflux < mysql_torrentflux.sql


Finally create a dir for the www interface, move the files there and delete the untarred files:

Code:
$ cd ..
# mv html /var/www/torrentflux ; chown -R www-data:www-data /var/www/torrentflux
$ cd ..
$ rm -rf torrentflux_2.4


Recommended: I recommend that you place your downloads on your /myth partition since in a single-drive system, that will be the largest partition in the system:

Code:
# mkdir /myth/torrentflux ; chmod 777 /myth/torrentflux ; chown www-data:www-data /myth/torrentflux


When you go through the TorrentFlux config in the web interface, be sure you change the admin>settings>path accordingly.

That's it!

To access the web front-end simply point your browser to http://IP_of_Mythtvbox/torrentflux/index.php

Enjoy!

It's recommended that you install an IPblocking software to help protect your privacy. See my HOWTO: Install Moblock on R5.5 if you wanna give moblock a try.

References
Chrisj'ssimple install script which I consulted prior to writing this guide. In fact, the majority of the guide is taken right out of his script.
Homepage for torrentflux.
Port forwarding guides.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Last edited by graysky on Sat Oct 04, 2008 5:35 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 7:10 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
Graysky -- is there an advantage to this over just "apt-get install torrentflux?" It seemed to build the MySql database and all with no intervention when I installed it on my Debian server. I'm using it to push R5.5 now.

When I simulate it on my KM R5.5 box, I get:

Code:
root@myth01:~# apt-get -s install torrentflux
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  bittornado dbconfig-common libphp-adodb
Suggested packages:
  bittornado-gui python-psyco php5-adodb
Recommended packages:
  python-crypto
The following NEW packages will be installed:
  bittornado dbconfig-common libphp-adodb torrentflux
0 upgraded, 4 newly installed, 0 to remove and 895 not upgraded.
Inst bittornado (0.3.18-7 Debian:unstable)
Inst dbconfig-common (1.8.40 Debian:unstable)
Inst libphp-adodb (5.05-1 Debian:unstable)
Inst torrentflux (2.4-2 Debian:unstable)
Conf bittornado (0.3.18-7 Debian:unstable)
Conf dbconfig-common (1.8.40 Debian:unstable)
Conf libphp-adodb (5.05-1 Debian:unstable)
Conf torrentflux (2.4-2 Debian:unstable)

-- Joe

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 8:10 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I originally tried it with apt-get on my system and it failed for some reason... I think at the mysql stuff. I can't remember for sure. Give it a shot and let us know.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 08, 2008 12:42 am 
Offline
Joined: Sat Jan 31, 2004 12:50 pm
Posts: 84
Location: Santa Cruz Mountains, CA
sweet! This is exactly what I was looking for. :)

_________________
* v2. NZXT Duet / ECS G33T-M2 / Intel C2D E5200 / 2GB RAM / 1TB HD / Nvidia 7200GS / PVR-250 / SiliconDust HDHomeRun
* v1. Shuttle SK41G - AMD 1.4GHz / 768MB RAM / 300GB HD / PVR-250 / Nvidia 5200
* Samsung LN52A650


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 08, 2008 2:06 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Glad it worked out for you... I should say that torrentflux handles the downloads a little weird in my opinion. I have since switched to deluge (GUI but has a web interface that is pretty nice). You can get it to try via:

Code:
# apt-get install deluge-torrent


Once you have it installed you'll need to enable the web plugin via the options menu.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu