• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 [2]
Author Topic: Deluge (Torrent Box)  (Read 10709 times)
Gothnet
Newbie
*

Karma: 0
Posts: 33


View Profile
« Reply #15 on: April 30, 2009, 05:31:42 AM »

I went for the second option.
I installed everything and my plug gives me a webpage now.
What's next?

--Oler

OK, you've got all that stuff installed.

Next open up /etc/lighttpd/lighttpd.conf and add in the server.modules section "mod_fastcgi"
Make sure .php is listed in static-file.exclude-extensions, then add a section like this at the end of the file -

Code:
fastcgi.server = (
                 ".php" => ((
                     "bin-path" => "/usr/bin/php5-cgi",
                     "socket" => "/tmp/php.socket",
                     "max-procs" => 2,
                     "bin-environment" => (
                       "PHP_FCGI_CHILDREN" => "1",
                       "PHP_FCGI_MAX_REQUESTS" => "300"
                     ),
                     "bin-copy-environment" => (
                       "PATH", "SHELL", "USER"
                     ),
                     "broken-scriptfilename" => "enable"
                 ))
                 )
That one was tuned to extremely low resource use for a linksys NSLU2. It could probably be tidier.

OK, that's the webserver sorted. Now php. From the readme -

Code:
o Safe Mode must be turned off:
            * php.ini: safe_mode = Off

o Allow Url fopen must be allowed:
            * php.ini: allow_url_fopen = On

o open_basedir must be empty:
            * php.ini: open_basedir = ''

I made these changes in both /etc/cli/php.ini and /etc/cgi/php.ini. In addition I have the lines

Code:
extension=pdo.so
extension=sqlite.so

in the "Dynamic Extensions section of cgi/php.ini, but I'm not sure if it's necessary. Right, so now we've got the system ready, restart lighttpd by running /etc/init.d/lighttpd restart, then grab this file - http://download.berlios.de/tf-b4rt/torrentflux-b4rt_1.0-beta2.tar.bz2

Dump the contents of the html directory from it into /var/www. On another machine go to http://<your sheevaplug_ip>/config.php, run through the four or five stage config wizard and you're there. This gets you a (fairly) lightweight but full featured web torrenting frontend. At the moment the only client it will have is the python based BitTornado. If you want to lower the system hit more you'll need transmission. Because it needs status information for the nice web interface, you'll need to build a custom version of transmission. Or I can mail you one that I've already built on my plug...

If you're still interested, and I haven't scared you off, let me know when you've got this far and whether you want a pre-built binary or help making your own. Instructions are included in the clients/transmission directory of the tar file you downloaded, but you'll need to install a C compiler and other such fun things.

If you're wondering where this ends up, here's a screenshot of the mainpage (though mine actually looks much nicer, I think this is from a slightly older version)

Logged

oler
Newbie
*

Karma: 0
Posts: 3


View Profile
« Reply #16 on: May 02, 2009, 12:29:44 PM »

Done everything.
php.ini files are in /etc/php5/cli and /etc/php5/cgi
Hope that isen't a problem?
The plug doesent gives me a webpage anymore but i have to download the torrentflux.tar
How do i download that file to my plug and place it where it needs to be?
I would want to keep the hit as low as posible so can you send me the verssion off transmission?

--Oler
Logged

Gothnet
Newbie
*

Karma: 0
Posts: 33


View Profile
« Reply #17 on: May 02, 2009, 04:42:34 PM »

Done everything.
php.ini files are in /etc/php5/cli and /etc/php5/cgi
Hope that isen't a problem?
The plug doesent gives me a webpage anymore but i have to download the torrentflux.tar
How do i download that file to my plug and place it where it needs to be?
I would want to keep the hit as low as posible so can you send me the verssion off transmission?

--Oler


wget is probably the easiest way, it's not a big thing, apt-get  install wget, then wget the url I geve you before.

PM me your email address and I can mail you the binary.
Logged

HelenJames
Guest
« Reply #18 on: July 28, 2010, 07:22:08 AM »

I have send you in pm
Logged

Gothnet
Newbie
*

Karma: 0
Posts: 33


View Profile
« Reply #19 on: July 28, 2010, 09:50:26 AM »

Errr.... me? I didn't get a PM.

I also now feel bad because I don't know if I ever got back to oler with the binary he was after, or any further help after leading him to use my favourite sort of web/torrent interface.

oler, if you're there, did all turn out ok?
Logged

danny900
Newbie
*

Karma: 0
Posts: 1


View Profile
« Reply #20 on: September 04, 2010, 05:55:11 AM »

I'm having bit torrent problems?
so i used Azuras for some time but i heard about deluge and thought that it would be better so i deleted Azuras and downloaded deluge. then when i downloaded a torrent file a window popped up like always asking where to download and i changed the place from Azuras to Deluge and then i checked the box saying do not ask again and it never popped up again. i came to hate deluge so i deleted it and re downloaded Azuras. but when i try to download a file i can't cause its set to go to deluge. a window pops up saying that the association helper does not exist so i can't download. it then says that i can change the helper in my preferences and thats what i need to do but i have no idea how to get to my preferences (I'm a retard when it comes to computers).
http://www.glitzwedding.com/
Logged

pietsnot
Newbie
*

Karma: 1
Posts: 41


View Profile
« Reply #21 on: November 06, 2010, 02:53:05 PM »

keep it simple, just install rTorrent
i'am using that great/stable/light/fast  app for years on my nslu2, and now for months on my guruplug without any problem.

http://computingplugs.com/index.php/RTorrent
http://en.wikipedia.org/wiki/RTorrent

piet@snot:~$ dpkg --list rtorrent
||/ Name                     Version                  Description
+++-========================-========================-========
ii  rtorrent                 0.8.6-1                  ncurses BitTorrent client based on LibTorrent from rakshasa
« Last Edit: November 13, 2010, 01:07:58 PM by pietsnot » Logged

[unbricked]2xguruplug-server+2xjtag>nslu2;debian squeeze; [4|8]gb mmc:rootFS+swapFS; sata-hd 2tb; Linux-kernel-2.6.35.12; U-Boot_2010.03-01266; iptables:FW+router+gw;dhcpd;sshd;sabnzbd;vsftpd;exim4;rTorrent; nfs[d]; autofs; xorg; icewm; iceweasel; xrdp; privoxy+tor; apache; smbd; mediatomb>pch-a110

Pages: 1 [2]
Print
Jump to: