<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BenV&#039;s notes &#187; deluge</title>
	<atom:link href="http://notes.benv.junerules.com/tag/deluge/feed/" rel="self" type="application/rss+xml" />
	<link>http://notes.benv.junerules.com</link>
	<description>Rants and notes</description>
	<lastBuildDate>Wed, 28 Jul 2010 13:36:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Deluge issue</title>
		<link>http://notes.benv.junerules.com/all/software/deluge-issue/</link>
		<comments>http://notes.benv.junerules.com/all/software/deluge-issue/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 11:52:39 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[deluge]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=689</guid>
		<description><![CDATA[This morning I noticed my torrent daemon (aka Deluge) was down. Checking the logs revealed this: &#91;ERROR &#160; &#93; 12:22:01 main:216 libboost_filesystem-mt.so: cannot open shared object file: No such file or directory Traceback &#40;most recent call last&#41;: &#160; File &#34;/usr/lib/python2.6/site-packages/deluge/main.py&#34;, line 209, in start_daemon &#160; &#160; Daemon&#40;options, args&#41; &#160; File &#34;/usr/lib/python2.6/site-packages/deluge/core/daemon.py&#34;, line 134, in __init__ [...]]]></description>
			<content:encoded><![CDATA[<p>This morning I noticed my torrent daemon (aka <a href="http://deluge-torrent.org/">Deluge</a>) was down. <span id="more-689"></span><br />
Checking the logs revealed this:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>ERROR &nbsp; <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">22</span>:01 main:<span style="color: #000000;">216</span> libboost_filesystem-mt.so: cannot open shared object <span style="color: #c20cb9; font-weight: bold;">file</span>: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory<br />
Traceback <span style="color: #7a0874; font-weight: bold;">&#40;</span>most recent call <span style="color: #c20cb9; font-weight: bold;">last</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:<br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/main.py&quot;</span>, line <span style="color: #000000;">209</span>, <span style="color: #000000; font-weight: bold;">in</span> start_daemon<br />
&nbsp; &nbsp; Daemon<span style="color: #7a0874; font-weight: bold;">&#40;</span>options, args<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/core/daemon.py&quot;</span>, line <span style="color: #000000;">134</span>, <span style="color: #000000; font-weight: bold;">in</span> __init__<br />
&nbsp; &nbsp; from deluge.core.core import Core<br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/core/core.py&quot;</span>, line <span style="color: #000000;">36</span>, <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">&lt;</span>module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; from deluge._libtorrent import lt<br />
&nbsp; File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/_libtorrent.py&quot;</span>, line <span style="color: #000000;">59</span>, <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">&lt;</span>module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; import libtorrent <span style="color: #c20cb9; font-weight: bold;">as</span> lt<br />
ImportError: libboost_filesystem-mt.so: cannot open shared object <span style="color: #c20cb9; font-weight: bold;">file</span>: No such <span style="color: #c20cb9; font-weight: bold;">file</span> or directory</div></div>
<p>Interesting. Suddenly I reminded myself of some Slackware updates that probably installed a new version of boost yesterday, replacing my own version.</p>
<p>Oh well, since it seems to be the libtorrent part that&#8217;s bugging, I might as well upgrade it:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>downloads.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>libtorrent<span style="color: #000000; font-weight: bold;">/</span>libtorrent<span style="color: #000000; font-weight: bold;">/</span>libtorrent-0.14.7<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7.tar.gz?<span style="color: #007800;">use_mirror</span>=freefr<br />
&nbsp;<span style="color: #666666; font-style: italic;"># Leech leech</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #c20cb9; font-weight: bold;">tar</span> zxf libtorrent-rasterbar-0.14.7.tar.gz<br />
&nbsp;<span style="color: #666666; font-style: italic;"># Kaboom, in your /usr/src</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src$ <span style="color: #7a0874; font-weight: bold;">cd</span> libtorrent-rasterbar-0.14.7<br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7$ .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-dependency-tracking</span> <span style="color: #660033;">--enable-shared</span> <span style="color: #660033;">--enable-static</span> <span style="color: #660033;">--enable-python-binding</span> <span style="color: #660033;">--with-boost</span> <span style="color: #660033;">--with-libgeoip</span><br />
&nbsp;<span style="color: #666666; font-style: italic;"># lalala, junk</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7$ <span style="color: #c20cb9; font-weight: bold;">make</span><br />
&nbsp;<span style="color: #666666; font-style: italic;"># See you in an hour</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> pkg ; <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">DESTDIR</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #000000; font-weight: bold;">`/</span>pkg <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">cd</span> pkg<br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7<span style="color: #000000; font-weight: bold;">/</span>pkg$ makepkg <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>packages<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7-i386-<span style="color: #000000;">1</span>.tgz<br />
root<span style="color: #000000; font-weight: bold;">@</span>janeman:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7<span style="color: #000000; font-weight: bold;">/</span>pkg$ upgradepkg <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>packages<span style="color: #000000; font-weight: bold;">/</span>libtorrent-rasterbar-0.14.7-i386-<span style="color: #000000;">1</span>.tgz</div></div>
<p>(or you could have used slackbuild.pl, it&#8217;s easier <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</p>
<p>After upgrading the package, deluge starts again. Wheee.</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/deluge-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Torrent stuff</title>
		<link>http://notes.benv.junerules.com/all/software/torrent-stuff/</link>
		<comments>http://notes.benv.junerules.com/all/software/torrent-stuff/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 16:10:04 +0000</pubDate>
		<dc:creator>BenV</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[bittorrent]]></category>
		<category><![CDATA[deluge]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[slackware]]></category>

		<guid isPermaLink="false">http://notes.benv.junerules.com/?p=549</guid>
		<description><![CDATA[Every now and then I like to leech something, and it happens to be that using bittorrent has a lot to offer in terms of availability and usability. However, as usual I have my demands. My demands for a torrent program are basically: It has to run on Slackware It has to run as a [...]]]></description>
			<content:encoded><![CDATA[<p>Every now and then I like to leech something, and it happens to be that using bittorrent has a lot to offer in terms of availability and usability. However, as usual I have my demands. My demands for a torrent program are basically:</p>
<ul>
<li>It has to run on Slackware</li>
<li>It has to run as a daemon (in daemontools if possible)</li>
<li>There has to be an easy way to control and view the status, like a web based GUI.</li>
</ul>
<p><span id="more-549"></span><br />
A few years ago I used <span style="color:#FF00FF">mldonkey</span> for it. Worked fine, but their torrent support was getting worse and worse. (basically they didn&#8217;t update their product for ages, and when they did it didn&#8217;t improve much). It had a web interface that worked nicely though, and it was easy to control. Another cute thing was that it also supported other protocols that I still used back then like Edonkey.</p>
<p>However, at some point I got fed up with it and searched for a better product. Especially since I didn&#8217;t care about the other protocols anymore I could search for a pure torrent client. Many of them only support running as a client with some kind of fancy GUI&#8230; not good for running on our server. But then I found <a href="http://libtorrent.rakshasa.no/" title="Rtorrent">Rtorrent</a>.<br />
While it was a bitch to run on my server since it demanded to run in a terminal (and therefore refused to run under daemontools) &#8212; a problem I made bearable by running it in screen under a new user that was accessible through ssh keys &#8212; it worked very nicely. I had it running with a web interface called <a href="http://www.wtorrent-project.org/trac/">wtorrent</a>.<br />
But then yesterday I got very needy and demanded that it used IPv6 to connect to others. Sadly it fails to do that. Don&#8217;t know if it&#8217;s a configuration problem or simply <a href="http://libtorrent.rakshasa.no/ticket/1111">because the author doesn&#8217;t have enough time to fix it</a>. I tried the latest development builds and compiling it with <span style="color:#FFFF00">&#8211;enable-ipv6</span>, but it doesn&#8217;t seem to listen. In other words: time for a new client.</p>
<p>So after some searching I ran into <a href="http://dev.deluge-torrent.org/wiki/Screenshots" title="Deluge">Deluge</a>. It seems to fulfill all my requirements, so I decided to give it a shot. A few bonus points are immediately earned because Deluge uses the more commonly used <a href="http://www.rasterbar.com/products/libtorrent/">libtorrent</a>, not to be confused by the other libtorrent that rtorrent uses. The bonus points are because the rasterbar libtorrent has plugin support among things and in general is a bit more up to date on the whole torrent protocol as far as I can tell. (makes you wonder why rtorrent doesn&#8217;t use it).<br />
Time for installation!<br />
Slackbuild had no problems chewing through libtorrent and spitting out a nice slackware package. However, Deluge is built in python so some manual work to get a package from it. (I seriously need to get some time to work on slackbuild to support this stuff).</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">root<span style="color: #000000; font-weight: bold;">@</span>Uil:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>deluge-1.2.0_rc3<span style="color: #666666; font-style: italic;"># mkdir pkg</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>Uil:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>deluge-1.2.0_rc3<span style="color: #666666; font-style: italic;"># python setup.py install --root `pwd`/pkg -O2</span><br />
&nbsp;<span style="color: #000000; font-weight: bold;">*</span>blabla compile blabla<span style="color: #000000; font-weight: bold;">*</span><br />
root<span style="color: #000000; font-weight: bold;">@</span>Uil:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>deluge-1.2.0_rc3<span style="color: #666666; font-style: italic;"># cd pkg/ &amp;&amp; makepkg /usr/src/packages/deluge-1.2.0rc3-i386-1.tgz</span></div></div>
<p>Voila, a nice package. After installing it, and creating a new user for it, it was time to see if it would work in daemontools.<br />
However, I didn&#8217;t check any dependencies so trying to run the deluge program failed:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Traceback <span style="color: #7a0874; font-weight: bold;">&#40;</span>most recent call <span style="color: #c20cb9; font-weight: bold;">last</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>:<br />
&nbsp; &nbsp;File <span style="color: #ff0000;">&quot;/usr/bin/deluged&quot;</span>, line <span style="color: #000000;">8</span>, <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">&lt;</span>module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp;load_entry_point<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'deluge==1.2.0-rc3'</span>, <span style="color: #ff0000;">'console_scripts'</span>, <span style="color: #ff0000;">'deluged'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp;File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/pkg_resources.py&quot;</span>, line <span style="color: #000000;">277</span>, <span style="color: #000000; font-weight: bold;">in</span> load_entry_point<br />
&nbsp; &nbsp; &nbsp;<span style="color: #7a0874; font-weight: bold;">return</span> get_distribution<span style="color: #7a0874; font-weight: bold;">&#40;</span>dist<span style="color: #7a0874; font-weight: bold;">&#41;</span>.load_entry_point<span style="color: #7a0874; font-weight: bold;">&#40;</span>group, name<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp;File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/pkg_resources.py&quot;</span>, line <span style="color: #000000;">2180</span>, <span style="color: #000000; font-weight: bold;">in</span> load_entry_point<br />
&nbsp; &nbsp; &nbsp;<span style="color: #7a0874; font-weight: bold;">return</span> ep.load<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp;File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/pkg_resources.py&quot;</span>, line <span style="color: #000000;">1913</span>, <span style="color: #000000; font-weight: bold;">in</span> load<br />
&nbsp; &nbsp; &nbsp;entry = __import__<span style="color: #7a0874; font-weight: bold;">&#40;</span>self.module_name, globals<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>,globals<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #ff0000;">'__name__'</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
&nbsp; &nbsp;File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/main.py&quot;</span>, line <span style="color: #000000;">47</span>, <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">&lt;</span>module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp;import deluge.common<br />
&nbsp; &nbsp;File <span style="color: #ff0000;">&quot;/usr/lib/python2.6/site-packages/deluge/common.py&quot;</span>, line <span style="color: #000000;">66</span>, <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">&lt;</span>module<span style="color: #000000; font-weight: bold;">&gt;</span><br />
&nbsp; &nbsp; &nbsp;import xdg, xdg.BaseDirectory<br />
&nbsp;ImportError: No module named xdg</div></div>
<p>Meh, xdg&#8230; fine. Fortunately python has <span style="color:#00FFFF">easy_install</span> as perl has cpan, so I installed a bunch of required things for it (like twisted, pyopenssl, chardet, mako). For xdg easy_install didn&#8217;t work though, so I handed it to easy_install using <a href="http://www.freedesktop.org/~lanius/pyxdg-0.18.tar.gz">this url</a>. After this it started up, even in daemontools! Another success.<br />
For those who are interested, my daemontools <span style="color:#00FF00">run</span> file looks like this:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span><br />
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span><br />
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-e</span><br />
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>general_stores2<span style="color: #000000; font-weight: bold;">/</span>deluge<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$HOME</span><br />
<span style="color: #7a0874; font-weight: bold;">exec</span> setuidgid deluge <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>deluged <span style="color: #660033;">-d</span> <span style="color: #660033;">-c</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>etc <span style="color: #660033;">-i</span> eth_local <span style="color: #660033;">-L</span> info</div></div>
<p>You obviously need to adjust the paths and interface and whatnot to your own ideals <img src='http://notes.benv.junerules.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
After starting it for the first time it created some configuration and state files and is now waiting for connections. Woohoo.</p>
<p>So now, how do we connect to it? Seems like the web interface isn&#8217;t running yet. This is because deluge uses a client/server model where the daemon does<br />
all the work, but it doesn&#8217;t deal with the interface side. So to run the web interface we have to start a separate deluge process. Let&#8217;s also put that in daemontools:</p>
<div class="codecolorer-container bash vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #7a0874; font-weight: bold;">exec</span> <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span><br />
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span><br />
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-e</span><br />
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>general_stores2<span style="color: #000000; font-weight: bold;">/</span>deluge<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$HOME</span><br />
<span style="color: #7a0874; font-weight: bold;">exec</span> setuidgid deluge <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>deluge <span style="color: #660033;">-c</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>etc <span style="color: #660033;">-L</span> info <span style="color: #660033;">-u</span> web</div></div>
<p>After firing this one up you can connect using your browser on port 8112. Default password is <span style="color:#FFFF00">deluge</span>. After logging in you get the connection manager which shows the running daemon that you started up earlier. (or at least, that&#8217;s what it did here):<br />
<div id="attachment_553" class="wp-caption alignnone" style="width: 310px"><a href="http://notes.benv.junerules.com/wp-content/uploads/2009/11/deluge-connection-manager.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/11/deluge-connection-manager.png" alt="Deluge Connection Manager" title="deluge connection manager" width="300" height="291" class="size-full wp-image-553" /></a><p class="wp-caption-text">Deluge Connection Manager</p></div><br />
So have fun! Don&#8217;t forget to check out the plugins:<br />
<a href="http://notes.benv.junerules.com/wp-content/uploads/2009/11/deluge-plugins.png"><img src="http://notes.benv.junerules.com/wp-content/uploads/2009/11/deluge-plugins-300x291.png" alt="deluge-plugins" title="deluge-plugins" width="300" height="291" class="alignnone size-medium wp-image-554" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.benv.junerules.com/all/software/torrent-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
