<?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>Linux für alle &#187; Debian</title>
	<atom:link href="http://www.simplylinux.ch/category/distros/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simplylinux.ch</link>
	<description>Jeder kann Linux beherrschen lernen...</description>
	<lastBuildDate>Sat, 19 Nov 2011 17:37:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>PDFs mit Passwort versehen unter KDE 4</title>
		<link>http://www.simplylinux.ch/pdfs-mit-passwort-versehen-unter-kde-4</link>
		<comments>http://www.simplylinux.ch/pdfs-mit-passwort-versehen-unter-kde-4#comments</comments>
		<pubDate>Thu, 01 Sep 2011 14:19:29 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[kdialog]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[service menu]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=415</guid>
		<description><![CDATA[Heute tauchte auf der Arbeit die Frage auf, wie man denn bequem ein PDF mit einem Passwort versehen könnte um es &#8220;sicher&#8221; übers Internet zu verschicken. Die einzige sichere Möglichkeit meiner Meinung nach, wäre halt das Email samt Anhang zu verschlüsseln. Aber das stösst im Geschäftsbereich halt auch auf gewisse Probleme. Obwohl, mit der SuisseID [...]]]></description>
			<content:encoded><![CDATA[<p>Heute tauchte auf der Arbeit die Frage auf, wie man denn bequem ein PDF mit einem Passwort versehen könnte um es &#8220;sicher&#8221; übers Internet zu verschicken. Die einzige sichere Möglichkeit meiner Meinung nach, wäre halt das Email samt Anhang zu verschlüsseln. Aber das stösst im Geschäftsbereich halt auch auf gewisse Probleme. Obwohl, mit der SuisseID sollte das ja in Zukunft bald mal beseitigt sein.</p>
<p>Zuerst dachte ich, Okular müsste das sicherlich können, denn Okular kann ja auch ausgefüllte Formulare in PDFs speichern. Fehlanzeige!</p>
<p>Also istder nächste Weg gewesen ein Shellscript zu basteln, da ich auch über Google nicht fündig wurde. Das war relativ einfach. Jedoch gibts ein Problem. Nicht jeder mag die Kommandozeile.</p>
<p>Blieb mir also nichts weiter übrig als das irgendwie unter KDE zu machen.</p>
<p><span id="more-415"></span></p>
<p>Ich dachte mir, bequem wäre es, wenn man einfach ein PDF rechts anklicken könnte, dann ein Kontextmenu auswählen, Passwort eingeben und gut ist.</p>
<p>Ich bin dann relativ schnell in den Service Menu Seiten und KDE Dialog gelandet:</p>
<p><a href="http://techbase.kde.org/Development/Tutorials/Creating_Konqueror_Service_Menus" title="http://techbase.kde.org/Development/Tutorials/Creating_Konqueror_Service_Menus">http://techbase.kde.org/Development/Tutorials/Creating_Konqueror_Service_Menus</a><br />
<a href="http://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs" title="http://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs">http://techbase.kde.org/Development/Tutorials/Shell_Scripting_with_KDE_Dialogs</a></p>
<p>Das hat geholfen. Als war die Aufgabe nur noch, das Shellscript in das Service Menu korrekt einzubinden. Zuerst musste ich das Service Menu Verzeichnis erstellen:</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> <span class="re5">-P</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>kde4<span class="sy0">/</span>services<span class="sy0">/</span>ServiceMenus</pre></div></div>
<p>Danach habe ich einen neue Eintrag angelegt:</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">touch</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>kde4<span class="sy0">/</span>services<span class="sy0">/</span>ServiceMenus<span class="sy0">/</span>addPDFPasswd.desktop</pre></div></div>
<p>und schlussendlich mit einigem Probieren die .desktop Datei mit folgendem Inhalt gefüllt:</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="br0">&#91;</span>Desktop Entry<span class="br0">&#93;</span>
<span class="re2">Type</span>=Service
<span class="re2">ServiceTypes</span>=KonqPopupMenu<span class="sy0">/</span>Plugin
<span class="re2">MimeType</span>=application<span class="sy0">/</span>pdf;
<span class="re2">Actions</span>=addPDFPasswd
&nbsp;
<span class="br0">&#91;</span>Desktop Action addPDFPasswd<span class="br0">&#93;</span>
<span class="re2">Name</span>=Add Password to PDF
Name<span class="br0">&#91;</span>de<span class="br0">&#93;</span>=Passwort zu PDF hinzufügen
<span class="re2">Icon</span>=application-pdf
<span class="re2">Exec</span>=<span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">bash</span> <span class="re5">-c</span> <span class="st_h">'InputFile=&quot;$0&quot;; TmpFile=&quot;/tmp/ServiceMenu_addPDFPasswd.pdf&quot;; Program=&quot;pdftk&quot;; if command -v $Program &gt; /dev/null 2&gt;&amp;1 ; then Passwd=`kdialog --password &quot;Set password for the PDF:&quot;`; $Program &quot;$InputFile&quot; output &quot;$TmpFile&quot; user_pw &quot;$Passwd&quot;; mv &quot;$InputFile&quot; &quot;$InputFile.org&quot;; mv &quot;$TmpFile&quot; &quot;$InputFile&quot;; kdialog --msgbox &quot;Password added to selected File\nOriginal was was renamed to .old&quot;; else kdialog --error &quot;$Program could not be found. Please install $Program&quot;; fi'</span> <span class="sy0">%</span>u
&nbsp;
<span class="co0">########################################### The actual script shown nicely #######################################</span>
<span class="co0">#</span>
<span class="co0">#</span>
<span class="co0">#InputFile=&quot;$0&quot;;</span>
<span class="co0">#TmpFile=&quot;/tmp/ServiceMenu_addPDFPasswd.pdf&quot;;</span>
<span class="co0">#Program=&quot;pdftk&quot;;</span>
<span class="co0">#if command -v $Program &gt; /dev/null 2&gt;&amp;1 ;</span>
<span class="co0">#then</span>
<span class="co0">#       Passwd=`kdialog --password &quot;Set password for the PDF:&quot;`;</span>
<span class="co0">#       $Program &quot;$InputFile&quot; output &quot;$TmpFile&quot; user_pw &quot;$Passwd&quot;;</span>
<span class="co0">#       mv &quot;$InputFile&quot; &quot;$InputFile.org&quot;;</span>
<span class="co0">#       mv &quot;$TmpFile&quot; &quot;$InputFile&quot;;</span>
<span class="co0">#       kdialog --msgbox &quot;Password added to selected File\nOriginal was was renamed to .old&quot;;</span>
<span class="co0">#else</span>
<span class="co0">#       kdialog --error &quot;$Program could not be found. Please install $Program&quot;;</span>
<span class="co0">#fi' %u</span></pre></div></div>
<p>Das Script macht nichts anderes als zuerst zu prüfen, ob pdftk installiert ist, falls ja, dann mache es ein passwortgeschütztes PDF im /tmp Verzeichnis, benennt das Orginal PDF um und verschiebt das passwortgeschützte PDF an die Stelle wo zuvor das Original PDF war.</p>
<p>Sollte pdftk nicht installiert sein, kommt eine Fehlermeldung.</p>
<p>Leider musste ich feststellen, dass der Exec Befehl keine Mehrzeiligen Bash Eingaben mag. Deswegen habe ich das eigentlich Script für die bessere Leserlichkeit nochmals unten angefügt udn auskommentiert. Wenn ich was ändern will, mache ich das im schönen Script und zieh dann alles auf eine Zeile zusammen.</p>
<p>Ebenfalls musste ich feststellen, dass KDE offenbar den Inhalt des Scripts einige Zeit speichert. D.h. wenn die .desktop Datei editiert worden ist, muss noch etwas Geduld geübt werden&#8230; 10 Sekunden sollten reichen&#8230; und dann kann das geänderte Script via Rechtsklick -> Action ausgeführt werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/pdfs-mit-passwort-versehen-unter-kde-4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ram / Swap / Performance</title>
		<link>http://www.simplylinux.ch/ram-swap-performance</link>
		<comments>http://www.simplylinux.ch/ram-swap-performance#comments</comments>
		<pubDate>Wed, 18 May 2011 17:47:59 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[narwhale]]></category>
		<category><![CDATA[natty]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[ram]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[swappiness]]></category>
		<category><![CDATA[tuning]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=407</guid>
		<description><![CDATA[Aus mir unerfindlichen Gründen hat mein Kubuntu 11.04 heute plötzlich angefangen alles auf die Swap Partition zu laden, obwohl ich noch über 3 GB Ram frei hatte. Da alles verschlüsselt ist, hat das natürlich mein System total lahm gemacht. Deswegen habe ich wieder mal an den Swappiness Einstellungen rumgewerkelt. Änderung der Swappiness on-the-fly Um die [...]]]></description>
			<content:encoded><![CDATA[<p>Aus mir unerfindlichen Gründen hat mein Kubuntu 11.04 heute plötzlich angefangen alles auf die Swap Partition zu laden, obwohl ich noch über 3 GB Ram frei hatte. Da alles verschlüsselt ist, hat das natürlich mein System total lahm gemacht. Deswegen habe ich wieder mal an den Swappiness Einstellungen rumgewerkelt.</p>
<p><span id="more-407"></span></p>
<h2>Änderung der Swappiness on-the-fly</h2>
<p>Um die Swappiness zu ändern ohne neu starten zu müssen, einfach folgendes eingeben:<br />
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> sysctl vm.swappiness=<span class="nu0">0</span></pre></div></div><br />
Damit sollte der Swap Speicher möglichst wenig genutzt werden.</p>
<h2>Permanenten Änderung der Swappiness</h2>
<p>Um die Änderung permanent durchzuführen, muss einfach die <em>/etc/sysctl.conf</em> geändert werden, indem folgendes eingefügt wird.<br />
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_5" onClick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_5" onClick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">vm.swappiness=<span class="nu0">0</span></pre></div></div></p>
<p>Zusätzlich können noch ein paar weitere Einstellungen getuned werden. Diese sind ebenfalls in idie <em>/etc/sysctl.conf</em> einzufügen:<br />
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_6" onClick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_6" onClick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">vm.overcommit_memory=<span class="nu0">1</span>
vm.overcommit_ratio=<span class="nu0">95</span>
vm.dirty_ratio=<span class="nu0">5</span></pre></div></div></p>
<h2>Swap leeren</h2>
<p>Falls der Swap Speicher bereits in Gebrauch ist, kann man die Leerung folgendermassen erzwingen:<br />
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_7" onClick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_7" onClick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> swapoff <span class="re5">-a</span>
<span class="kw2">sudo</span> swaponn <span class="re5">-a</span></pre></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/ram-swap-performance/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DebGen Update</title>
		<link>http://www.simplylinux.ch/debgen-update</link>
		<comments>http://www.simplylinux.ch/debgen-update#comments</comments>
		<pubDate>Tue, 15 Mar 2011 10:55:49 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[debgen]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[source generator]]></category>
		<category><![CDATA[sources list generator]]></category>
		<category><![CDATA[sources.list]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[stable]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=404</guid>
		<description><![CDATA[Mit dem Release von Squeeze als Stable musste ich endlich mal den DebGen updaten. Dies habe ich heute gemacht. Es gab zahlreiche Änderungen im dahinterliegenden System welche nicht direkt sichtbar sind im Web Frontend. In Zukunft sollte dann der Release Wechsel schneller von statten gehen. Hier noch der Link.]]></description>
			<content:encoded><![CDATA[<p>Mit dem Release von Squeeze als Stable musste ich endlich mal den DebGen updaten.<br />
<span id="more-404"></span><br />
Dies habe ich heute gemacht. Es gab zahlreiche Änderungen im dahinterliegenden System welche nicht direkt sichtbar sind im Web Frontend. In Zukunft sollte dann der Release Wechsel schneller von statten gehen.</p>
<p>Hier noch der <a href="http://debgen.simplylinux.ch">Link</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/debgen-update/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>rTorrent SVN mit Colour Patch und ruTorrent kompilieren unter Ubuntu 10.10 Maverick Meerkat / Debian 6 Squeeze</title>
		<link>http://www.simplylinux.ch/rtorrent-svn-mit-colour-patch-und-rutorrent-kompilieren-unter-ubuntu-10-10-maverick-meerkat-debian-6-squeeze</link>
		<comments>http://www.simplylinux.ch/rtorrent-svn-mit-colour-patch-und-rutorrent-kompilieren-unter-ubuntu-10-10-maverick-meerkat-debian-6-squeeze#comments</comments>
		<pubDate>Sun, 27 Feb 2011 19:39:05 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Benutzer]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Debian 6]]></category>
		<category><![CDATA[Maverick Meerkat]]></category>
		<category><![CDATA[rtorrent]]></category>
		<category><![CDATA[rutorrent]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[Ubuntu 10.10]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=384</guid>
		<description><![CDATA[rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschiedene Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche. Zusätzlich zu den vorherigen [...]]]></description>
			<content:encoded><![CDATA[<p>rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschiedene Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche.</p>
<p>Zusätzlich zu den vorherigen Howtos zeige ich nun auch auf, wie man zu rTorrent auch noch das ruTorrent Webinterface via Apache SSL zum laufen bringt &#8211; natürlich geschützt mit einem Passwort.</p>
<p>Diese Howto gilt sowohl für Ubuntu Lucid 10.10 Maverick Meerkat wie auch Debian 6 Squeeze. Der einzige Unterschied liegt darin, dass Ubuntu <em>sudo</em> benutzt und alles was mit <em>sudo</em> bezeichnet wird, muss unter Debian als <em>root</em> ausgeführt werden.</p>
<p>Zusätzlich gehe ich davon aus, dass der Sourcecode in folgendes Verzeichnis heruntergeladen wird: <em>>~/svn/rtorrent</em></p>
<p><span id="more-384"></span></p>
<h2>1. Bisherige rTorrent Version entfernen</h2>
<div id="wpshdo_8" class="wp-synhighlighter-outer"><div id="wpshdt_8" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_8"></a><a id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_8" onClick="javascript:wpsh_code(8)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_8" onClick="javascript:wpsh_print(8)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> remove rtorrent libtorrent<span class="sy0">*</span></pre></div></div>
<h2>2. Notwendige Pakete installieren</h2>
<div id="wpshdo_9" class="wp-synhighlighter-outer"><div id="wpshdt_9" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_9"></a><a id="wpshat_9" class="wp-synhighlighter-title" href="#codesyntax_9"  onClick="javascript:wpsh_toggleBlock(9)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_9" onClick="javascript:wpsh_code(9)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_9" onClick="javascript:wpsh_print(9)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> build-essential <span class="kw2">autoconf</span> apache2 <span class="kw2">automake</span> libtool libncurses5-dev libncursesw5-dev libcurl4-openssl-dev <span class="kw2">screen</span> openssl php5 php5-cli libapache2-mod-php5 curl libcppunit-dev libsigc++-<span class="nu0">2.0</span>-dev subversion php5-cgi libapache2-mod-scgi</pre></div></div>
<h2>3. SVN Verzeichnis erstellen</h2>
<div id="wpshdo_10" class="wp-synhighlighter-outer"><div id="wpshdt_10" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_10"></a><a id="wpshat_10" class="wp-synhighlighter-title" href="#codesyntax_10"  onClick="javascript:wpsh_toggleBlock(10)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_10" onClick="javascript:wpsh_code(10)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_10" onClick="javascript:wpsh_print(10)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> ~<span class="sy0">/</span><span class="kw2">svn</span></pre></div></div>
<h2>4. Ins SVN Verzeichnis wechseln</h2>
<p><div id="wpshdo_11" class="wp-synhighlighter-outer"><div id="wpshdt_11" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_11"></a><a id="wpshat_11" class="wp-synhighlighter-title" href="#codesyntax_11"  onClick="javascript:wpsh_toggleBlock(11)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_11" onClick="javascript:wpsh_code(11)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_11" onClick="javascript:wpsh_print(11)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ~<span class="sy0">/</span><span class="kw2">svn</span></pre></div></div><br />
<em>Pfad: /home/USER/svn</em></p>
<h2>5. Den Sourcecode für xmlrpc herunterladen</h2>
<p><div id="wpshdo_12" class="wp-synhighlighter-outer"><div id="wpshdt_12" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_12"></a><a id="wpshat_12" class="wp-synhighlighter-title" href="#codesyntax_12"  onClick="javascript:wpsh_toggleBlock(12)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_12" onClick="javascript:wpsh_code(12)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_12" onClick="javascript:wpsh_print(12)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_12" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">svn</span> <span class="kw2">co</span> https:<span class="sy0">//</span>xmlrpc-c.svn.sourceforge.net<span class="sy0">/</span>svnroot<span class="sy0">/</span>xmlrpc-c<span class="sy0">/</span>advanced<span class="sy0">/</span> xmlrpc-c</pre></div></div><br />
Aktuelle xmlrcp Revision: 2090</p>
<h2>6. Ins xmlrpc-c Verzeichnis wechseln</h2>
<p><div id="wpshdo_13" class="wp-synhighlighter-outer"><div id="wpshdt_13" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_13"></a><a id="wpshat_13" class="wp-synhighlighter-title" href="#codesyntax_13"  onClick="javascript:wpsh_toggleBlock(13)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_13" onClick="javascript:wpsh_code(13)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_13" onClick="javascript:wpsh_print(13)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_13" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> xmlrpc-c</pre></div></div><br />
<em>Pfad: /home/USER/svn/xmlrpc-c</em></p>
<h2>7. xmlrpc-c konfigurieren</h2>
<div id="wpshdo_14" class="wp-synhighlighter-outer"><div id="wpshdt_14" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_14"></a><a id="wpshat_14" class="wp-synhighlighter-title" href="#codesyntax_14"  onClick="javascript:wpsh_toggleBlock(14)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_14" onClick="javascript:wpsh_code(14)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_14" onClick="javascript:wpsh_print(14)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_14" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure <span class="re5">--disable-cplusplus</span></pre></div></div>
<h2>8. xmlrpc-c kompilieren</h2>
<div id="wpshdo_15" class="wp-synhighlighter-outer"><div id="wpshdt_15" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_15"></a><a id="wpshat_15" class="wp-synhighlighter-title" href="#codesyntax_15"  onClick="javascript:wpsh_toggleBlock(15)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_15" onClick="javascript:wpsh_code(15)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_15" onClick="javascript:wpsh_print(15)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_15" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<h2>9. xmlrpc-c installieren</h2>
<div id="wpshdo_16" class="wp-synhighlighter-outer"><div id="wpshdt_16" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_16"></a><a id="wpshat_16" class="wp-synhighlighter-title" href="#codesyntax_16"  onClick="javascript:wpsh_toggleBlock(16)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_16" onClick="javascript:wpsh_code(16)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_16" onClick="javascript:wpsh_print(16)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_16" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<h2>10. rTorrent Verzeichnis erstellen</h2>
<div id="wpshdo_17" class="wp-synhighlighter-outer"><div id="wpshdt_17" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_17"></a><a id="wpshat_17" class="wp-synhighlighter-title" href="#codesyntax_17"  onClick="javascript:wpsh_toggleBlock(17)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_17" onClick="javascript:wpsh_code(17)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_17" onClick="javascript:wpsh_print(17)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_17" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> ~<span class="sy0">/</span>svn<span class="sy0">/</span>rtorrent</pre></div></div>
<h2>11. Ins rTorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_18" class="wp-synhighlighter-outer"><div id="wpshdt_18" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_18"></a><a id="wpshat_18" class="wp-synhighlighter-title" href="#codesyntax_18"  onClick="javascript:wpsh_toggleBlock(18)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_18" onClick="javascript:wpsh_code(18)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_18" onClick="javascript:wpsh_print(18)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_18" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ~<span class="sy0">/</span>svn<span class="sy0">/</span>rtorrent</pre></div></div><br />
<em>Pfad: /home/USER/svn/rtorrent</em></p>
<h2>12. rTorrent Sourcecode herunterladen</h2>
<p><div id="wpshdo_19" class="wp-synhighlighter-outer"><div id="wpshdt_19" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_19"></a><a id="wpshat_19" class="wp-synhighlighter-title" href="#codesyntax_19"  onClick="javascript:wpsh_toggleBlock(19)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_19" onClick="javascript:wpsh_code(19)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_19" onClick="javascript:wpsh_print(19)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_19" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>rakshasa.no<span class="sy0">/</span>libtorrent<span class="sy0">/</span>trunk</pre></div></div><br />
Aktuelle rTorrent Revision: 1191</p>
<h2>13. Ins trunk Verzeichnis wechseln</h2>
<p><div id="wpshdo_20" class="wp-synhighlighter-outer"><div id="wpshdt_20" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_20"></a><a id="wpshat_20" class="wp-synhighlighter-title" href="#codesyntax_20"  onClick="javascript:wpsh_toggleBlock(20)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_20" onClick="javascript:wpsh_code(20)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_20" onClick="javascript:wpsh_print(20)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_20" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> trunk</pre></div></div><br />
<em>Pfad: /home/USER/svn/rtorrent/trunk</em></p>
<h2>14. Patche herunterladen</h2>
<p>Colour Patch:<br />
<div id="wpshdo_21" class="wp-synhighlighter-outer"><div id="wpshdt_21" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_21"></a><a id="wpshat_21" class="wp-synhighlighter-title" href="#codesyntax_21"  onClick="javascript:wpsh_toggleBlock(21)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_21" onClick="javascript:wpsh_code(21)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_21" onClick="javascript:wpsh_print(21)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_21" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>canvas-color_1191.patch</pre></div></div><br />
Dieser Patch färbt die Torrent Files je nach deren Status (unvollständig, komplett, aktiv, inaktiv). Der Patch kam ursprünglich von <a target="_blank" href="http://libtorrent.rakshasa.no/ticket/1382">hier</a>, ich habe ihn aber an die aktuelle rTorrent Version angepasst.<br />
Torrent Tracker Stats:<br />
<div id="wpshdo_22" class="wp-synhighlighter-outer"><div id="wpshdt_22" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_22"></a><a id="wpshat_22" class="wp-synhighlighter-title" href="#codesyntax_22"  onClick="javascript:wpsh_toggleBlock(22)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_22" onClick="javascript:wpsh_code(22)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_22" onClick="javascript:wpsh_print(22)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_22" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>trackerinfo.patch</pre></div></div><br />
Dieser Patch zeigt in der Tracker View an, wieviele Leute diesen Torrent ziehen. Allerdings sind die Stats sehr unzuverlässig aber es gibt doch eine gewisse Idee. Ich benutz es hauptsächlich um zu sehen welcher Tracker hat überhaupt irgendwelche Peers.</p>
<h2>15. Patches hinzufügen</h2>
<p>Colour Patch:<br />
<div id="wpshdo_23" class="wp-synhighlighter-outer"><div id="wpshdt_23" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_23"></a><a id="wpshat_23" class="wp-synhighlighter-title" href="#codesyntax_23"  onClick="javascript:wpsh_toggleBlock(23)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_23" onClick="javascript:wpsh_code(23)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_23" onClick="javascript:wpsh_print(23)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_23" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> canvas-color_1191.patch</pre></div></div></p>
<p>Torrent Tracker Stats Patch:<br />
<div id="wpshdo_24" class="wp-synhighlighter-outer"><div id="wpshdt_24" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_24"></a><a id="wpshat_24" class="wp-synhighlighter-title" href="#codesyntax_24"  onClick="javascript:wpsh_toggleBlock(24)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_24" onClick="javascript:wpsh_code(24)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_24" onClick="javascript:wpsh_print(24)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_24" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> trackerinfo.patch</pre></div></div></p>
<h2>16. Ins libtorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_25" class="wp-synhighlighter-outer"><div id="wpshdt_25" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_25"></a><a id="wpshat_25" class="wp-synhighlighter-title" href="#codesyntax_25"  onClick="javascript:wpsh_toggleBlock(25)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_25" onClick="javascript:wpsh_code(25)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_25" onClick="javascript:wpsh_print(25)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_25" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> libtorrent</pre></div></div><br />
<em>Pfad: /home/USER/svn/rtorrent/trunk/libtorrent</em></p>
<h2>17. autogen.sh Script laufen lassen</h2>
<div id="wpshdo_26" class="wp-synhighlighter-outer"><div id="wpshdt_26" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_26"></a><a id="wpshat_26" class="wp-synhighlighter-title" href="#codesyntax_26"  onClick="javascript:wpsh_toggleBlock(26)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_26" onClick="javascript:wpsh_code(26)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_26" onClick="javascript:wpsh_print(26)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_26" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<h2>18. libtorrent konfigurieren</h2>
<div id="wpshdo_27" class="wp-synhighlighter-outer"><div id="wpshdt_27" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_27"></a><a id="wpshat_27" class="wp-synhighlighter-title" href="#codesyntax_27"  onClick="javascript:wpsh_toggleBlock(27)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_27" onClick="javascript:wpsh_code(27)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_27" onClick="javascript:wpsh_print(27)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_27" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure</pre></div></div>
<h2>19. libtorrent kompilieren</h2>
<div id="wpshdo_28" class="wp-synhighlighter-outer"><div id="wpshdt_28" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_28"></a><a id="wpshat_28" class="wp-synhighlighter-title" href="#codesyntax_28"  onClick="javascript:wpsh_toggleBlock(28)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_28" onClick="javascript:wpsh_code(28)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_28" onClick="javascript:wpsh_print(28)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_28" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<h2>20. libtorrent installieren</h2>
<div id="wpshdo_29" class="wp-synhighlighter-outer"><div id="wpshdt_29" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_29"></a><a id="wpshat_29" class="wp-synhighlighter-title" href="#codesyntax_29"  onClick="javascript:wpsh_toggleBlock(29)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_29" onClick="javascript:wpsh_code(29)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_29" onClick="javascript:wpsh_print(29)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_29" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<h2>21. /etc/ld.so.conf erweitern</h2>
<div id="wpshdo_30" class="wp-synhighlighter-outer"><div id="wpshdt_30" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_30"></a><a id="wpshat_30" class="wp-synhighlighter-title" href="#codesyntax_30"  onClick="javascript:wpsh_toggleBlock(30)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_30" onClick="javascript:wpsh_code(30)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_30" onClick="javascript:wpsh_print(30)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_30" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st0">&quot;include /usr/local/lib&quot;</span> <span class="sy0">|</span> <span class="kw2">sudo</span> <span class="kw2">tee</span> <span class="re5">-a</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf</pre></div></div>
<h2>22. ld.so cache updaten</h2>
<div id="wpshdo_31" class="wp-synhighlighter-outer"><div id="wpshdt_31" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_31"></a><a id="wpshat_31" class="wp-synhighlighter-title" href="#codesyntax_31"  onClick="javascript:wpsh_toggleBlock(31)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_31" onClick="javascript:wpsh_code(31)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_31" onClick="javascript:wpsh_print(31)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_31" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> ldconfig</pre></div></div>
<h2>23. Ins rTorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_32" class="wp-synhighlighter-outer"><div id="wpshdt_32" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_32"></a><a id="wpshat_32" class="wp-synhighlighter-title" href="#codesyntax_32"  onClick="javascript:wpsh_toggleBlock(32)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_32" onClick="javascript:wpsh_code(32)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_32" onClick="javascript:wpsh_print(32)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_32" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ..<span class="sy0">/</span>rtorrent</pre></div></div><br />
<em>Pfad: /home/USER/svn/rtorrent/trunk/rtorrent</em></p>
<h2>24. autogen.sh Script laufen lassen</h2>
<div id="wpshdo_33" class="wp-synhighlighter-outer"><div id="wpshdt_33" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_33"></a><a id="wpshat_33" class="wp-synhighlighter-title" href="#codesyntax_33"  onClick="javascript:wpsh_toggleBlock(33)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_33" onClick="javascript:wpsh_code(33)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_33" onClick="javascript:wpsh_print(33)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_33" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<h2>25. rTorrent konfigurieren</h2>
<div id="wpshdo_34" class="wp-synhighlighter-outer"><div id="wpshdt_34" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_34"></a><a id="wpshat_34" class="wp-synhighlighter-title" href="#codesyntax_34"  onClick="javascript:wpsh_toggleBlock(34)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_34" onClick="javascript:wpsh_code(34)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_34" onClick="javascript:wpsh_print(34)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_34" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure <span class="re5">--with-xmlrpc-c</span></pre></div></div>
<h2>26. rTorrent kompilieren</h2>
<div id="wpshdo_35" class="wp-synhighlighter-outer"><div id="wpshdt_35" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_35"></a><a id="wpshat_35" class="wp-synhighlighter-title" href="#codesyntax_35"  onClick="javascript:wpsh_toggleBlock(35)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_35" onClick="javascript:wpsh_code(35)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_35" onClick="javascript:wpsh_print(35)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_35" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<h2>27. rTorrent installieren</h2>
<div id="wpshdo_36" class="wp-synhighlighter-outer"><div id="wpshdt_36" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_36"></a><a id="wpshat_36" class="wp-synhighlighter-title" href="#codesyntax_36"  onClick="javascript:wpsh_toggleBlock(36)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_36" onClick="javascript:wpsh_code(36)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_36" onClick="javascript:wpsh_print(36)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_36" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<h2>28. rTorrent config Datei kopieren und erweitern</h2>
<p>Falls noch keine .rtorrent.rc Datei im Homeverzeichnis vorhanden, dann zuerst die Standard config Datei kopieren:<br />
<div id="wpshdo_37" class="wp-synhighlighter-outer"><div id="wpshdt_37" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_37"></a><a id="wpshat_37" class="wp-synhighlighter-title" href="#codesyntax_37"  onClick="javascript:wpsh_toggleBlock(37)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_37" onClick="javascript:wpsh_code(37)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_37" onClick="javascript:wpsh_print(37)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_37" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cp</span> ~<span class="sy0">/</span>subversion<span class="sy0">/</span>rtorrent<span class="sy0">/</span>trunk<span class="sy0">/</span>rtorrent<span class="sy0">/</span>doc<span class="sy0">/</span>rtorrent.rc ~<span class="sy0">/</span>.rtorrent.rc</pre></div></div><br />
Damit ruTorrent und und der Colour Patch funktionieren, müssen in paar Optionen zur rTorrent config (am Ende) hinzugefügt werden:<br />
<div id="wpshdo_38" class="wp-synhighlighter-outer"><div id="wpshdt_38" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_38"></a><a id="wpshat_38" class="wp-synhighlighter-title" href="#codesyntax_38"  onClick="javascript:wpsh_toggleBlock(38)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_38" onClick="javascript:wpsh_code(38)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_38" onClick="javascript:wpsh_print(38)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_38" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re2">http_capath</span>=<span class="sy0">/</span>etc<span class="sy0">/</span>ssl<span class="sy0">/</span>certs
scgi_port = 127.0.0.1:<span class="nu0">5000</span>
encoding_list = UTF-<span class="nu0">8</span>
<span class="co0"># Color / Canvas patch</span>
done_fg_color = <span class="nu0">2</span>
<span class="co0">#done_bg_color = 2</span>
active_fg_color = <span class="nu0">1</span>
<span class="co0">#active_bg_color = 4</span></pre></div></div><br />
Zusätzlich empfehle ich noch folgendes hinzu zufügen<br />
<div id="wpshdo_39" class="wp-synhighlighter-outer"><div id="wpshdt_39" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_39"></a><a id="wpshat_39" class="wp-synhighlighter-title" href="#codesyntax_39"  onClick="javascript:wpsh_toggleBlock(39)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_39" onClick="javascript:wpsh_code(39)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_39" onClick="javascript:wpsh_print(39)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_39" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">schedule = filter_active,<span class="nu0">10</span>,<span class="nu0">10</span>,<span class="st0">&quot;view_filter = active,<span class="es1">\&quot;</span>or={d.get_up_rate=,d.get_down_rate=}<span class="es1">\&quot;</span>&quot;</span>
view_sort_new = seeding,<span class="kw2">less</span>=d.get_message=
schedule = filter_seeding,<span class="nu0">30</span>,<span class="nu0">30</span>,<span class="st0">&quot;view_filter = seeding,d.get_message=; view_sort = seeding&quot;</span></pre></div></div><br />
Der erste Befehal ändert Ansicht 9 so, dass nur noch aktive Torrents (also Torrents wo es gerade up/download gibt) angezeigt werden. view_sort und der zweite schedule Befehl ändert die Ansicht 8 in solch einem Ausmass, dass nur noch Torrents mit &#8220;ungewöhnlichen&#8221; Trackermeldungen erscheinen. Dies vereinfacht es Torrents aufzuspüren, die z.B. gelöscht worden sind.</p>
<p>Ebenfalls ist es wichtig, dass ein Download und Session Verzeichnis angelegt wird. In der Standard Config einfach die Optionen aktivieren, den Pfad setzen und die Verzeichnisse lokal kreieren.</p>
<p>Weitere nützliche Infos und Möglichkeiten können auf der <a target="http://libtorrent.rakshasa.no/wiki/RTorrentCommonTasks">Common Tasks</a> Seite abgerufen werden. Vorallem die Sektion bezüglich Watch Directories and Move on Completion sind interessant.</p>
<h2>29. rTorrent starten</h2>
<p>Nun kann rTorrent gestartet werden &#8211; am beesten in einer Screen Session:<br />
<div id="wpshdo_40" class="wp-synhighlighter-outer"><div id="wpshdt_40" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_40"></a><a id="wpshat_40" class="wp-synhighlighter-title" href="#codesyntax_40"  onClick="javascript:wpsh_toggleBlock(40)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_40" onClick="javascript:wpsh_code(40)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_40" onClick="javascript:wpsh_print(40)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_40" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">screen</span> rtorrent</pre></div></div></p>
<h2>30. SSL Zertifikat kreieren</h2>
<div id="wpshdo_41" class="wp-synhighlighter-outer"><div id="wpshdt_41" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_41"></a><a id="wpshat_41" class="wp-synhighlighter-title" href="#codesyntax_41"  onClick="javascript:wpsh_toggleBlock(41)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_41" onClick="javascript:wpsh_code(41)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_41" onClick="javascript:wpsh_print(41)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_41" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> openssl req $<span class="sy0">@</span> <span class="re5">-new</span> <span class="re5">-x509</span> <span class="re5">-days</span> 365 <span class="re5">-nodes</span> <span class="re5">-out</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>apache.pem <span class="re5">-keyout</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>apache.pem</pre></div></div>
<h2>31. Ins Webverzeichnis wechseln</h2>
<p><div id="wpshdo_42" class="wp-synhighlighter-outer"><div id="wpshdt_42" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_42"></a><a id="wpshat_42" class="wp-synhighlighter-title" href="#codesyntax_42"  onClick="javascript:wpsh_toggleBlock(42)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_42" onClick="javascript:wpsh_code(42)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_42" onClick="javascript:wpsh_print(42)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_42" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="sy0">/</span>var<span class="sy0">/</span>www</pre></div></div><br />
<em>Pfad: /var/www</em></p>
<h2>32. ruTorrent herunterladen</h2>
<div id="wpshdo_43" class="wp-synhighlighter-outer"><div id="wpshdt_43" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_43"></a><a id="wpshat_43" class="wp-synhighlighter-title" href="#codesyntax_43"  onClick="javascript:wpsh_toggleBlock(43)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_43" onClick="javascript:wpsh_code(43)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_43" onClick="javascript:wpsh_print(43)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_43" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>rutorrent.googlecode.com<span class="sy0">/</span>files<span class="sy0">/</span>rutorrent-3.2.tar.gz</pre></div></div>
<h2>33. ruTorrent entpacken</h2>
<div id="wpshdo_44" class="wp-synhighlighter-outer"><div id="wpshdt_44" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_44"></a><a id="wpshat_44" class="wp-synhighlighter-title" href="#codesyntax_44"  onClick="javascript:wpsh_toggleBlock(44)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_44" onClick="javascript:wpsh_code(44)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_44" onClick="javascript:wpsh_print(44)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_44" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">tar</span> xvzf rutorrent-3.2.tar.gz</pre></div></div>
<h2>34. Ins ruTorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_45" class="wp-synhighlighter-outer"><div id="wpshdt_45" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_45"></a><a id="wpshat_45" class="wp-synhighlighter-title" href="#codesyntax_45"  onClick="javascript:wpsh_toggleBlock(45)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_45" onClick="javascript:wpsh_code(45)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_45" onClick="javascript:wpsh_print(45)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_45" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> rutorrent</pre></div></div><br />
<em>Pfad: /var/www/rutorrent</em></p>
<h2>35. .htaccess Datei kreieren</h2>
<div id="wpshdo_46" class="wp-synhighlighter-outer"><div id="wpshdt_46" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_46"></a><a id="wpshat_46" class="wp-synhighlighter-title" href="#codesyntax_46"  onClick="javascript:wpsh_toggleBlock(46)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_46" onClick="javascript:wpsh_code(46)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_46" onClick="javascript:wpsh_print(46)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_46" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">touch</span> .htaccess</pre></div></div>
<h2>36. .htaccess chmodden</h2>
<div id="wpshdo_47" class="wp-synhighlighter-outer"><div id="wpshdt_47" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_47"></a><a id="wpshat_47" class="wp-synhighlighter-title" href="#codesyntax_47"  onClick="javascript:wpsh_toggleBlock(47)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_47" onClick="javascript:wpsh_code(47)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_47" onClick="javascript:wpsh_print(47)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_47" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">chmod</span> 0755 .htaccess</pre></div></div>
<h2>36. .htaccess editieren</h2>
<p>Das folgende in die .htaccess einfügen:<br />
<div id="wpshdo_48" class="wp-synhighlighter-outer"><div id="wpshdt_48" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_48"></a><a id="wpshat_48" class="wp-synhighlighter-title" href="#codesyntax_48"  onClick="javascript:wpsh_toggleBlock(48)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_48" onClick="javascript:wpsh_code(48)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_48" onClick="javascript:wpsh_print(48)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_48" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">RewriteEngine On
RewriteCond <span class="sy0">%</span><span class="br0">&#123;</span>HTTPS<span class="br0">&#125;</span> off
RewriteRule <span class="br0">&#40;</span>.<span class="sy0">*</span><span class="br0">&#41;</span> https:<span class="sy0">//%</span><span class="br0">&#123;</span>HTTP_HOST<span class="br0">&#125;</span><span class="sy0">%</span><span class="br0">&#123;</span>REQUEST_URI<span class="br0">&#125;</span></pre></div></div></p>
<h2>34. in ruTorrent Konfigurationsverzeichnis wechseln</h2>
<p><div id="wpshdo_49" class="wp-synhighlighter-outer"><div id="wpshdt_49" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_49"></a><a id="wpshat_49" class="wp-synhighlighter-title" href="#codesyntax_49"  onClick="javascript:wpsh_toggleBlock(49)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_49" onClick="javascript:wpsh_code(49)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_49" onClick="javascript:wpsh_print(49)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_49" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> conf</pre></div></div><br />
<em>Pfad: /var/www/rutorrent/conf</em></p>
<h2>35. config.php editieren</h2>
<p>Folgendes:<br />
<div id="wpshdo_50" class="wp-synhighlighter-outer"><div id="wpshdt_50" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_50"></a><a id="wpshat_50" class="wp-synhighlighter-title" href="#codesyntax_50"  onClick="javascript:wpsh_toggleBlock(50)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_50" onClick="javascript:wpsh_code(50)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_50" onClick="javascript:wpsh_print(50)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_50" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re1">$XMLRPCMountPoint</span> = <span class="st0">&quot;/RPC2&quot;</span>;</pre></div></div></p>
<p>mit dem ersetzen:<br />
<div id="wpshdo_51" class="wp-synhighlighter-outer"><div id="wpshdt_51" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_51"></a><a id="wpshat_51" class="wp-synhighlighter-title" href="#codesyntax_51"  onClick="javascript:wpsh_toggleBlock(51)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_51" onClick="javascript:wpsh_code(51)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_51" onClick="javascript:wpsh_print(51)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_51" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re1">$XMLRPCMountPoint</span> = <span class="st0">&quot;/rutorrent/RPC2&quot;</span>;</pre></div></div></p>
<h2>36. ruTorrent chownen</h2>
<div id="wpshdo_52" class="wp-synhighlighter-outer"><div id="wpshdt_52" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_52"></a><a id="wpshat_52" class="wp-synhighlighter-title" href="#codesyntax_52"  onClick="javascript:wpsh_toggleBlock(52)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_52" onClick="javascript:wpsh_code(52)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_52" onClick="javascript:wpsh_print(52)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_52" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">chown</span> <span class="re5">-R</span> www-data:www-data <span class="sy0">/</span>var<span class="sy0">/</span>www<span class="sy0">/</span>rutorrent</pre></div></div>
<h2>37. Apache Module aktivieren</h2>
<div id="wpshdo_53" class="wp-synhighlighter-outer"><div id="wpshdt_53" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_53"></a><a id="wpshat_53" class="wp-synhighlighter-title" href="#codesyntax_53"  onClick="javascript:wpsh_toggleBlock(53)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_53" onClick="javascript:wpsh_code(53)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_53" onClick="javascript:wpsh_print(53)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_53" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> a2enmod ssl auth_digest scgi rewrite</pre></div></div>
<h2>38. apache2.conf erweitern</h2>
<div id="wpshdo_54" class="wp-synhighlighter-outer"><div id="wpshdt_54" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_54"></a><a id="wpshat_54" class="wp-synhighlighter-title" href="#codesyntax_54"  onClick="javascript:wpsh_toggleBlock(54)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_54" onClick="javascript:wpsh_code(54)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_54" onClick="javascript:wpsh_print(54)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_54" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st0">&quot;SCGIMount /rutorrent/RPC2 127.0.0.1:5000&quot;</span> <span class="sy0">|</span> <span class="kw2">sudo</span> <span class="kw2">tee</span> <span class="re5">-a</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>apache2.conf
<span class="kw3">echo</span> <span class="st0">&quot;servername localhost&quot;</span> <span class="sy0">|</span> <span class="kw2">sudo</span> <span class="kw2">tee</span> <span class="re5">-a</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>apache2.conf</pre></div></div>
<h2>39. Ins sites-enabled Apache Verzeichnis wechseln</h2>
<p><div id="wpshdo_55" class="wp-synhighlighter-outer"><div id="wpshdt_55" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_55"></a><a id="wpshat_55" class="wp-synhighlighter-title" href="#codesyntax_55"  onClick="javascript:wpsh_toggleBlock(55)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_55" onClick="javascript:wpsh_code(55)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_55" onClick="javascript:wpsh_print(55)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_55" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>sites-enabled</pre></div></div><br />
<em>Pfad: /etc/apache2/sites-enabled</em></p>
<h2>40. 000-default editieren</h2>
<p>Nach folgendem</p>
<p><div id="wpshdo_56" class="wp-synhighlighter-outer"><div id="wpshdt_56" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_56"></a><a id="wpshat_56" class="wp-synhighlighter-title" href="#codesyntax_56"  onClick="javascript:wpsh_toggleBlock(56)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_56" onClick="javascript:wpsh_code(56)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_56" onClick="javascript:wpsh_print(56)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_56" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">&lt;</span>Directory <span class="sy0">/</span>var<span class="sy0">/</span>www<span class="sy0">/&gt;</span>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        <span class="sy0">&lt;/</span>Directory<span class="sy0">&gt;</span></pre></div></div><br />
das hier einfügen:<br />
<div id="wpshdo_57" class="wp-synhighlighter-outer"><div id="wpshdt_57" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_57"></a><a id="wpshat_57" class="wp-synhighlighter-title" href="#codesyntax_57"  onClick="javascript:wpsh_toggleBlock(57)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_57" onClick="javascript:wpsh_code(57)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_57" onClick="javascript:wpsh_print(57)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_57" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">&lt;</span>Directory <span class="sy0">/</span>var<span class="sy0">/</span>www<span class="sy0">/</span>rutorrent<span class="sy0">/&gt;</span>
                AllowOverride All
                Order allow,deny
                allow from all
        <span class="sy0">&lt;/</span>Directory<span class="sy0">&gt;</span></pre></div></div><br />
Dies stellt sicher, dass die .htaccess beachtet wird und somit eine Umleitung auf HTTPS/SSL erfolgt, wenn dies nicht so eingegeben wurde.</p>
<h2>41. 000-default editieren</h2>
<p>Immer noch die 000-default Datei editieren und folgendes am Schluss einfügen:<br />
<div id="wpshdo_58" class="wp-synhighlighter-outer"><div id="wpshdt_58" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_58"></a><a id="wpshat_58" class="wp-synhighlighter-title" href="#codesyntax_58"  onClick="javascript:wpsh_toggleBlock(58)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_58" onClick="javascript:wpsh_code(58)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_58" onClick="javascript:wpsh_print(58)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_58" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">&lt;</span>VirtualHost <span class="sy0">*</span>:<span class="nu0">443</span><span class="sy0">&gt;</span>
        ServerAdmin webmaster<span class="sy0">@</span>localhost
        SSLEngine on
        SSLCertificateFile <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>apache.pem
        DocumentRoot <span class="sy0">/</span>var<span class="sy0">/</span>www<span class="sy0">/</span>
        <span class="sy0">&lt;</span>Directory <span class="sy0">/&gt;</span>
                Options FollowSymLinks
                AllowOverride None
        <span class="sy0">&lt;/</span>Directory<span class="sy0">&gt;</span>
        <span class="sy0">&lt;</span>Directory <span class="sy0">/</span>var<span class="sy0">/</span>www<span class="sy0">/&gt;</span>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        <span class="sy0">&lt;/</span>Directory<span class="sy0">&gt;</span>
        ScriptAlias <span class="sy0">/</span>cgi-bin<span class="sy0">/</span> <span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>cgi-bin<span class="sy0">/</span>
        <span class="sy0">&lt;</span>Directory <span class="st0">&quot;/usr/lib/cgi-bin&quot;</span><span class="sy0">&gt;</span>
                AllowOverride None
                Options +ExecCGI <span class="re5">-MultiViews</span> +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        <span class="sy0">&lt;/</span>Directory<span class="sy0">&gt;</span>
        ErrorLog <span class="sy0">/</span>var<span class="sy0">/</span>log<span class="sy0">/</span>apache2<span class="sy0">/</span>error.log
        <span class="co0"># Possible values include: debug, info, notice, warn, error, crit,</span>
        <span class="co0"># alert, emerg.</span>
        LogLevel warn
        CustomLog <span class="sy0">/</span>var<span class="sy0">/</span>log<span class="sy0">/</span>apache2<span class="sy0">/</span>access.log combined
    Alias <span class="sy0">/</span>doc<span class="sy0">/</span> <span class="st0">&quot;/usr/share/doc/&quot;</span>
    <span class="sy0">&lt;</span>Directory <span class="st0">&quot;/usr/share/doc/&quot;</span><span class="sy0">&gt;</span>
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0<span class="sy0">/</span>255.0.0.0 ::<span class="nu0">1</span><span class="sy0">/</span><span class="nu0">128</span>
    <span class="sy0">&lt;/</span>Directory<span class="sy0">&gt;</span>
    <span class="sy0">&lt;</span>Location <span class="sy0">/</span>rutorrent<span class="sy0">&gt;</span>
        AuthType Digest
        AuthName <span class="st0">&quot;rtorrent&quot;</span>
        AuthDigestDomain <span class="sy0">/</span>var<span class="sy0">/</span>www<span class="sy0">/</span>rutorrent<span class="sy0">/</span> http:<span class="sy0">//</span>SERVER_IP<span class="sy0">/</span>rutorrent
        AuthDigestProvider <span class="kw2">file</span>
        AuthUserFile <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>passwords
        Require valid-user
        SetEnv R_ENV <span class="st0">&quot;/var/www/rutorrent&quot;</span>
     <span class="sy0">&lt;/</span>Location<span class="sy0">&gt;</span>
<span class="sy0">&lt;/</span>VirtualHost<span class="sy0">&gt;</span></pre></div></div><br />
SERVER_IP mit der korrekten IP Adresse des Servers ersetzen.</p>
<h2>42. Benutzer zu authdigest hinzufügen</h2>
<p><div id="wpshdo_59" class="wp-synhighlighter-outer"><div id="wpshdt_59" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_59"></a><a id="wpshat_59" class="wp-synhighlighter-title" href="#codesyntax_59"  onClick="javascript:wpsh_toggleBlock(59)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_59" onClick="javascript:wpsh_code(59)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_59" onClick="javascript:wpsh_print(59)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_59" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> htdigest <span class="re5">-c</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apache2<span class="sy0">/</span>passwords rtorrent USER</pre></div></div><br />
Anstelle von USER den gewünschten Benutzernamen eingeben, danach erfolgt die Aufforderung zur Eingabe eines Passwortes sowie der Bestätigung des Passworts.</p>
<h2>43. Apache neustarten</h2>
<p><div id="wpshdo_60" class="wp-synhighlighter-outer"><div id="wpshdt_60" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_60"></a><a id="wpshat_60" class="wp-synhighlighter-title" href="#codesyntax_60"  onClick="javascript:wpsh_toggleBlock(60)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_60" onClick="javascript:wpsh_code(60)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_60" onClick="javascript:wpsh_print(60)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_60" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> service apache2 restart</pre></div></div><br />
Debian Benutzer müssen wie folgt Apache neustarten:<br />
<div id="wpshdo_61" class="wp-synhighlighter-outer"><div id="wpshdt_61" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_61"></a><a id="wpshat_61" class="wp-synhighlighter-title" href="#codesyntax_61"  onClick="javascript:wpsh_toggleBlock(61)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_61" onClick="javascript:wpsh_code(61)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_61" onClick="javascript:wpsh_print(61)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_61" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">/</span>etc<span class="sy0">/</span>init.d<span class="sy0">/</span>apache2 restart</pre></div></div></p>
<h2>44. Ausprobieren</h2>
<p>rTorrent müsste bereits laufen &#8211; falls nicht, rTorrent starten. Danach auf dem Server das ruTorrent Verzeichnis aufrufen.<br />
<div id="wpshdo_62" class="wp-synhighlighter-outer"><div id="wpshdt_62" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_62"></a><a id="wpshat_62" class="wp-synhighlighter-title" href="#codesyntax_62"  onClick="javascript:wpsh_toggleBlock(62)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_62" onClick="javascript:wpsh_code(62)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_62" onClick="javascript:wpsh_print(62)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_62" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">http:<span class="sy0">//</span>SERVER_IP<span class="sy0">/</span>rutorrent</pre></div></div><br />
Es wird automatisch von HTTP auf HTTPS umgeleitet und es erfolgt eine Warnung wegen dem selbst-generierten SSL-Zertifikat. Das Zertifikat akzeptieren und dann mit dem erstellten Benutzer einloggen.</p>
<h2>Enjoy</h2>
<div id="attachment_391" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.simplylinux.ch/wp-content/uploads/rtorrent_rutorrent.png"><img src="http://www.simplylinux.ch/wp-content/uploads/rtorrent_rutorrent-300x232.png" alt="rTorrent mit Farbinterface und ruTorrent" title="rTorrent mit Farbinterface und ruTorrent" width="300" height="232" class="size-medium wp-image-391" /></a><p class="wp-caption-text">rTorrent mit Farbinterface und ruTorrent</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/rtorrent-svn-mit-colour-patch-und-rutorrent-kompilieren-unter-ubuntu-10-10-maverick-meerkat-debian-6-squeeze/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kontact PIM Interface streikt&#8230; (mit Lösung)</title>
		<link>http://www.simplylinux.ch/kontact-pim-interface-streikt</link>
		<comments>http://www.simplylinux.ch/kontact-pim-interface-streikt#comments</comments>
		<pubDate>Fri, 28 May 2010 16:31:47 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[freeze]]></category>
		<category><![CDATA[kontact]]></category>
		<category><![CDATA[non-responsive]]></category>
		<category><![CDATA[specialdatesplugin]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=344</guid>
		<description><![CDATA[Zu meinem Entsetzen musste ich heute feststellen, dass das Kontact PIM Interface streikt. Rechter Mausklick funktioniert nicht mehr, ich kann die Applikationen nicht mehr wechseln. Allerdings wurde die Email automatisch überprüft und herunter geladen. Was tun? Also kurz ins IRC gegangen und dort im #kontact Channel auf Freenode rumgeheult (ja ja, ich weiss&#8230;..). Die Lösung [...]]]></description>
			<content:encoded><![CDATA[<p>Zu meinem Entsetzen musste ich heute feststellen, dass das Kontact PIM Interface streikt. Rechter Mausklick funktioniert nicht mehr, ich kann die Applikationen nicht mehr wechseln. Allerdings wurde die Email automatisch überprüft und herunter geladen. Was tun? Also kurz ins IRC gegangen und dort im #kontact Channel auf Freenode rumgeheult (ja ja, ich weiss&#8230;..). Die Lösung wurde mir dann freundlicherweise von tmcguire präsentiert:</p>
<p><span id="more-344"></span></p>
<p>(1) Man öffnet die Kontact Config File</p>
<div id="wpshdo_63" class="wp-synhighlighter-outer"><div id="wpshdt_63" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_63"></a><a id="wpshat_63" class="wp-synhighlighter-title" href="#codesyntax_63"  onClick="javascript:wpsh_toggleBlock(63)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_63" onClick="javascript:wpsh_code(63)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_63" onClick="javascript:wpsh_print(63)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_63" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>config<span class="sy0">/</span>kontactrc</pre></div></div>
<p>(2) Man gehe ganz an den Schluss und füge folgendes hinzu:</p>
<div id="wpshdo_64" class="wp-synhighlighter-outer"><div id="wpshdt_64" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_64"></a><a id="wpshat_64" class="wp-synhighlighter-title" href="#codesyntax_64"  onClick="javascript:wpsh_toggleBlock(64)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_64" onClick="javascript:wpsh_code(64)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_64" onClick="javascript:wpsh_print(64)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_64" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="br0">&#91;</span>Plugins<span class="br0">&#93;</span>
<span class="re2">kontact_specialdatespluginEnabled</span>=<span class="kw2">false</span></pre></div></div>
<p>(3) Man speichere und schliesse die File</p>
<p>(4) Man starte Kontak &#8211; und Oh, Wunder, es läuft <img src='http://www.simplylinux.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Wer will kann das specialdatesplugin auch direkt in der Plugin Sektion hinzufügen bzw. dort auf false stellen. Wers am Schluss hinzufügt, bei dem wird beim nächsten starten von Kontact dann das ganze automatisch wieder richtig angeordnet.</p>
<p>Der findige Benutzer merkt jetzt ebenfalls, dass es halt mit den ganzen Feiertagen etc. wohl ein Problem gibt. Vorerst müssen wir halt ohne leben. Ich denke das ist machbar, hoffe aber, dass dies bald behoben wird.</p>
<p>UPDATE: Die Feiertage sind davon nicht betroffen! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/kontact-pim-interface-streikt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Texterkennung mit XSane und Tesseract</title>
		<link>http://www.simplylinux.ch/texterkennung-mit-xsane-und-tesseract</link>
		<comments>http://www.simplylinux.ch/texterkennung-mit-xsane-und-tesseract#comments</comments>
		<pubDate>Thu, 06 May 2010 11:40:37 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[dergringo]]></category>
		<category><![CDATA[Desktops]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xfce]]></category>
		<category><![CDATA[ocr]]></category>
		<category><![CDATA[tesseract]]></category>
		<category><![CDATA[xsane]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=341</guid>
		<description><![CDATA[Es gibt verschiedene Tools für Texterkennung in Linux. Am einfachsten ist meiner Meinung nach immer noch XSane zu benutzen um die Dokumente einzuscannen. XSane kann dann die eingescannten Dokumente an verschiedene Texterkennungsprogramme weiterleiten. Ich habe sowohl GOCR wie auch Ocrad verwendet, bin aber zum Schluss gekommen, dass Tesseract für deutsche Texte am zuverlässigsten funktioniert. Notwendige [...]]]></description>
			<content:encoded><![CDATA[<p>Es gibt verschiedene Tools für Texterkennung in Linux. Am einfachsten ist meiner Meinung nach immer noch XSane zu benutzen um die Dokumente einzuscannen. XSane kann dann die eingescannten Dokumente an verschiedene Texterkennungsprogramme weiterleiten. Ich habe sowohl GOCR wie auch Ocrad verwendet, bin aber zum Schluss gekommen, dass Tesseract für deutsche Texte am zuverlässigsten funktioniert.</p>
<p><span id="more-341"></span></p>
<h2>Notwendige Pakete installieren</h2>
<p>Zuerst müssen alle notwendigen Pakete installiert werden:<br />
<div id="wpshdo_65" class="wp-synhighlighter-outer"><div id="wpshdt_65" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_65"></a><a id="wpshat_65" class="wp-synhighlighter-title" href="#codesyntax_65"  onClick="javascript:wpsh_toggleBlock(65)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_65" onClick="javascript:wpsh_code(65)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_65" onClick="javascript:wpsh_print(65)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_65" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> xsan sane sane-utils imagemagick tesseract-ocr tesseract-ocr-deu</pre></div></div></p>
<p>&nbps;</p>
<h2>XSane2Tess installieren</h2>
<p>Damit man Tesseract direkt von XSane aus verwenden kann, muss ein entsprechendes Wrapper Script installiert werden:<br />
<div id="wpshdo_66" class="wp-synhighlighter-outer"><div id="wpshdt_66" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_66"></a><a id="wpshat_66" class="wp-synhighlighter-title" href="#codesyntax_66"  onClick="javascript:wpsh_toggleBlock(66)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_66" onClick="javascript:wpsh_code(66)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_66" onClick="javascript:wpsh_print(66)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_66" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">touch</span> <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>bin<span class="sy0">/</span>xsane2tess
<span class="kw2">sudo</span> <span class="kw2">chmod</span> 0755 <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>bin<span class="sy0">/</span>xsane2tess
<span class="kw2">sudo</span> <span class="kw2">nano</span> <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>bin<span class="sy0">/</span>xsane2tess</pre></div></div><br />
Und dann folgenden Inhalt einfügen:<br />
<div id="wpshdo_67" class="wp-synhighlighter-outer"><div id="wpshdt_67" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_67"></a><a id="wpshat_67" class="wp-synhighlighter-title" href="#codesyntax_67"  onClick="javascript:wpsh_toggleBlock(67)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_67" onClick="javascript:wpsh_code(67)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_67" onClick="javascript:wpsh_print(67)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_67" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
<span class="co0">#</span>
<span class="co0">#</span>
<span class="co0">##############################################################################</span>
<span class="co0">#</span>
<span class="co0">#                                   xsane2tess 1.0</span>
<span class="co0">#</span>
<span class="co0">#                          *** tesseract made simple ***</span>
<span class="co0">#</span>
<span class="co0">#</span>
<span class="co0">##############################################################################</span>
<span class="co0">#</span>
<span class="co0"># xsane2tess is a TesseractOCR wrapper to be able to use tesseract with xsane</span>
<span class="co0">#</span>
<span class="co0">#</span>
<span class="co0">#</span>
<span class="re2">TEMP_DIR</span>=~<span class="sy0">/</span>tmp<span class="sy0">/</span>      <span class="co0"># folder for temporary files (TIFF &amp; tesseract data)</span>
<span class="re2">ERRORLOG</span>=<span class="st0">&quot;xsane2tess.log&quot;</span>  <span class="co0"># file where STDERR goes </span>
<span class="kw1">if</span> <span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re5">-z</span> <span class="st0">&quot;$1&quot;</span>  <span class="br0">&#93;</span><span class="br0">&#93;</span>
  <span class="kw1">then</span>
  <span class="kw3">echo</span> <span class="st0">&quot;Usage: $0 [OPTIONS]
  xsane2tess converts files to TIF, scans them with TesseractOCR
  and outputs the text in a file.
  OPTIONS:
    -i   define input file (any image-format supported)
    -o   define output-file (*.txt)
    -l   define language-data tesseract should use
  Progress- &amp; error-messages will be stored in this logfile:
     <span class="es2">$TEMP_DIR</span><span class="es2">$ERRORLOG</span>
  xsane2tess depends on
    - ImageMagick  http://www.imagemagick.org/
    - TesseractOCR http://code.google.com/p/tesseract-ocr/
  Some coding was stolen from 'ocube'
http://www.geocities.com/thierryguy/ocube.html
&quot;</span>
  <span class="kw3">exit</span>
<span class="kw1">fi</span>
<span class="co0"># get options...</span>
<span class="kw1">while</span> <span class="kw3">getopts</span> <span class="st0">&quot;:i:o:l:&quot;</span> OPTION
  <span class="kw1">do</span>
  <span class="kw1">case</span> <span class="re1">$OPTION</span> <span class="kw1">in</span>
    i<span class="br0">&#41;</span>  <span class="co0"># input filename (with path)</span>
      <span class="re2">FILE_PATH</span>=<span class="st0">&quot;<span class="es2">$OPTARG</span>&quot;</span>
    <span class="sy0">;;</span>
    o <span class="br0">&#41;</span>  <span class="co0"># output filename</span>
      <span class="re2">FILE_OUT</span>=<span class="st0">&quot;<span class="es2">$OPTARG</span>&quot;</span>
    <span class="sy0">;;</span>
    l <span class="br0">&#41;</span>  <span class="co0"># Language-selection</span>
      <span class="re2">TES_LANG</span>=<span class="st0">&quot;<span class="es2">$OPTARG</span>&quot;</span>
    <span class="sy0">;;</span>
  <span class="kw1">esac</span>
<span class="kw1">done</span>
<span class="co0"># redirect STDOUT to FILE_OUT</span>
<span class="kw3">exec</span> 1<span class="sy0">&gt;&gt;</span><span class="re1">$FILE_OUT</span>
<span class="co0"># redirect STDERR to ERRORLOG</span>
<span class="kw3">exec</span> 2<span class="sy0">&gt;&gt;</span><span class="re1">$TEMP_DIR</span><span class="re1">$ERRORLOG</span>
<span class="co0"># strip path from FILE_PATH, use filename only</span>
<span class="re2">IN_FILE</span>=<span class="co1">${FILE_PATH##*/}</span>
<span class="re2">TIF_FILE</span>=<span class="st0">&quot;<span class="es2">$TEMP_DIR</span>&quot;</span><span class="st0">&quot;<span class="es3">${IN_FILE%.*}</span>&quot;</span>.tif
<span class="re2">TXT_FILE</span>=<span class="st0">&quot;<span class="es2">$TEMP_DIR</span>&quot;</span><span class="st0">&quot;<span class="es3">${IN_FILE%.*}</span>&quot;</span>
<span class="co0"># converting image into TIFF (ImageMagick)</span>
convert <span class="st0">&quot;<span class="es2">$FILE_PATH</span>&quot;</span> <span class="re5">-compress</span> none  <span class="st0">&quot;<span class="es2">$TIF_FILE</span>&quot;</span> <span class="nu0">1</span><span class="sy0">&gt;&amp;</span><span class="nu0">2</span>
<span class="co0"># start OCR (tesseract expands output with *.txt)</span>
tesseract <span class="st0">&quot;<span class="es2">$TIF_FILE</span>&quot;</span> <span class="st0">&quot;<span class="es2">$TXT_FILE</span>&quot;</span> <span class="re5">-l</span> <span class="st0">&quot;<span class="es2">$TES_LANG</span>&quot;</span> <span class="nu0">1</span><span class="sy0">&gt;&amp;</span><span class="nu0">2</span>
<span class="co0"># STDOUT scanned text =&gt; FILE_OUT</span>
<span class="kw2">cat</span> <span class="st0">&quot;<span class="es2">$TXT_FILE</span>&quot;</span>.txt
<span class="co0"># delete graphic file after use</span>
<span class="kw2">rm</span> <span class="st0">&quot;<span class="es2">$TIF_FILE</span>&quot;</span>
<span class="co0"># delete tesseract output</span>
<span class="kw2">rm</span> <span class="st0">&quot;<span class="es2">$TXT_FILE</span>&quot;</span>.txt</pre></div></div><br />
Eine aktuelle Version des Scripts kann <a href='http://doc.ubuntu-fr.org/xsane2tess' target='_blank'>hier</a> bezogen werden.</p>
<p>&nbps;</p>
<h2>XSane anpassen</h2>
<p>Nachdem das Wrapper Skript &#8220;installiert&#8221; ist, kann XSane gestartet werden. Dann unter Preferences ins Setup gehen (oder Alt+s drücken). Dort in den OCR Tab wechseln.</p>
<p>Als OCR Command muss folgendes eingegeben werden:<br />
<div id="wpshdo_68" class="wp-synhighlighter-outer"><div id="wpshdt_68" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_68"></a><a id="wpshat_68" class="wp-synhighlighter-title" href="#codesyntax_68"  onClick="javascript:wpsh_toggleBlock(68)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_68" onClick="javascript:wpsh_code(68)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_68" onClick="javascript:wpsh_print(68)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_68" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">xsane2tess <span class="re5">-l</span> deu</pre></div></div></p>
<p>Als Input File option muss folgendes eingegeben werden:<br />
<div id="wpshdo_69" class="wp-synhighlighter-outer"><div id="wpshdt_69" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_69"></a><a id="wpshat_69" class="wp-synhighlighter-title" href="#codesyntax_69"  onClick="javascript:wpsh_toggleBlock(69)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_69" onClick="javascript:wpsh_code(69)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_69" onClick="javascript:wpsh_print(69)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_69" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re5">-i</span></pre></div></div></p>
<p>Als Output File option muss folgendes eingegeben werden:<br />
<div id="wpshdo_70" class="wp-synhighlighter-outer"><div id="wpshdt_70" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_70"></a><a id="wpshat_70" class="wp-synhighlighter-title" href="#codesyntax_70"  onClick="javascript:wpsh_toggleBlock(70)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_70" onClick="javascript:wpsh_code(70)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_70" onClick="javascript:wpsh_print(70)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_70" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re5">-o</span></pre></div></div></p>
<p>Zusätzlich zu Deutsch stellt Tesseract auch noch weitere Sprachen zur Verfügung. Diese einfach installieren und dann im XSane Setup das OCR Command ändern um die jeweilige Sprache zu verwenden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/texterkennung-mit-xsane-und-tesseract/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PDFs zusammenfügen / splitten via Command Line</title>
		<link>http://www.simplylinux.ch/pdfs-zusammenfuegen-splitten-via-command-line</link>
		<comments>http://www.simplylinux.ch/pdfs-zusammenfuegen-splitten-via-command-line#comments</comments>
		<pubDate>Tue, 04 May 2010 07:46:14 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[combine]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[pdf combine]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=334</guid>
		<description><![CDATA[Ab und zu muss ich verschiedene PDFs in ein Dokument zusammen fügen oder auch wieder teilen. Allerdings gibt es, nach meinem Wissensstand, keine guten OpenSource Gui Tools. Wer hingegen von der Command Line nicht abgeschreckt wird, kann dies mit einfachen Mitteln bewerkstelligen. Ghostscript Mit Ghostscript kann man einfach mehrere PDFs zusammen fügen. Dies dazu einfach [...]]]></description>
			<content:encoded><![CDATA[<p>Ab und zu muss ich verschiedene PDFs in ein Dokument zusammen fügen oder auch wieder teilen. Allerdings gibt es, nach meinem Wissensstand, keine guten OpenSource Gui Tools. Wer hingegen von der Command Line nicht abgeschreckt wird, kann dies mit einfachen Mitteln bewerkstelligen.</p>
<p><span id="more-334"></span></p>
<h2>Ghostscript</h2>
<p>Mit Ghostscript kann man einfach mehrere PDFs zusammen fügen. Dies dazu einfach folgenden Befehl eingeben:<br />
<div id="wpshdo_71" class="wp-synhighlighter-outer"><div id="wpshdt_71" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_71"></a><a id="wpshat_71" class="wp-synhighlighter-title" href="#codesyntax_71"  onClick="javascript:wpsh_toggleBlock(71)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_71" onClick="javascript:wpsh_code(71)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_71" onClick="javascript:wpsh_print(71)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_71" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">gs</span> <span class="re5">-dNOPAUSE</span> <span class="re5">-sDEVICE</span>=pdfwrite <span class="re5">-sOUTPUTFILE</span>=combined.pdf <span class="re5">-dBATCH</span> 1.pdf 2.pdf 3.pdf</pre></div></div><br />
Dies würde die Dateien 1.pdf 2.pdf 3.pdf zusammenführen und neu combined.pdf erschaffen.<br />
Allerdings muss dazu zuerst Ghostscript installiert werden:<br />
<div id="wpshdo_72" class="wp-synhighlighter-outer"><div id="wpshdt_72" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_72"></a><a id="wpshat_72" class="wp-synhighlighter-title" href="#codesyntax_72"  onClick="javascript:wpsh_toggleBlock(72)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_72" onClick="javascript:wpsh_code(72)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_72" onClick="javascript:wpsh_print(72)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_72" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> <span class="kw2">gs</span></pre></div></div></p>
<p>Wenn man das häufiger gebrauchen möchte, dann kann man auch ein Shell Script errichten:<br />
<div id="wpshdo_73" class="wp-synhighlighter-outer"><div id="wpshdt_73" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_73"></a><a id="wpshat_73" class="wp-synhighlighter-title" href="#codesyntax_73"  onClick="javascript:wpsh_toggleBlock(73)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_73" onClick="javascript:wpsh_code(73)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_73" onClick="javascript:wpsh_print(73)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_73" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">touch</span> <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>bin<span class="sy0">/</span>combinepdf
<span class="kw2">sudo</span> <span class="kw2">chmod</span> 0755 <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>bin<span class="sy0">/</span>combinepdf
<span class="kw2">sudo</span> <span class="kw2">nano</span> <span class="sy0">/</span>usr<span class="sy0">/</span>local<span class="sy0">/</span>bin<span class="sy0">/</span>combinepdf</pre></div></div><br />
Und dann folgenden Inhalt einfügen:<br />
<div id="wpshdo_74" class="wp-synhighlighter-outer"><div id="wpshdt_74" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_74"></a><a id="wpshat_74" class="wp-synhighlighter-title" href="#codesyntax_74"  onClick="javascript:wpsh_toggleBlock(74)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_74" onClick="javascript:wpsh_code(74)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_74" onClick="javascript:wpsh_print(74)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_74" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
<span class="kw2">gs</span> <span class="re5">-dNOPAUSE</span> <span class="re5">-sDEVICE</span>=pdfwrite <span class="re5">-sOUTPUTFILE</span>=combined.pdf <span class="re5">-dBATCH</span> $<span class="sy0">@</span></pre></div></div><br />
Die Ausgabedatei heisst hierbei wiederum combined.pdf und es können beliebig viele Dateien hinzugefügt werden.</p>
<p>Aufgerufen wird das dann folgendermassen:<br />
<div id="wpshdo_75" class="wp-synhighlighter-outer"><div id="wpshdt_75" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_75"></a><a id="wpshat_75" class="wp-synhighlighter-title" href="#codesyntax_75"  onClick="javascript:wpsh_toggleBlock(75)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_75" onClick="javascript:wpsh_code(75)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_75" onClick="javascript:wpsh_print(75)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_75" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">combinepdf 1.pdf 2.pdf 3.pdf</pre></div></div></p>
<p>Ich musste allerdings feststellen, dass Ghostscript bei eingescannten Bildern via XSane ein paar Schwierigkeiten hatte, aber ansonsten läuft es gut.</p>
<h2>pdftk</h2>
<p>pdftk beschreibt sich eigentlich als Schweizer Offiziersmesser für den Umgang mit PDF Dokumenten. <a href='http://www.accesspdf.com/pdftk/' target='_blank'>Hier</a> sind entsprechende Infos vorhanden.</p>
<p>Auch pdftk muss zuerst installiert werden:<br />
<div id="wpshdo_76" class="wp-synhighlighter-outer"><div id="wpshdt_76" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_76"></a><a id="wpshat_76" class="wp-synhighlighter-title" href="#codesyntax_76"  onClick="javascript:wpsh_toggleBlock(76)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_76" onClick="javascript:wpsh_code(76)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_76" onClick="javascript:wpsh_print(76)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_76" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> pdftk</pre></div></div></p>
<p>Danach eröffnet es eine ganze Fülle an Möglichkeiten mit dem Umgang mit PDFs. Ich habe nachfolgend ein paar Beispiele aufgelistet:</p>
<p>Will man mehrere PDFs in eines zusammenführen, gibt man folgenden Befehl ein:<br />
<div id="wpshdo_77" class="wp-synhighlighter-outer"><div id="wpshdt_77" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_77"></a><a id="wpshat_77" class="wp-synhighlighter-title" href="#codesyntax_77"  onClick="javascript:wpsh_toggleBlock(77)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_77" onClick="javascript:wpsh_code(77)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_77" onClick="javascript:wpsh_print(77)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_77" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">pdftk 1.pdf 2.pdf 3.pdf <span class="kw2">cat</span> output 123.pdf</pre></div></div></p>
<p>Ebenfalls kann man auch Wildcards verwenden (praktisch wenn man alle PDFs in einem Verzeichnis in ein neues zusammenführen will):<br />
<div id="wpshdo_78" class="wp-synhighlighter-outer"><div id="wpshdt_78" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_78"></a><a id="wpshat_78" class="wp-synhighlighter-title" href="#codesyntax_78"  onClick="javascript:wpsh_toggleBlock(78)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_78" onClick="javascript:wpsh_code(78)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_78" onClick="javascript:wpsh_print(78)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_78" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">pdftk <span class="sy0">*</span>.pdf <span class="kw2">cat</span> output combined.pdf</pre></div></div></p>
<p>Anstelle der Dokumentennamen kann man auch Handlers verwenden:<br />
<div id="wpshdo_79" class="wp-synhighlighter-outer"><div id="wpshdt_79" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_79"></a><a id="wpshat_79" class="wp-synhighlighter-title" href="#codesyntax_79"  onClick="javascript:wpsh_toggleBlock(79)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_79" onClick="javascript:wpsh_code(79)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_79" onClick="javascript:wpsh_print(79)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_79" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">pdftk <span class="re2">A</span>=1.pdf <span class="re2">B</span>=2.pdf <span class="kw2">cat</span> A B output 12.pdf</pre></div></div></p>
<p>Die Handlers werden dann praktisch, wenn man verschiedene Seiten eines PDFs oder aus verschiedene Seiten aus mehreren PDFs in ein neues zusammenführen will:<br />
<div id="wpshdo_80" class="wp-synhighlighter-outer"><div id="wpshdt_80" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_80"></a><a id="wpshat_80" class="wp-synhighlighter-title" href="#codesyntax_80"  onClick="javascript:wpsh_toggleBlock(80)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_80" onClick="javascript:wpsh_code(80)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_80" onClick="javascript:wpsh_print(80)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_80" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">pdftk <span class="re2">A</span>=one.pdf <span class="re2">B</span>=two.pdf <span class="kw2">cat</span> A1-<span class="nu0">7</span> B1-<span class="nu0">5</span> A8 output combined.pdf</pre></div></div></p>
<h2>Schlussbemerkung</h2>
<p>Während Ghostscript von der Syntax her nicht einfach zu gebrauchen ist, ist es aber dennoch praktisch wenn man sich ein entsprechendes Shell Script erstellt. pdftk hingegen ist von Haus aus einfach zu gebrauchen und bietet auch viel mehr Möglichkeiten als die Ghostscript Variante.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/pdfs-zusammenfuegen-splitten-via-command-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samsung SCX-4825FN und Kubuntu Lucid 10.04</title>
		<link>http://www.simplylinux.ch/samsung-scx-4825fn-und-kubuntu-lucid-10-04</link>
		<comments>http://www.simplylinux.ch/samsung-scx-4825fn-und-kubuntu-lucid-10-04#comments</comments>
		<pubDate>Mon, 03 May 2010 07:54:46 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[Samsung]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[SCX-4825FN]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=331</guid>
		<description><![CDATA[Ich habe mir vor ein paar Tagen einen Samsung SCX-4825FN Drucker gekauft. Hauptsächlich deswegen, weil er Duplex drucken, kopieren und scannen kann. Allerdings musst ich feststellen, dass er nicht Duplex scannen und auch nicht Duplex drucken kann. Nichts desto trotz ist er immer noch ein guter Drucker &#8211; auch im Hinblick auf den Materialverschleiss (und [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe mir vor ein paar Tagen einen Samsung SCX-4825FN Drucker gekauft. Hauptsächlich deswegen, weil er Duplex drucken, kopieren und scannen kann. Allerdings musst ich feststellen, dass er nicht Duplex scannen und auch nicht Duplex drucken kann. Nichts desto trotz ist er immer noch ein guter Drucker &#8211; auch im Hinblick auf den Materialverschleiss (und entsprechende Neubeschaffung). Ebenfalls ein bisschen negativ ist, dass im manuellne Einzug nur 1 Papier gleichzeitig eingelegt werden kann. Dafür kann man aber den bestehenden 250er Papierschacht mit einem weiteren 250er Papierschacht erweitern.</p>
<p><span id="more-331"></span></p>
<h2>Druckertreiber installieren</h2>
<p>Kubuntu Lucid erkennt den Drucker ohne Probleme. Es stellt allerdings nur die Splix v 2.0 Treiber zur Verfügung. Ich habe diese ausprobiert, aber die haben nicht das gewünschte Resultat gebracht. Deswegen muss der aktuelle Treiber <a href='http://www.samsung.com/ch/support/download/supportDown.do?group=&#038;type=druckermultifunktionsger%C3%A4te&#038;subtype=multifunktionsger%C3%A4te&#038;model_nm=SCX-4825FN&#038;disp_nm=SCX-4825FN&#038;language=&#038;cate_type=all&#038;dType=D&#038;mType=DR&#038;vType=&#038;prd_ia_cd=06013100&#038;model_cd=&#038;menu=download' target='_blank'>hier</a> heruntergeladen werden. Es reicht den Linux Unified Treiber (aktuell  v 3.00.63) herunterzu laden. Die anderen beiden Linux Dateien dir auf der Samsung Seite angeboten werden sind nur schnick schnack (meiner Meinung nach).</p>
<p>Nachdem der Treiber heruntergeladen worden ist, muss man ihn entpacken:<br />
<div id="wpshdo_81" class="wp-synhighlighter-outer"><div id="wpshdt_81" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_81"></a><a id="wpshat_81" class="wp-synhighlighter-title" href="#codesyntax_81"  onClick="javascript:wpsh_toggleBlock(81)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_81" onClick="javascript:wpsh_code(81)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_81" onClick="javascript:wpsh_print(81)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_81" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">tar</span> xvzf UnifiedLinuxDriver_1.00.tar.gz</pre></div></div></p>
<p>Danach ins cdroot Verzeichnis wechseln<br />
<div id="wpshdo_82" class="wp-synhighlighter-outer"><div id="wpshdt_82" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_82"></a><a id="wpshat_82" class="wp-synhighlighter-title" href="#codesyntax_82"  onClick="javascript:wpsh_toggleBlock(82)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_82" onClick="javascript:wpsh_code(82)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_82" onClick="javascript:wpsh_print(82)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_82" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> cdroot</pre></div></div></p>
<p>Und dann die Installationsroutine starten:<br />
<div id="wpshdo_83" class="wp-synhighlighter-outer"><div id="wpshdt_83" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_83"></a><a id="wpshat_83" class="wp-synhighlighter-title" href="#codesyntax_83"  onClick="javascript:wpsh_toggleBlock(83)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_83" onClick="javascript:wpsh_code(83)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_83" onClick="javascript:wpsh_print(83)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_83" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> .<span class="sy0">/</span>autorun</pre></div></div></p>
<p>Die Installationsroutine ist an sich relativ simpel. Es braucht hierzu keine weiteren Ausführungen. Was ich allerdings bisher nie geschafft habe, ist im Setup Menu den korrkten Anschluss herauszufinden. Ich habe dann immer manuell gewählt und einfach etwas hinzugefügt. Bin danach in die KDE systemsettings gegangen und habe dort den Drucker entfernt und einen neuen hinzugefügt. Da hat es dann dern korrekten Anschluss gefunden.</p>
<p>Was zudem nervt ist, dass Samsung mit dieser Installationsroutine eine neue Menu-Kategorie macht für ihren Treiber. Grundsätzlich sind Hersteller-Menu-Kategorien ein Unding in Windows. Linux ist Task-orientiert (e.g. Büro / System / Multimedia / Internet / etc.)</p>
<p>Damit ist die Druckerinstallation abgeschlossen.</p>
<h2>Scannertreiber installieren</h2>
<p>Zum scannen benutze ich üblicherweise XSane. XSane hat allerdings das Problem, dass es den Scanner nicht finden kann. Dies liegt daran, dass in den UDev Regeln der Samsung SCX-4825FN noch nicht enthalten ist.</p>
<p>Um die korrekte Adressierung herauszufinden lässt man folgenden Befehl laufen:<br />
<div id="wpshdo_84" class="wp-synhighlighter-outer"><div id="wpshdt_84" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_84"></a><a id="wpshat_84" class="wp-synhighlighter-title" href="#codesyntax_84"  onClick="javascript:wpsh_toggleBlock(84)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_84" onClick="javascript:wpsh_code(84)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_84" onClick="javascript:wpsh_print(84)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_84" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">lsusb</pre></div></div></p>
<p>Der Samsung Drucker erscheint bei mir als:<br />
<em>Bus 001 Device 008: ID 04e8:343c Samsung Electronics Co., Ltd</em></p>
<p>Das 04e8 ist der Hersteller (also Samsung) und 343c ist das Gerät (also der SCX-4825FN).</p>
<p>Jetzt muss man nur noch die UDev Regeln entsprechend ergänzen:<br />
<div id="wpshdo_85" class="wp-synhighlighter-outer"><div id="wpshdt_85" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_85"></a><a id="wpshat_85" class="wp-synhighlighter-title" href="#codesyntax_85"  onClick="javascript:wpsh_toggleBlock(85)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_85" onClick="javascript:wpsh_code(85)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_85" onClick="javascript:wpsh_print(85)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_85" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>sane.d<span class="sy0">/</span>xerox_mfp.conf</pre></div></div></p>
<p>Und folgendes am Schluss hinzufügen:<br />
<div id="wpshdo_86" class="wp-synhighlighter-outer"><div id="wpshdt_86" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_86"></a><a id="wpshat_86" class="wp-synhighlighter-title" href="#codesyntax_86"  onClick="javascript:wpsh_toggleBlock(86)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_86" onClick="javascript:wpsh_code(86)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_86" onClick="javascript:wpsh_print(86)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_86" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># Samsung SCX-4825FN</span>
usb 0x04e8 0x343c</pre></div></div></p>
<p>Danach noch udev neu starten, damit die geänderte Regel auch Anwendung findet:<br />
<div id="wpshdo_87" class="wp-synhighlighter-outer"><div id="wpshdt_87" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_87"></a><a id="wpshat_87" class="wp-synhighlighter-title" href="#codesyntax_87"  onClick="javascript:wpsh_toggleBlock(87)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_87" onClick="javascript:wpsh_code(87)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_87" onClick="javascript:wpsh_print(87)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_87" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="sy0">/</span>etc<span class="sy0">/</span>init.d<span class="sy0">/</span>udev restart</pre></div></div></p>
<p>Nun findet auch XSane den Scanner ohne Probleme.</p>
<p>Bezüglich Duplex-Scannen:<br />
gscan2pdf hat die Option, Duplex einzuscannen, bei welcher zuerst die Oberseite eingescannt wird und dann die Unterseite und es fügt dann alles in ein Dokument zusammen. Es sollte funktionieren, ich habs aber bisher noch nie ausprobiert.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/samsung-scx-4825fn-und-kubuntu-lucid-10-04/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rTorrent (SVN) mit Farbinterface unter Ubuntu Lucid 10.04 / Debian 5 kompilieren</title>
		<link>http://www.simplylinux.ch/rtorrent-svn-mit-farbinterface-unter-ubuntu-lucid-10-04-debian-5-kompilieren</link>
		<comments>http://www.simplylinux.ch/rtorrent-svn-mit-farbinterface-unter-ubuntu-lucid-10-04-debian-5-kompilieren#comments</comments>
		<pubDate>Sun, 02 May 2010 11:49:16 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Benutzer]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[Lucid]]></category>
		<category><![CDATA[rtorrent]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=321</guid>
		<description><![CDATA[rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschiedene Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche. Im letzten Howto diesbezüglich [...]]]></description>
			<content:encoded><![CDATA[<p>rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschiedene Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche.</p>
<p>Im letzten Howto diesbezüglich habe ich noch Patches für das hinzufügen von Magnet Links bereitgestellt resp. aufgezeigt, wie rTorrent mit Magnet Links kompiliert werden können. Bei der aktuellen Revision ist der Magnet Link Support schon enthalten. Jedoch musste der Colour Patch angepasst werden.</p>
<p>Diese Howto gilt sowohl für Ubuntu Lucid 10.04 wie auch Debian 5 Etch. Der einzige Unterschied liegt darin, dass Ubuntu <em>sudo</em> benutzt und alles was mit <em>sudo</em> bezeichnet wird, muss unter Debian als <em>root</em> ausgeführt werden.</p>
<p><span id="more-321"></span></p>
<p>Ich gehe in diesem Howto davon aus, dass die SVN Quellen unter ~/rtorrent gespeichert werden resp. in ~/rtorrent/trunk</p>
<h2>1: Bisherige rTorrent Installation entfernen</h2>
<div id="wpshdo_88" class="wp-synhighlighter-outer"><div id="wpshdt_88" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_88"></a><a id="wpshat_88" class="wp-synhighlighter-title" href="#codesyntax_88"  onClick="javascript:wpsh_toggleBlock(88)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_88" onClick="javascript:wpsh_code(88)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_88" onClick="javascript:wpsh_print(88)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_88" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> remove rtorrent libtorrent<span class="sy0">*</span></pre></div></div>
<h2>2: Notwendige Pakete installieren</h2>
<div id="wpshdo_89" class="wp-synhighlighter-outer"><div id="wpshdt_89" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_89"></a><a id="wpshat_89" class="wp-synhighlighter-title" href="#codesyntax_89"  onClick="javascript:wpsh_toggleBlock(89)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_89" onClick="javascript:wpsh_code(89)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_89" onClick="javascript:wpsh_print(89)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_89" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> subversion build-essential libtool <span class="kw2">automake</span> openssl libsigc++-<span class="nu0">2.0</span>-dev libncurses5-dev libncursesw5-dev libcurl4-openssl-dev libcppunit-dev</pre></div></div>
<h2>3. rtorrent Verzeichnis kreieren</h2>
<div id="wpshdo_90" class="wp-synhighlighter-outer"><div id="wpshdt_90" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_90"></a><a id="wpshat_90" class="wp-synhighlighter-title" href="#codesyntax_90"  onClick="javascript:wpsh_toggleBlock(90)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_90" onClick="javascript:wpsh_code(90)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_90" onClick="javascript:wpsh_print(90)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_90" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> ~<span class="sy0">/</span>rtorrent</pre></div></div>
<h2>4. Ins rtorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_91" class="wp-synhighlighter-outer"><div id="wpshdt_91" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_91"></a><a id="wpshat_91" class="wp-synhighlighter-title" href="#codesyntax_91"  onClick="javascript:wpsh_toggleBlock(91)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_91" onClick="javascript:wpsh_code(91)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_91" onClick="javascript:wpsh_print(91)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_91" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ~<span class="sy0">/</span>rtorrent</pre></div></div><br />
<em>Pfad: /home/USER/rtorrent</em></p>
<h2>5. SVN Daten holen</h2>
<p><div id="wpshdo_92" class="wp-synhighlighter-outer"><div id="wpshdt_92" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_92"></a><a id="wpshat_92" class="wp-synhighlighter-title" href="#codesyntax_92"  onClick="javascript:wpsh_toggleBlock(92)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_92" onClick="javascript:wpsh_code(92)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_92" onClick="javascript:wpsh_print(92)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_92" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>rakshasa.no<span class="sy0">/</span>libtorrent<span class="sy0">/</span>trunk</pre></div></div><br />
Derzeit ist die aktuelle Version rev. 1169.</p>
<h2>6. Ins trunk Verzeichnis wechseln</h2>
<p><div id="wpshdo_93" class="wp-synhighlighter-outer"><div id="wpshdt_93" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_93"></a><a id="wpshat_93" class="wp-synhighlighter-title" href="#codesyntax_93"  onClick="javascript:wpsh_toggleBlock(93)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_93" onClick="javascript:wpsh_code(93)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_93" onClick="javascript:wpsh_print(93)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_93" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> trunk</pre></div></div><br />
<em>Pfad: /home/USER/rtorrent/trunk</em></p>
<h2>7. Patches herunter laden</h2>
<p>Farbsupport für rTorrent nCurses:<br />
<div id="wpshdo_94" class="wp-synhighlighter-outer"><div id="wpshdt_94" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_94"></a><a id="wpshat_94" class="wp-synhighlighter-title" href="#codesyntax_94"  onClick="javascript:wpsh_toggleBlock(94)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_94" onClick="javascript:wpsh_code(94)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_94" onClick="javascript:wpsh_print(94)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_94" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>canvas-color_1169.patch</pre></div></div><br />
Damit kann im rTorrent Interface farblich zwischen fertigen/unfertigen sowie aktive/inaktive Torrents unterschieden werden. Ich musste mich zuerst auch daran gewöhnen, aber zwischenzeitlich finde ich das ganz praktisch. Der Patch kommt von hier: <a href="http://libtorrent.rakshasa.no/ticket/1382">http://libtorrent.rakshasa.no/ticket/1382</a>. Allerdings funktioniert der Patch mit rev. 1169 nicht mehr, ich müsste eine Änderung vornehmen.</p>
<p>Torrent Tracker Stats:<br />
<div id="wpshdo_95" class="wp-synhighlighter-outer"><div id="wpshdt_95" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_95"></a><a id="wpshat_95" class="wp-synhighlighter-title" href="#codesyntax_95"  onClick="javascript:wpsh_toggleBlock(95)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_95" onClick="javascript:wpsh_code(95)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_95" onClick="javascript:wpsh_print(95)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_95" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>trackerinfo.patch</pre></div></div><br />
Dieser Patch zeigt in der Tracker View an, wieviele Leute diesen Torrent ziehen. Allerdings sind die Stats sehr unzuverlässig aber es gibt doch eine gewisse Idee. Ich benutz es hauptsächlich um zu sehen welcher Tracker hat überhaupt irgendwelche Peers.</p>
<h2>8. Patches anwenden</h2>
<p>Farbsupport für rTorrent nCurses:<br />
<div id="wpshdo_96" class="wp-synhighlighter-outer"><div id="wpshdt_96" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_96"></a><a id="wpshat_96" class="wp-synhighlighter-title" href="#codesyntax_96"  onClick="javascript:wpsh_toggleBlock(96)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_96" onClick="javascript:wpsh_code(96)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_96" onClick="javascript:wpsh_print(96)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_96" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> canvas-color_1169.patch</pre></div></div></p>
<p>Torrent Tracker Stats:<br />
<div id="wpshdo_97" class="wp-synhighlighter-outer"><div id="wpshdt_97" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_97"></a><a id="wpshat_97" class="wp-synhighlighter-title" href="#codesyntax_97"  onClick="javascript:wpsh_toggleBlock(97)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_97" onClick="javascript:wpsh_code(97)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_97" onClick="javascript:wpsh_print(97)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_97" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> trackerinfo.patch</pre></div></div></p>
<h2>9. Ins libtorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_98" class="wp-synhighlighter-outer"><div id="wpshdt_98" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_98"></a><a id="wpshat_98" class="wp-synhighlighter-title" href="#codesyntax_98"  onClick="javascript:wpsh_toggleBlock(98)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_98" onClick="javascript:wpsh_code(98)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_98" onClick="javascript:wpsh_print(98)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_98" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> libtorrent</pre></div></div><br />
Pfad: /home/USER/rtorrent/trunk/libtorrent</p>
<h2>10. Autogen laufen lassen</h2>
<div id="wpshdo_99" class="wp-synhighlighter-outer"><div id="wpshdt_99" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_99"></a><a id="wpshat_99" class="wp-synhighlighter-title" href="#codesyntax_99"  onClick="javascript:wpsh_toggleBlock(99)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_99" onClick="javascript:wpsh_code(99)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_99" onClick="javascript:wpsh_print(99)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_99" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<h2>11. libtorrent konfigurieren</h2>
<div id="wpshdo_100" class="wp-synhighlighter-outer"><div id="wpshdt_100" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_100"></a><a id="wpshat_100" class="wp-synhighlighter-title" href="#codesyntax_100"  onClick="javascript:wpsh_toggleBlock(100)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_100" onClick="javascript:wpsh_code(100)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_100" onClick="javascript:wpsh_print(100)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_100" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure</pre></div></div>
<h2>12. libtorrent kompilieren</h2>
<div id="wpshdo_101" class="wp-synhighlighter-outer"><div id="wpshdt_101" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_101"></a><a id="wpshat_101" class="wp-synhighlighter-title" href="#codesyntax_101"  onClick="javascript:wpsh_toggleBlock(101)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_101" onClick="javascript:wpsh_code(101)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_101" onClick="javascript:wpsh_print(101)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_101" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<h2>13. libtorrent installieren</h2>
<div id="wpshdo_102" class="wp-synhighlighter-outer"><div id="wpshdt_102" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_102"></a><a id="wpshat_102" class="wp-synhighlighter-title" href="#codesyntax_102"  onClick="javascript:wpsh_toggleBlock(102)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_102" onClick="javascript:wpsh_code(102)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_102" onClick="javascript:wpsh_print(102)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_102" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<h2>14. /etc/ld.so.conf erweitern</h2>
<div id="wpshdo_103" class="wp-synhighlighter-outer"><div id="wpshdt_103" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_103"></a><a id="wpshat_103" class="wp-synhighlighter-title" href="#codesyntax_103"  onClick="javascript:wpsh_toggleBlock(103)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_103" onClick="javascript:wpsh_code(103)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_103" onClick="javascript:wpsh_print(103)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_103" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st0">&quot;include /usr/local/lib&quot;</span> <span class="sy0">|</span> <span class="kw2">sudo</span> <span class="kw2">tee</span> <span class="re5">-a</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf</pre></div></div>
<h2>15. ld.so Cache neu laden</h2>
<div id="wpshdo_104" class="wp-synhighlighter-outer"><div id="wpshdt_104" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_104"></a><a id="wpshat_104" class="wp-synhighlighter-title" href="#codesyntax_104"  onClick="javascript:wpsh_toggleBlock(104)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_104" onClick="javascript:wpsh_code(104)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_104" onClick="javascript:wpsh_print(104)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_104" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> ldconfig</pre></div></div>
<h2>16. Ins rtorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_105" class="wp-synhighlighter-outer"><div id="wpshdt_105" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_105"></a><a id="wpshat_105" class="wp-synhighlighter-title" href="#codesyntax_105"  onClick="javascript:wpsh_toggleBlock(105)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_105" onClick="javascript:wpsh_code(105)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_105" onClick="javascript:wpsh_print(105)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_105" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ..<span class="sy0">/</span>rtorrent</pre></div></div><br />
Pfad: /home/USER/rtorrent/trunk/rtorrent</p>
<h2>17. Autogen laufen lassen</h2>
<div id="wpshdo_106" class="wp-synhighlighter-outer"><div id="wpshdt_106" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_106"></a><a id="wpshat_106" class="wp-synhighlighter-title" href="#codesyntax_106"  onClick="javascript:wpsh_toggleBlock(106)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_106" onClick="javascript:wpsh_code(106)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_106" onClick="javascript:wpsh_print(106)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_106" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<h2>18. rtorrent konfigurieren</h2>
<div id="wpshdo_107" class="wp-synhighlighter-outer"><div id="wpshdt_107" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_107"></a><a id="wpshat_107" class="wp-synhighlighter-title" href="#codesyntax_107"  onClick="javascript:wpsh_toggleBlock(107)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_107" onClick="javascript:wpsh_code(107)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_107" onClick="javascript:wpsh_print(107)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_107" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure</pre></div></div>
<h2>19. rtorrent kompilieren</h2>
<div id="wpshdo_108" class="wp-synhighlighter-outer"><div id="wpshdt_108" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_108"></a><a id="wpshat_108" class="wp-synhighlighter-title" href="#codesyntax_108"  onClick="javascript:wpsh_toggleBlock(108)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_108" onClick="javascript:wpsh_code(108)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_108" onClick="javascript:wpsh_print(108)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_108" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<h2>20. rtorrent installieren</h2>
<div id="wpshdo_109" class="wp-synhighlighter-outer"><div id="wpshdt_109" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_109"></a><a id="wpshat_109" class="wp-synhighlighter-title" href="#codesyntax_109"  onClick="javascript:wpsh_toggleBlock(109)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_109" onClick="javascript:wpsh_code(109)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_109" onClick="javascript:wpsh_print(109)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_109" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<h2>21. rTorrent Konfiguration erweitern</h2>
<p>Um von den Farben gebrauch zu machen, müssen diese auch noch hinzugefügt werden. Bei mir sieht das derzeiten so aus:<br />
<div id="wpshdo_110" class="wp-synhighlighter-outer"><div id="wpshdt_110" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_110"></a><a id="wpshat_110" class="wp-synhighlighter-title" href="#codesyntax_110"  onClick="javascript:wpsh_toggleBlock(110)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_110" onClick="javascript:wpsh_code(110)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_110" onClick="javascript:wpsh_print(110)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_110" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># Color / Canvas patch</span>
done_fg_color = <span class="nu0">2</span>
<span class="co0">#done_bg_color = 2</span>
active_fg_color = <span class="nu0">1</span>
<span class="co0">#active_bg_color = 4</span></pre></div></div><br />
Dadurch werden inaktive fertige Torrent dunkelgrün, aktive fertige Torrents hellgrün, inaktive unvollständigen Torrents dunkelrot und aktive unvollständige Torrents hellrot. Mit den Farben kann herumgespielt werden. Die verwendbaren Farben sind: 0 = schwarz; 1 = rot; 2 = grün; 3 = gelb; 4 = blau; 5 = magenta; 6 = cyan; 7 = weiss.</p>
<p>Sollte noch keine .rtorrent.rc Config File im Benutzer Verzeichnis vorhanden sein, so kann ein Exemplar (welches aber noch stark modifizierter werden sollte) mit folgendem Befehl heruntergeladen werden:<br />
<div id="wpshdo_111" class="wp-synhighlighter-outer"><div id="wpshdt_111" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_111"></a><a id="wpshat_111" class="wp-synhighlighter-title" href="#codesyntax_111"  onClick="javascript:wpsh_toggleBlock(111)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_111" onClick="javascript:wpsh_code(111)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_111" onClick="javascript:wpsh_print(111)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_111" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>libtorrent.rakshasa.no<span class="sy0">/</span>export<span class="sy0">/</span>1169<span class="sy0">/</span>trunk<span class="sy0">/</span>rtorrent<span class="sy0">/</span>doc<span class="sy0">/</span>rtorrent.rc <span class="re5">-O</span> ~<span class="sy0">/</span>.rtorrent.rc</pre></div></div></p>
<h2>22. rTorrent kann nun gestartet werden</h2>
<div id="wpshdo_112" class="wp-synhighlighter-outer"><div id="wpshdt_112" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_112"></a><a id="wpshat_112" class="wp-synhighlighter-title" href="#codesyntax_112"  onClick="javascript:wpsh_toggleBlock(112)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_112" onClick="javascript:wpsh_code(112)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_112" onClick="javascript:wpsh_print(112)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_112" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">rtorrent</pre></div></div>
<p><a href="http://www.simplylinux.ch/wp-content/uploads/rtorrent_coloured2.png"><img src="http://www.simplylinux.ch/wp-content/uploads/rtorrent_coloured2.png" alt="" title="rtorrent_coloured" width="764" height="244" class="aligncenter size-full wp-image-339" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/rtorrent-svn-mit-farbinterface-unter-ubuntu-lucid-10-04-debian-5-kompilieren/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Firefox und Linux: US Letter / A4</title>
		<link>http://www.simplylinux.ch/firefox-und-linux-us-letter-a4</link>
		<comments>http://www.simplylinux.ch/firefox-und-linux-us-letter-a4#comments</comments>
		<pubDate>Mon, 07 Dec 2009 09:12:59 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xfce]]></category>
		<category><![CDATA[a4]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[englisch]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[letter]]></category>
		<category><![CDATA[us letter]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=296</guid>
		<description><![CDATA[Ich hatte lange Zeit Probleme damit, dass Firefox auf meinem englischen Kubuntu mit (englischem Firefox) immer alles in US Letter ausdrucken wollte. CUPS hat standardmässig bei mir A4, Openoffice hat A4, Okular hat A4&#8230; dort läuft es gut aber Firefox weigert sich einfach. Der Grund dafür ist, dass unter Linux Firefox die entsprechende Systemeinstellung nicht [...]]]></description>
			<content:encoded><![CDATA[<p>Ich hatte lange Zeit Probleme damit, dass Firefox auf meinem englischen Kubuntu mit (englischem Firefox) immer alles in US Letter ausdrucken wollte. CUPS hat standardmässig bei mir A4, Openoffice hat A4, Okular hat A4&#8230; dort läuft es gut aber Firefox weigert sich einfach.</p>
<p><span id="more-296"></span></p>
<p>Der Grund dafür ist, dass unter Linux Firefox die entsprechende Systemeinstellung nicht respektiert. Wer also standardmässig auf A4 drucken will unter einem englischen System, der öffnet einfach Firefox, schreibt in die Adresszeile <em>about:config</em>, sucht dort nach <em>letter</em> und und ersetzt alle Einträge (sowohl <em>letter</em> als auch <em>na_letter</em>) mit <em>A4</em>. Bei mir funktioniert das jetzt gut.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/firefox-und-linux-us-letter-a4/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>rTorrent unter Ubuntu Karmic 9.10 / Debian 5 Lenny kompilieren mit Magnet Link Support (und weiterem&#8230;)</title>
		<link>http://www.simplylinux.ch/rtorrent-unter-ubuntu-karmic-9-10-debian-5-lenny-kompilieren-mit-magnet-link-support-und-weiterem</link>
		<comments>http://www.simplylinux.ch/rtorrent-unter-ubuntu-karmic-9-10-debian-5-lenny-kompilieren-mit-magnet-link-support-und-weiterem#comments</comments>
		<pubDate>Sun, 29 Nov 2009 18:28:21 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[magnet]]></category>
		<category><![CDATA[magnet link]]></category>
		<category><![CDATA[rtorrent]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=271</guid>
		<description><![CDATA[rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschieden Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche. Kürzlich wurde auch von [...]]]></description>
			<content:encoded><![CDATA[<p>rTorrent ist ein genialer Bittorrent Client. Es basiert auf ncurses und wird normalerweise über die Command Line aus gesteuert. Gegenüber anderen Clients wie Vuze ist er auch wenig speicherintensiv. Es gibt zwar verschieden Web Interfaces, aber ich benutze keine davon. rTorrent in Screen mit SSH Zugriff ist alles was ich brauche.</p>
<p>Kürzlich wurde auch von The Pirate Bay angekündigt, dass in Zukunft dort kein Tracker mehr betrieben wird und alle Torrents als Magnet Links angeboten werden. rTorrent hat von Hause aus zu diesem Zeitpunkt noch keinen Magnet Link Support. Allerdings gibt es &#8220;einen&#8221; Patch, der Magnet Link Support integriert. Nachfolgendes HowTo ist eine Schritt-für-Schritt Anleitung um rTorrent mit Magnet Link Support zu kompilieren. Zudem werde ich auch noch ein paar weitere Erweiterungen einspielen (und diese jeweils markieren).</p>
<p>Diese Howto gilt sowohl für Ubuntu Karmic 9.10 wie auch Debian 5 Etch. Der einzige Unterschied liegt darin, dass Ubuntu <em>sudo</em> benutzt und alles was mit <em>sudo</em> bezeichnet wird, muss unter Debian als <em>root</em> ausgeführt werden.</p>
<p><span id="more-271"></span></p>
<p>Ich gehe in diesem Howto davon aus, dass die SVN Quellen unter ~/rtorrent gespeichert werden resp. in ~/rtorrent/trunk</p>
<p>&nbsp;</p>
<h2>1: Bisherige rTorrent Installation entfernen</h2>
<div id="wpshdo_113" class="wp-synhighlighter-outer"><div id="wpshdt_113" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_113"></a><a id="wpshat_113" class="wp-synhighlighter-title" href="#codesyntax_113"  onClick="javascript:wpsh_toggleBlock(113)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_113" onClick="javascript:wpsh_code(113)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_113" onClick="javascript:wpsh_print(113)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_113" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> remove rtorrent libtorrent<span class="sy0">*</span></pre></div></div>
<p>&nbsp;</p>
<h2>2: Notwendige Pakete installieren</h2>
<div id="wpshdo_114" class="wp-synhighlighter-outer"><div id="wpshdt_114" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_114"></a><a id="wpshat_114" class="wp-synhighlighter-title" href="#codesyntax_114"  onClick="javascript:wpsh_toggleBlock(114)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_114" onClick="javascript:wpsh_code(114)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_114" onClick="javascript:wpsh_print(114)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_114" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> subversion build-essential libtool <span class="kw2">automake</span> openssl libsigc++-<span class="nu0">2.0</span>-dev libncurses5-dev libcurl4-openssl-dev</pre></div></div>
<p>&nbsp;</p>
<h2>3. rtorrent Verzeichnis kreieren</h2>
<div id="wpshdo_115" class="wp-synhighlighter-outer"><div id="wpshdt_115" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_115"></a><a id="wpshat_115" class="wp-synhighlighter-title" href="#codesyntax_115"  onClick="javascript:wpsh_toggleBlock(115)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_115" onClick="javascript:wpsh_code(115)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_115" onClick="javascript:wpsh_print(115)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_115" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mkdir</span> ~<span class="sy0">/</span>rtorrent</pre></div></div>
<p>&nbsp;</p>
<h2>4. Ins rtorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_116" class="wp-synhighlighter-outer"><div id="wpshdt_116" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_116"></a><a id="wpshat_116" class="wp-synhighlighter-title" href="#codesyntax_116"  onClick="javascript:wpsh_toggleBlock(116)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_116" onClick="javascript:wpsh_code(116)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_116" onClick="javascript:wpsh_print(116)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_116" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ~<span class="sy0">/</span>rtorrent</pre></div></div><br />
<em>Pfad: /home/USER/rtorrent</em></p>
<p>&nbsp;</p>
<h2>5. SVN Daten holen</h2>
<p><div id="wpshdo_117" class="wp-synhighlighter-outer"><div id="wpshdt_117" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_117"></a><a id="wpshat_117" class="wp-synhighlighter-title" href="#codesyntax_117"  onClick="javascript:wpsh_toggleBlock(117)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_117" onClick="javascript:wpsh_code(117)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_117" onClick="javascript:wpsh_print(117)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_117" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>rakshasa.no<span class="sy0">/</span>libtorrent<span class="sy0">/</span>trunk</pre></div></div><br />
Derzeit ist die aktuelle Version rev. 1105. </p>
<p>&nbsp;</p>
<h2>6. Ins trunk Verzeichnis wechseln</h2>
<p><div id="wpshdo_118" class="wp-synhighlighter-outer"><div id="wpshdt_118" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_118"></a><a id="wpshat_118" class="wp-synhighlighter-title" href="#codesyntax_118"  onClick="javascript:wpsh_toggleBlock(118)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_118" onClick="javascript:wpsh_code(118)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_118" onClick="javascript:wpsh_print(118)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_118" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> trunk</pre></div></div><br />
<em>Pfad: /home/USER/rtorrent/trunk</em></p>
<p>&nbsp;</p>
<h2>7. Patches herunter laden</h2>
<p>Für Magnet Link Support:<br />
<div id="wpshdo_119" class="wp-synhighlighter-outer"><div id="wpshdt_119" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_119"></a><a id="wpshat_119" class="wp-synhighlighter-title" href="#codesyntax_119"  onClick="javascript:wpsh_toggleBlock(119)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_119" onClick="javascript:wpsh_code(119)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_119" onClick="javascript:wpsh_print(119)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_119" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>ovh.ttdpatch.net<span class="sy0">/</span>~jdrexler<span class="sy0">/</span>rt<span class="sy0">/</span>experimental<span class="sy0">/</span>dht-pex-static_map.diff
<span class="kw2">wget</span> http:<span class="sy0">//</span>ovh.ttdpatch.net<span class="sy0">/</span>~jdrexler<span class="sy0">/</span>rt<span class="sy0">/</span>experimental<span class="sy0">/</span>magnet-uri.diff
<span class="kw2">wget</span> http:<span class="sy0">//</span>ovh.ttdpatch.net<span class="sy0">/</span>~jdrexler<span class="sy0">/</span>rt<span class="sy0">/</span>experimental<span class="sy0">/</span>object-sstr.diff</pre></div></div><br />
Der Magent Link Support Patch wurde von Josef geschrieben. Ich verweise hierbei auf <a href="http://libtorrent.rakshasa.no/ticket/955">http://libtorrent.rakshasa.no/ticket/955</a>.</p>
<p>Farbsupport für rTorrent nCurses:<br />
<div id="wpshdo_120" class="wp-synhighlighter-outer"><div id="wpshdt_120" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_120"></a><a id="wpshat_120" class="wp-synhighlighter-title" href="#codesyntax_120"  onClick="javascript:wpsh_toggleBlock(120)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_120" onClick="javascript:wpsh_code(120)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_120" onClick="javascript:wpsh_print(120)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_120" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>canvas-color.patch</pre></div></div><br />
Solltest du Rev. 1131 oder neuer benutzen, dann muss dieser Patch hier verwendet werden (Danke an Italian_Plumber für den Patch):<br />
<div id="wpshdo_121" class="wp-synhighlighter-outer"><div id="wpshdt_121" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_121"></a><a id="wpshat_121" class="wp-synhighlighter-title" href="#codesyntax_121"  onClick="javascript:wpsh_toggleBlock(121)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_121" onClick="javascript:wpsh_code(121)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_121" onClick="javascript:wpsh_print(121)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_121" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>canvas-color_1131.patch</pre></div></div><br />
Damit kann im rTorrent Interface farblich zwischen fertigen/unfertigen sowie aktive/inaktive Torrents unterschieden werden. Ich musste mich zuerst auch daran gewöhnen, aber zwischenzeitlich finde ich das ganz praktisch. Der Patch kommt von hier: <a href="http://libtorrent.rakshasa.no/ticket/1382">http://libtorrent.rakshasa.no/ticket/1382</a>. Allerdings funktioniert der Patch mit rev. 1105 nicht mehr, ich müsste eine Änderung vornehmen und der Original-Patch hat noch nie vom Trunk Verzeichnis aus funktioniert. Auch das habe ich behoben.</p>
<p>Torrent Tracker Stats:<br />
<div id="wpshdo_122" class="wp-synhighlighter-outer"><div id="wpshdt_122" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_122"></a><a id="wpshat_122" class="wp-synhighlighter-title" href="#codesyntax_122"  onClick="javascript:wpsh_toggleBlock(122)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_122" onClick="javascript:wpsh_code(122)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_122" onClick="javascript:wpsh_print(122)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_122" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>trackerinfo.patch</pre></div></div><br />
Dieser Patch zeigt in der Tracker View an, wieviele Leute diesen Torrent ziehen. Allerdings sind die Stats sehr unzuverlässig aber es gibt doch eine gewisse Idee. Ich benutz es hauptsächlich um zu sehen welcher Tracker hat überhaupt irgendwelche Peers.</p>
<p>&nbsp;</p>
<h2>8. Patches anwenden</h2>
<p>Für Magnet Link Support:<br />
<div id="wpshdo_123" class="wp-synhighlighter-outer"><div id="wpshdt_123" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_123"></a><a id="wpshat_123" class="wp-synhighlighter-title" href="#codesyntax_123"  onClick="javascript:wpsh_toggleBlock(123)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_123" onClick="javascript:wpsh_code(123)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_123" onClick="javascript:wpsh_print(123)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_123" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> dht-pex-static_map.diff
<span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> magnet-uri.diff
<span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> object-sstr.diff</pre></div></div></p>
<p>Sollte der erste Patch oben folgenden Fehler verursachen:<br />
<div id="wpshdo_124" class="wp-synhighlighter-outer"><div id="wpshdt_124" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_124"></a><a id="wpshat_124" class="wp-synhighlighter-title" href="#codesyntax_124"  onClick="javascript:wpsh_toggleBlock(124)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_124" onClick="javascript:wpsh_code(124)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_124" onClick="javascript:wpsh_print(124)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_124" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">patching <span class="kw2">file</span> libtorrent<span class="sy0">/</span>src<span class="sy0">/</span>torrent<span class="sy0">/</span>Makefile.am
Hunk <span class="co0">#1 FAILED at 41.</span>
Hunk <span class="co0">#2 FAILED at 77.</span>
2 out of 2 hunks FAILED <span class="re5">--</span> saving rejects to <span class="kw2">file</span> libtorrent<span class="sy0">/</span>src<span class="sy0">/</span>torrent<span class="sy0">/</span>Makefile.am.rej</pre></div></div><br />
Dann ist die rTorrent Version zu neu und der Patch wurde noch nicht geupdated. Aus diesem Grunde habe ich einen eigenen weiteren Patch kreiert um das zu beheben. Einfach folgendes ausführen:<br />
<div id="wpshdo_125" class="wp-synhighlighter-outer"><div id="wpshdt_125" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_125"></a><a id="wpshat_125" class="wp-synhighlighter-title" href="#codesyntax_125"  onClick="javascript:wpsh_toggleBlock(125)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_125" onClick="javascript:wpsh_code(125)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_125" onClick="javascript:wpsh_print(125)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_125" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">wget</span> http:<span class="sy0">//</span>www.simplylinux.ch<span class="sy0">/</span>rtorrent<span class="sy0">/</span>dht-pex-static_map_rev1117.diff
<span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> dht-pex-static_map_rev1117.diff</pre></div></div></p>
<p>Farbsupport für rTorrent nCurses:<br />
<div id="wpshdo_126" class="wp-synhighlighter-outer"><div id="wpshdt_126" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_126"></a><a id="wpshat_126" class="wp-synhighlighter-title" href="#codesyntax_126"  onClick="javascript:wpsh_toggleBlock(126)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_126" onClick="javascript:wpsh_code(126)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_126" onClick="javascript:wpsh_print(126)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_126" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> canvas-color.patch</pre></div></div></p>
<p>Torrent Tracker Stats:<br />
<div id="wpshdo_127" class="wp-synhighlighter-outer"><div id="wpshdt_127" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_127"></a><a id="wpshat_127" class="wp-synhighlighter-title" href="#codesyntax_127"  onClick="javascript:wpsh_toggleBlock(127)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_127" onClick="javascript:wpsh_code(127)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_127" onClick="javascript:wpsh_print(127)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_127" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">patch</span> <span class="re5">-p0</span> <span class="sy0">&lt;</span> trackerinfo.patch</pre></div></div></p>
<p>&nbsp;</p>
<h2>9. Ins libtorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_128" class="wp-synhighlighter-outer"><div id="wpshdt_128" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_128"></a><a id="wpshat_128" class="wp-synhighlighter-title" href="#codesyntax_128"  onClick="javascript:wpsh_toggleBlock(128)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_128" onClick="javascript:wpsh_code(128)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_128" onClick="javascript:wpsh_print(128)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_128" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> libtorrent</pre></div></div><br />
Pfad: /home/USER/rtorrent/trunk/libtorrent</p>
<p>&nbsp;</p>
<h2>10. Autogen laufen lassen</h2>
<div id="wpshdo_129" class="wp-synhighlighter-outer"><div id="wpshdt_129" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_129"></a><a id="wpshat_129" class="wp-synhighlighter-title" href="#codesyntax_129"  onClick="javascript:wpsh_toggleBlock(129)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_129" onClick="javascript:wpsh_code(129)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_129" onClick="javascript:wpsh_print(129)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_129" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<p>&nbsp;</p>
<h2>11. libtorrent konfigurieren</h2>
<div id="wpshdo_130" class="wp-synhighlighter-outer"><div id="wpshdt_130" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_130"></a><a id="wpshat_130" class="wp-synhighlighter-title" href="#codesyntax_130"  onClick="javascript:wpsh_toggleBlock(130)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_130" onClick="javascript:wpsh_code(130)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_130" onClick="javascript:wpsh_print(130)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_130" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure</pre></div></div>
<p>&nbsp;</p>
<h2>12. libtorrent kompilieren</h2>
<div id="wpshdo_131" class="wp-synhighlighter-outer"><div id="wpshdt_131" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_131"></a><a id="wpshat_131" class="wp-synhighlighter-title" href="#codesyntax_131"  onClick="javascript:wpsh_toggleBlock(131)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_131" onClick="javascript:wpsh_code(131)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_131" onClick="javascript:wpsh_print(131)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_131" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<p>&nbsp;</p>
<h2>13. libtorrent installieren</h2>
<div id="wpshdo_132" class="wp-synhighlighter-outer"><div id="wpshdt_132" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_132"></a><a id="wpshat_132" class="wp-synhighlighter-title" href="#codesyntax_132"  onClick="javascript:wpsh_toggleBlock(132)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_132" onClick="javascript:wpsh_code(132)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_132" onClick="javascript:wpsh_print(132)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_132" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<p>&nbsp;</p>
<h2>14. /etc/ld.so.conf erweitern</h2>
<div id="wpshdo_133" class="wp-synhighlighter-outer"><div id="wpshdt_133" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_133"></a><a id="wpshat_133" class="wp-synhighlighter-title" href="#codesyntax_133"  onClick="javascript:wpsh_toggleBlock(133)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_133" onClick="javascript:wpsh_code(133)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_133" onClick="javascript:wpsh_print(133)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_133" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">echo</span> <span class="st0">&quot;include /usr/local/lib&quot;</span> <span class="sy0">|</span> <span class="kw2">sudo</span> <span class="kw2">tee</span> <span class="re5">-a</span> <span class="sy0">/</span>etc<span class="sy0">/</span>ld.so.conf</pre></div></div>
<p>&nbsp;</p>
<h2>15. ld.so Cache neu laden</h2>
<div id="wpshdo_134" class="wp-synhighlighter-outer"><div id="wpshdt_134" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_134"></a><a id="wpshat_134" class="wp-synhighlighter-title" href="#codesyntax_134"  onClick="javascript:wpsh_toggleBlock(134)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_134" onClick="javascript:wpsh_code(134)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_134" onClick="javascript:wpsh_print(134)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_134" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> ldconfig</pre></div></div>
<p>&nbsp;</p>
<h2>16. Ins rtorrent Verzeichnis wechseln</h2>
<p><div id="wpshdo_135" class="wp-synhighlighter-outer"><div id="wpshdt_135" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_135"></a><a id="wpshat_135" class="wp-synhighlighter-title" href="#codesyntax_135"  onClick="javascript:wpsh_toggleBlock(135)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_135" onClick="javascript:wpsh_code(135)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_135" onClick="javascript:wpsh_print(135)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_135" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> ..<span class="sy0">/</span>rtorrent</pre></div></div><br />
Pfad: /home/USER/rtorrent/trunk/rtorrent</p>
<p>&nbsp;</p>
<h2>17. Autogen laufen lassen</h2>
<div id="wpshdo_136" class="wp-synhighlighter-outer"><div id="wpshdt_136" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_136"></a><a id="wpshat_136" class="wp-synhighlighter-title" href="#codesyntax_136"  onClick="javascript:wpsh_toggleBlock(136)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_136" onClick="javascript:wpsh_code(136)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_136" onClick="javascript:wpsh_print(136)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_136" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>autogen.sh</pre></div></div>
<p>&nbsp;</p>
<h2>18. rtorrent konfigurieren</h2>
<div id="wpshdo_137" class="wp-synhighlighter-outer"><div id="wpshdt_137" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_137"></a><a id="wpshat_137" class="wp-synhighlighter-title" href="#codesyntax_137"  onClick="javascript:wpsh_toggleBlock(137)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_137" onClick="javascript:wpsh_code(137)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_137" onClick="javascript:wpsh_print(137)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_137" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">.<span class="sy0">/</span>configure</pre></div></div>
<p>&nbsp;</p>
<h2>19. rtorrent kompilieren</h2>
<div id="wpshdo_138" class="wp-synhighlighter-outer"><div id="wpshdt_138" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_138"></a><a id="wpshat_138" class="wp-synhighlighter-title" href="#codesyntax_138"  onClick="javascript:wpsh_toggleBlock(138)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_138" onClick="javascript:wpsh_code(138)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_138" onClick="javascript:wpsh_print(138)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_138" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span></pre></div></div>
<p>&nbsp;</p>
<h2>20. rtorrent installieren</h2>
<div id="wpshdo_139" class="wp-synhighlighter-outer"><div id="wpshdt_139" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_139"></a><a id="wpshat_139" class="wp-synhighlighter-title" href="#codesyntax_139"  onClick="javascript:wpsh_toggleBlock(139)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_139" onClick="javascript:wpsh_code(139)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_139" onClick="javascript:wpsh_print(139)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_139" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<p>&nbsp;</p>
<h2>21. rTorrent Konfiguration erweitern</h2>
<p>Der Magnet Link Support setzt zwingend ein Session Verzeichnis voraus. Falls noch kein Session Verzeichnis oder noch gar keine rTorrent Config Datei vorhande ist, dann das noch hinzufügen. Eine Beispiel rTorrent Config Datei findet sich hier: <a href="http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc#latest">http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc#latest</a> oder man kann sie einfach aus dem Trunk kopieren (und danach anpassen):<br />
<div id="wpshdo_140" class="wp-synhighlighter-outer"><div id="wpshdt_140" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_140"></a><a id="wpshat_140" class="wp-synhighlighter-title" href="#codesyntax_140"  onClick="javascript:wpsh_toggleBlock(140)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_140" onClick="javascript:wpsh_code(140)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_140" onClick="javascript:wpsh_print(140)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_140" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">cp</span> ~<span class="sy0">/</span>rtorrent<span class="sy0">/</span>trunk<span class="sy0">/</span>rtorrent<span class="sy0">/</span>doc<span class="sy0">/</span>rtorrent.rc ~<span class="sy0">/</span>.rtorrent.rc</pre></div></div><br />
Ebenfalls würde ich noch DHT auf ON setzen in der Config.<br />
<em>Danke Xo für den Hinweis fürs Kopieren</em></p>
<p>Um von den Farben gebrauch zu machen, müssen diese auch noch hinzugefügt werden. Bei mir sieht das derzeiten so aus:<br />
<div id="wpshdo_141" class="wp-synhighlighter-outer"><div id="wpshdt_141" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_141"></a><a id="wpshat_141" class="wp-synhighlighter-title" href="#codesyntax_141"  onClick="javascript:wpsh_toggleBlock(141)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_141" onClick="javascript:wpsh_code(141)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_141" onClick="javascript:wpsh_print(141)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_141" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0"># Color / Canvas patch</span>
done_fg_color = <span class="nu0">2</span>
<span class="co0">#done_bg_color = 2</span>
active_fg_color = <span class="nu0">1</span>
<span class="co0">#active_bg_color = 4</span></pre></div></div><br />
Dadurch werden inaktive fertige Torrent dunkelgrün, aktive fertige Torrents hellgrün, inaktive unvollständigen Torrents dunkelrot und aktive unvollständige Torrents hellrot. Mit den Farben kann herumgespielt werden. Die verwendbaren Farben sind: 0 = schwarz; 1 = rot; 2 = grün; 3 = gelb; 4 = blau; 5 = magenta; 6 = cyan; 7 = weiss; </p>
<p>&nbsp;</p>
<h2>22. rTorrent kann nun gestartet werden</h2>
<div id="wpshdo_142" class="wp-synhighlighter-outer"><div id="wpshdt_142" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_142"></a><a id="wpshat_142" class="wp-synhighlighter-title" href="#codesyntax_142"  onClick="javascript:wpsh_toggleBlock(142)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_142" onClick="javascript:wpsh_code(142)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_142" onClick="javascript:wpsh_print(142)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_142" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">rtorrent</pre></div></div>
<p>&nbsp;</p>
<h2>Wie gebrauchen?</h2>
<p>Der Gebrauch ist eigentlich ganz einfach. In rTorrent entweder die Backspace oder Enter Taste drücken und dann die URL des Magnet Links reinkopieren und mit Enter bestätigen. Der Unterschied zwichen Enter und Backspace liegt darin, dass Enter nur den Link hinzufügt, Backspace aber den Link auch gleich startet.</p>
<p>Ebenfalls gibts die Möglichkeit, dass die Magnet Links direkt beim draufklicken in einem Browser an rTorrent übergeben werden:<br />
<div id="wpshdo_143" class="wp-synhighlighter-outer"><div id="wpshdt_143" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_143"></a><a id="wpshat_143" class="wp-synhighlighter-title" href="#codesyntax_143"  onClick="javascript:wpsh_toggleBlock(143)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_143" onClick="javascript:wpsh_code(143)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_143" onClick="javascript:wpsh_print(143)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_143" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
&nbsp;
<span class="kw3">cd</span> ~<span class="sy0">/</span>watch    <span class="co0"># set your watch directory here</span>
<span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="st0">&quot;$1&quot;</span> =~ <span class="re2">xt</span>=urn:btih:<span class="br0">&#40;</span><span class="br0">&#91;</span>^<span class="sy0">&amp;/</span><span class="br0">&#93;</span>+<span class="br0">&#41;</span> <span class="br0">&#93;</span><span class="br0">&#93;</span> <span class="sy0">||</span> <span class="kw3">exit</span>;
<span class="kw3">echo</span> <span class="st0">&quot;d10:magnet-uri<span class="es3">${#1}</span>:<span class="es3">${1}</span>e&quot;</span> <span class="sy0">&gt;</span> <span class="st0">&quot;meta-<span class="es3">${BASH_REMATCH[1]}</span>.torrent&quot;</span></pre></div></div><br />
Einfach dieses Bashscript im System speichern, z.B. unter ~/rtorrent_magnet.sh und ausführbar machen. Dann den Browser so konfigurieren, dass beim Klick auf einen Magnet Link dieses Bashscript ausgeführt wird (also Magnet Links mit diesem Bashscript öffnen). Ich habs zwar bisher nicht selbst ausprobiert, aber da Josef auch den Magnet Link Patch zur kreiert hat, habe ich vertrauen in seine Fähigkeiten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/rtorrent-unter-ubuntu-karmic-9-10-debian-5-lenny-kompilieren-mit-magnet-link-support-und-weiterem/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SSHFS &#8211; einfach gemacht</title>
		<link>http://www.simplylinux.ch/sshfs-einfach-gemacht</link>
		<comments>http://www.simplylinux.ch/sshfs-einfach-gemacht#comments</comments>
		<pubDate>Fri, 13 Nov 2009 10:41:14 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Allgemeines]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cifs]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshfs]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=219</guid>
		<description><![CDATA[Ich hatte lange für meinen Heimserver einfach nur Samba resp. Cifs gebraucht. Allerdings hatte ich damit ein kleines Problem. Vorallem wenn ich .torrent Dateien runtergeladen habe und die in ein Verzeichnis auf meinem Desktop gespeichert hatte, welches an sich nur ein Symlink zu einem via cifs gemounteten Verzeichnis war, dann hatte rtorrent die Datei nicht [...]]]></description>
			<content:encoded><![CDATA[<p>Ich hatte lange für meinen Heimserver einfach nur Samba resp. Cifs gebraucht. Allerdings hatte ich damit ein kleines Problem. Vorallem wenn ich .torrent Dateien runtergeladen habe und die in ein Verzeichnis auf meinem Desktop gespeichert hatte, welches an sich nur ein Symlink zu einem via cifs gemounteten Verzeichnis war, dann hatte rtorrent die Datei nicht akzeptiert, weil sie korrupt sei.<br />
<span id="more-219"></span><br />
Der Grund wieso ich immer cifs und nicht sshfs genommen habe war,  das ich mir ein kleines &#8220;start.sh&#8221; Script gebastelt habe, welches ein paar Dinge erledigt (e.g. Networkshare mounten, Programme starten, &#8230;). Ich wollte dies also ohne Probleme einfach ausführen lassen.</p>
<p>Das Ganze ist aber auch möglich über SSHFS:</p>
<p>(1) Keybased Login einrichten.<br />
Zuerst muss ein Keybased Login eingereichtet werden, ansonsten gibt es immer die Aufforderung. Ein kleines Howto diesbezüglich gibt es hier: http://www.simplylinux.ch/ssh-login-ohne-passwort-key-based<br />
Natürlich muss auf dem Server zuerst ein SSH Server installiert werden:<br />
<div id="wpshdo_144" class="wp-synhighlighter-outer"><div id="wpshdt_144" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_144"></a><a id="wpshat_144" class="wp-synhighlighter-title" href="#codesyntax_144"  onClick="javascript:wpsh_toggleBlock(144)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_144" onClick="javascript:wpsh_code(144)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_144" onClick="javascript:wpsh_print(144)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_144" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> openssh-server</pre></div></div></p>
<p>(2) SSHFS installieren<br />
Damit ich dann via SSHFS mounten kann, muss ich auf dem lokalen Client das entsprechende Paket installiert haben:<br />
<div id="wpshdo_145" class="wp-synhighlighter-outer"><div id="wpshdt_145" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_145"></a><a id="wpshat_145" class="wp-synhighlighter-title" href="#codesyntax_145"  onClick="javascript:wpsh_toggleBlock(145)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_145" onClick="javascript:wpsh_code(145)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_145" onClick="javascript:wpsh_print(145)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_145" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> sshfs</pre></div></div></p>
<p>(3) Manuel mounten<br />
Jetzt kann einfach ein Serververzeichnis in den lokalen Client mounten mit folgendem Befehl:<br />
<div id="wpshdo_146" class="wp-synhighlighter-outer"><div id="wpshdt_146" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_146"></a><a id="wpshat_146" class="wp-synhighlighter-title" href="#codesyntax_146"  onClick="javascript:wpsh_toggleBlock(146)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_146" onClick="javascript:wpsh_code(146)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_146" onClick="javascript:wpsh_print(146)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_146" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">sshfs user<span class="sy0">@</span>host:directory mountpoint</pre></div></div><br />
Wird kein (Server) Verzeichnis (=directory) angegeben, dann wird einfach das Home-Verzeichnis des Benutzers geladen. Wichtig ist hierbei, dass der (lokale) Mountpoint auch existieren muss und dass der entsprechende Benutzer auch Lese-/Schreibrecht hat. Bin mir nicht sicher ob auch Ausführrechte vorhanden sein müssen. Bei mir sind sowohl Benutzer- und Gruppenowner jeweils ich und die Permissions liegen be 0755.</p>
<p>Hier ein &#8220;echtes&#8221; Beispiel:<br />
<div id="wpshdo_147" class="wp-synhighlighter-outer"><div id="wpshdt_147" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_147"></a><a id="wpshat_147" class="wp-synhighlighter-title" href="#codesyntax_147"  onClick="javascript:wpsh_toggleBlock(147)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_147" onClick="javascript:wpsh_code(147)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_147" onClick="javascript:wpsh_print(147)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_147" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">sshfs charly<span class="sy0">@</span>charly11111.dyndns.org:<span class="sy0">/</span>media<span class="sy0">/</span>Audio <span class="sy0">/</span>media<span class="sy0">/</span>Audio</pre></div></div></p>
<p>Jetzt kann man sich damit entsprechend ein Bash Script anlegen wo dann alles gemountet wird.</p>
<p>(4) Unmounten<br />
Um die gemounteten Verzeichnis wieder loszuwerden, kann einfach folgender Befehl ausgeführt werden:<br />
<div id="wpshdo_148" class="wp-synhighlighter-outer"><div id="wpshdt_148" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_148"></a><a id="wpshat_148" class="wp-synhighlighter-title" href="#codesyntax_148"  onClick="javascript:wpsh_toggleBlock(148)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_148" onClick="javascript:wpsh_code(148)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_148" onClick="javascript:wpsh_print(148)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_148" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">fusermount <span class="re5">-u</span> <span class="sy0">/</span>path<span class="sy0">/</span>to<span class="sy0">/</span>mountpoint</pre></div></div></p>
<p>(5) fstab einrichten<br />
Natürlich können auch Einträge in der fstab gemacht werden. Diese sehen dann so aus:<br />
<div id="wpshdo_149" class="wp-synhighlighter-outer"><div id="wpshdt_149" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_149"></a><a id="wpshat_149" class="wp-synhighlighter-title" href="#codesyntax_149"  onClick="javascript:wpsh_toggleBlock(149)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_149" onClick="javascript:wpsh_code(149)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_149" onClick="javascript:wpsh_print(149)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_149" class="wp-synhighlighter-inner" style="display: block;"><pre class="java" style="font-family:monospace;">sshfs#user@host<span class="sy0">:</span>directory mountpoint fuse user <span class="nu0">0</span> <span class="nu0">0</span></pre></div></div><br />
Um danach ein Eintrag zu mounten muss nur noch folgendes ausgeführt werden:<br />
<div id="wpshdo_150" class="wp-synhighlighter-outer"><div id="wpshdt_150" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_150"></a><a id="wpshat_150" class="wp-synhighlighter-title" href="#codesyntax_150"  onClick="javascript:wpsh_toggleBlock(150)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_150" onClick="javascript:wpsh_code(150)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_150" onClick="javascript:wpsh_print(150)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_150" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mount</span> <span class="sy0">/</span>path<span class="sy0">/</span>to<span class="sy0">/</span>mountpoint</pre></div></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/sshfs-einfach-gemacht/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Relay Email von einem Postfix Server</title>
		<link>http://www.simplylinux.ch/relay-email-von-einem-postfix-server</link>
		<comments>http://www.simplylinux.ch/relay-email-von-einem-postfix-server#comments</comments>
		<pubDate>Sat, 22 Aug 2009 06:32:35 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[relay email]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=149</guid>
		<description><![CDATA[Ich habe vor einiger Zeit bei mir auf der Arbeit einen kompletten Mailserver aufgesetzt. Grund war, dass die Mails verschlüsselt bei uns lagern sollen und nicht bei nem ISP der jederzeit Zugriff nehmen kann oder dies bereits aus Marketing gründen tut. Da ich die Kosten möglichst klein halten wollte, habe ich auch weiter die dynamische [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe vor einiger Zeit bei mir auf der Arbeit einen kompletten Mailserver aufgesetzt. Grund war, dass die Mails verschlüsselt bei uns lagern sollen und nicht bei nem ISP der jederzeit Zugriff nehmen kann oder dies bereits aus Marketing gründen tut. Da ich die Kosten möglichst klein halten wollte, habe ich auch weiter die dynamische IP verwendet die Bluewin zur Verfügung stellt. Dank <a href="http://www.everydns.net" target="_blank">everydns.net</a> und einem kleinen Script welches die DNS bei EveryDNS auf dem laufenden hält, hat sich das bewährt. Die einzig grössere Schwierigkeit die ich an sich hatte war der Mail Versand. Viele Mailserver akzeptieren keine Mails von dynamischen IPs, also musste ich die Emails über den ISP (im vorliegenden Fall Bluewin) relayen. Nachfolgend gibts das kleine Howto:</p>
<p><span id="more-149"></span></p>
<h3>1. main.cf anpassen</h3>
<p>Zuerst muss die main.cf geöffnet werden:</p>
<div id="wpshdo_151" class="wp-synhighlighter-outer"><div id="wpshdt_151" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_151"></a><a id="wpshat_151" class="wp-synhighlighter-title" href="#codesyntax_151"  onClick="javascript:wpsh_toggleBlock(151)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_151" onClick="javascript:wpsh_code(151)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_151" onClick="javascript:wpsh_print(151)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_151" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>main.cf</pre></div></div>
<p>Und folgendes (am Schluss) einfügen:</p>
<div id="wpshdo_152" class="wp-synhighlighter-outer"><div id="wpshdt_152" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_152"></a><a id="wpshat_152" class="wp-synhighlighter-title" href="#codesyntax_152"  onClick="javascript:wpsh_toggleBlock(152)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_152" onClick="javascript:wpsh_code(152)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_152" onClick="javascript:wpsh_print(152)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_152" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">smtp_sasl_auth_enable = <span class="kw2">yes</span>
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = <span class="kw3">hash</span>:<span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>saslpasswd
smtp_always_send_ehlo = <span class="kw2">yes</span>
relayhost = smtp.yourisp.com</pre></div></div>
<p>SASL muss natürlich funktionieren (falls nicht, schaut mal die Howtos bei <a href="http://www.howtoforge.com" target=_blank">http://www.howtoforge.com</a> an, im Speziellen die &#8220;Perfect Howtos&#8221; von falko) und bei realyhost muss natürlich der gewünschte ISP gesetzt werden. Ist für den SMTP Versand noch eine bestimmte Portangabe notwendig, so muss folgendes Format verwendet werden:</p>
<div id="wpshdo_153" class="wp-synhighlighter-outer"><div id="wpshdt_153" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_153"></a><a id="wpshat_153" class="wp-synhighlighter-title" href="#codesyntax_153"  onClick="javascript:wpsh_toggleBlock(153)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_153" onClick="javascript:wpsh_code(153)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_153" onClick="javascript:wpsh_print(153)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_153" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">relayhost = <span class="br0">&#91;</span>smtp.yourisp.com<span class="br0">&#93;</span>:PORT</pre></div></div>
<p>Im Konkreten sieht das bei Bluewin folgendermassen aus:</p>
<div id="wpshdo_154" class="wp-synhighlighter-outer"><div id="wpshdt_154" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_154"></a><a id="wpshat_154" class="wp-synhighlighter-title" href="#codesyntax_154"  onClick="javascript:wpsh_toggleBlock(154)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_154" onClick="javascript:wpsh_code(154)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_154" onClick="javascript:wpsh_print(154)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_154" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">relayhost = <span class="br0">&#91;</span>smtpauth.bluewin.ch<span class="br0">&#93;</span>:<span class="nu0">587</span></pre></div></div>
<p>Dann kann die main.cf gespeichert und geschlossen werden.</p>
<h3>2. Die Datei saslpasswd anlegen und editieren</h3>
<p>Anstelle von saslpasswd kann der Datei auch einen anderen Namen gegeben werden. Dann muss dies aber in der main.cf entsprechend angepasst werden (siehe Schritt 1). Angelegt wird die Datei indem wir sie gleich editieren und dann speichern:</p>
<div id="wpshdo_155" class="wp-synhighlighter-outer"><div id="wpshdt_155" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_155"></a><a id="wpshat_155" class="wp-synhighlighter-title" href="#codesyntax_155"  onClick="javascript:wpsh_toggleBlock(155)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_155" onClick="javascript:wpsh_code(155)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_155" onClick="javascript:wpsh_print(155)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_155" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>saslpasswd</pre></div></div>
<p>In der Datei dann folgendes einfügen:</p>
<div id="wpshdo_156" class="wp-synhighlighter-outer"><div id="wpshdt_156" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_156"></a><a id="wpshat_156" class="wp-synhighlighter-title" href="#codesyntax_156"  onClick="javascript:wpsh_toggleBlock(156)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_156" onClick="javascript:wpsh_code(156)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_156" onClick="javascript:wpsh_print(156)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_156" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">smtp.yourisp.com     yourlogin:yourpassword</pre></div></div>
<p>Bei der Angabe des SMTP Servers ist der Port nicht anzugeben. Der Loginname und das Passwort müssen von einem Konto bei diesem ISP sein, das existiert um Emails durch diesen ISP zu senden. Dann kann die Datei gespeichert und geschlossen werden.</p>
<h3>3. Hashen der saslpasswd Datei</h3>
<p>Die Datei muss jetzt noch gehashed werden mit postmap:</p>
<div id="wpshdo_157" class="wp-synhighlighter-outer"><div id="wpshdt_157" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_157"></a><a id="wpshat_157" class="wp-synhighlighter-title" href="#codesyntax_157"  onClick="javascript:wpsh_toggleBlock(157)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_157" onClick="javascript:wpsh_code(157)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_157" onClick="javascript:wpsh_print(157)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_157" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">postmap <span class="sy0">/</span>etc<span class="sy0">/</span>postfix<span class="sy0">/</span>saslpasswd</pre></div></div>
<h3>4. Postfix neu starten</h3>
<p>Zu guter letzt muss noch Postfix neu gestartet werden:</p>
<div id="wpshdo_158" class="wp-synhighlighter-outer"><div id="wpshdt_158" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_158"></a><a id="wpshat_158" class="wp-synhighlighter-title" href="#codesyntax_158"  onClick="javascript:wpsh_toggleBlock(158)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_158" onClick="javascript:wpsh_code(158)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_158" onClick="javascript:wpsh_print(158)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_158" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="sy0">/</span>etc<span class="sy0">/</span>init.d<span class="sy0">/</span>postfix restart</pre></div></div>
<p>Jetzt schickt Postfix alle ausgehenden Emails über den ISP und Postfix kann jetzt vollumfänglich genutzt werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/relay-email-von-einem-postfix-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash Completion für Debian</title>
		<link>http://www.simplylinux.ch/bash-completion-fuer-debian</link>
		<comments>http://www.simplylinux.ch/bash-completion-fuer-debian#comments</comments>
		<pubDate>Sun, 26 Apr 2009 11:46:02 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=140</guid>
		<description><![CDATA[Bash Completion ist nützlich um Pfade, Befehlet etc. automatisch zu vervollständigen. Standardmässig hat Debian dies nicht integriert, Ubuntu jedoch schon. Mit zwei kleinen Schritten kann das Bash Completion auch unter Debian eingreichtet werden. 1. Installiere das bash-completion Paket Zuerst muss das bash-completion Paket installiert werden: 2. Bash Completion im Bash Profil hinzufügen Um nur einzelnen [...]]]></description>
			<content:encoded><![CDATA[<p>Bash Completion ist nützlich um Pfade, Befehlet etc. automatisch zu vervollständigen. Standardmässig hat Debian dies nicht integriert, Ubuntu jedoch schon. Mit zwei kleinen Schritten kann das Bash Completion auch unter Debian eingreichtet werden.</p>
<p><span id="more-140"></span></p>
<h3>1. Installiere das bash-completion Paket</h3>
<p>Zuerst muss das bash-completion Paket installiert werden:</p>
<div id="wpshdo_159" class="wp-synhighlighter-outer"><div id="wpshdt_159" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_159"></a><a id="wpshat_159" class="wp-synhighlighter-title" href="#codesyntax_159"  onClick="javascript:wpsh_toggleBlock(159)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_159" onClick="javascript:wpsh_code(159)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_159" onClick="javascript:wpsh_print(159)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_159" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">apt-get</span> <span class="kw2">install</span> bash-completion</pre></div></div>
<h3>2. Bash Completion im Bash Profil hinzufügen</h3>
<p>Um nur einzelnen Benutzer Bash Completion zur Verfügung zu stellen muss deren <i>~/.bash_profile</i> Datei angepasst werden oder aber um es auf dem ganzen System zu Aktivieren muss die <i>/etc/profile</i> Datei editiert und folgendes hinzugefügt werden:</p>
<div id="wpshdo_160" class="wp-synhighlighter-outer"><div id="wpshdt_160" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_160"></a><a id="wpshat_160" class="wp-synhighlighter-title" href="#codesyntax_160"  onClick="javascript:wpsh_toggleBlock(160)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_160" onClick="javascript:wpsh_code(160)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_160" onClick="javascript:wpsh_print(160)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_160" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw1">if</span> <span class="br0">&#91;</span> <span class="re5">-f</span> <span class="sy0">/</span>etc<span class="sy0">/</span>bash_completion <span class="br0">&#93;</span>; <span class="kw1">then</span>
 . <span class="sy0">/</span>etc<span class="sy0">/</span>bash_completion
<span class="kw1">fi</span></pre></div></div>
<h3>3. Testen</h3>
<p>Nachdem die entsprechende Datei(en) angepasst wurde, muss man sich aus- und wieder neu einloggen und man kann es nun folgendermassen gebrauchen:</p>
<div id="wpshdo_161" class="wp-synhighlighter-outer"><div id="wpshdt_161" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_161"></a><a id="wpshat_161" class="wp-synhighlighter-title" href="#codesyntax_161"  onClick="javascript:wpsh_toggleBlock(161)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_161" onClick="javascript:wpsh_code(161)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_161" onClick="javascript:wpsh_print(161)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_161" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">apt-g</pre></div></div>
<p>im Terminal eingeben und dann einmal die TAB Taste drücken. Das <i>apt-g</i> wird nun vervollständigt zu <i>apt-get</i>. Oder gib folgendes ein:</p>
<div id="wpshdo_162" class="wp-synhighlighter-outer"><div id="wpshdt_162" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_162"></a><a id="wpshat_162" class="wp-synhighlighter-title" href="#codesyntax_162"  onClick="javascript:wpsh_toggleBlock(162)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_162" onClick="javascript:wpsh_code(162)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_162" onClick="javascript:wpsh_print(162)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_162" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">apt</pre></div></div>
<p>und dann zweimal TAB drücken und dir werden dann alle möglichen Optionen aufgezeigt. Probiere auch noch folgendes aus:</p>
<div id="wpshdo_163" class="wp-synhighlighter-outer"><div id="wpshdt_163" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_163"></a><a id="wpshat_163" class="wp-synhighlighter-title" href="#codesyntax_163"  onClick="javascript:wpsh_toggleBlock(163)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_163" onClick="javascript:wpsh_code(163)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_163" onClick="javascript:wpsh_print(163)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_163" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">apt-get</span> <span class="kw2">install</span> apa</pre></div></div>
<p>und dann einmal TAB drücken um zu vervollständigen (soweit als möglich) und dann ein zweites Mal TAB drücken um die weiteren Möglichkeiten aufzulisten.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/bash-completion-fuer-debian/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Neu: DebGen &#8211; Sources List Generator für Debian</title>
		<link>http://www.simplylinux.ch/neu-debgen-sources-list-generator-fuer-debian</link>
		<comments>http://www.simplylinux.ch/neu-debgen-sources-list-generator-fuer-debian#comments</comments>
		<pubDate>Sun, 12 Apr 2009 19:02:55 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[debgen]]></category>
		<category><![CDATA[sources list generator]]></category>
		<category><![CDATA[sources.list]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=100</guid>
		<description><![CDATA[Ich habe schon ein paar Mal positives Feedback wegen meinem RepoGen bekommen. Vielen Dank dafür Vor einiger Zeit hat sich dann auch Miro &#8220;churchyard&#8221; Hrončok bei mir gemeldet und gefragt, ob ich das auch für Debian aufsetzen könnte. Ich habe ihm gesagt, dass ich Debian nur auf ein paar Server verwende und dort eigentlich keine [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe schon ein paar Mal positives Feedback wegen meinem RepoGen bekommen. Vielen Dank dafür <img src='http://www.simplylinux.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Vor einiger Zeit hat sich dann auch <a href="http://neverhood.etomite.cz/~churchy/" target="_blank">Miro &#8220;churchyard&#8221; Hrončok</a> bei mir gemeldet und gefragt, ob ich das auch für Debian aufsetzen könnte. Ich habe ihm gesagt, dass ich Debian nur auf ein paar Server verwende und dort eigentlich keine Drittpartei Repos habe und deswegen dort auch nichts gross ausfüllen kann. Auch war mir das ganze Namensschema (stable, testing, unstable, sid, &#8230;.) nicht so ganz klar.<br />
<span id="more-100"></span><br />
Bei der Kontaktaufnahme hat mir churchyard auch gerade ein paar Möglichkeiten angeboten. Entweder ich mache das ganz alleine oder ich setze es auf meinem Server auf und er managt dann die Repos oder ich gebe ihm den Sourcecode.</p>
<p>Ich habe ihm geantwortet, dass ich zu wenig über die verschiedenen Debian Repos weiss um das selbst zu machen. Auch ist mein Code eher zusammengewürfelt als gecodet und deswegen gebe ich nicht gerne den Code heraus oder er sage mir welche subdomain.simplylinux.ch er haben will und ich mach ihm das Gerüst da und gebe ihm Zugriff zur DB.</p>
<p>Wir haben uns dann auf die dritte Variante (also MySQL Zugriff) geeinigt doch gab es noch die Schwierigkeit den Subdomainnamen zu wählen. Zuerst dachten wir an &#8220;debrepogen&#8221; aber das war irgendwie zu lang und zu technisch. Ich habe mich dann auf &#8220;debgen&#8221; entschieden und das Tool ist nun verfügbar.</p>
<p>DebGen ist also nun erreichbar unter <a href="http://debgen.simplylinux.ch" target="_blank">http://debgen.simplylinux.ch</a>.</p>
<p>Es sind noch nicht viele Drittrepos drinnen, churchyard hat aber gemeint er fügt ein paar in den nächsten Tagen hinzu. Wer will, kann auch das Formular benutzen um selbständig neue Vorschläge zu bringen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/neu-debgen-sources-list-generator-fuer-debian/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Backup</title>
		<link>http://www.simplylinux.ch/mysql-backup</link>
		<comments>http://www.simplylinux.ch/mysql-backup#comments</comments>
		<pubDate>Wed, 01 Apr 2009 10:52:22 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=82</guid>
		<description><![CDATA[Backups sind das A und O wenn es um Computer geht. Man kann versehentlich Dinge löschen oder ein Gerät hört auf zu funktionieren oder auch in letzter Zeit ist die Beschlagnahme von Computern Mode geworden (hier sollte man noch zusätzliche Verschlüsselung anwenden&#8230;). Damit sich der Datenverlust in Grenzen hält, sollte man also regelmässig Backups machen. [...]]]></description>
			<content:encoded><![CDATA[<p>Backups sind das A und O wenn es um Computer geht. Man kann versehentlich Dinge löschen oder ein Gerät hört auf zu funktionieren oder auch in letzter Zeit ist die Beschlagnahme von Computern Mode geworden (hier sollte man noch zusätzliche Verschlüsselung anwenden&#8230;). Damit sich der Datenverlust in Grenzen hält, sollte man also regelmässig Backups machen. Ein besonderes Problem hierbei stellen Daten in einer Datenbank.</p>
<p>Eine der populärsten Datenbanken unter Linux ist MySQL. Die Daten werden auf Debian/Ubuntu jeweils in /var/lib/mysql gespeichert. Man könnte einfach die ganzen binären Datenbanken kopieren. Das Problem ist jedoch, wenn sich während dem Kopieren der Datenbestand ändert. Dies kann dazu führen, dass die entsprechende Datenbank korrumpiert wird.<br />
<span id="more-82"></span><br />
Aus diesem Grunde gibts entweder die Möglichkeit, dass man MySQL während dem Backup ausschaltet oder dass man nicht die binären Datenbanken kopiert sondern einen Dump der Struktur und Inhalte erstellt. Die nachfolgenden Scripte machen solch einen Dump:</p>
<p>Alle Datenbanken in je eine eigene .sql Datei:</p>
<div id="wpshdo_164" class="wp-synhighlighter-outer"><div id="wpshdt_164" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_164"></a><a id="wpshat_164" class="wp-synhighlighter-title" href="#codesyntax_164"  onClick="javascript:wpsh_toggleBlock(164)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_164" onClick="javascript:wpsh_code(164)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_164" onClick="javascript:wpsh_print(164)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_164" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
&nbsp;
<span class="co0"># Set variables</span>
<span class="re2">USER</span>=root
<span class="re2">PASSWORD</span>=<span class="sy0">************</span>
<span class="re2">HOST</span>=localhost
&nbsp;
<span class="co0"># Remove old backup files</span>
<span class="kw2">mkdir</span> <span class="sy0">/</span>mysql_backup
<span class="kw2">rm</span> <span class="re5">-f</span> <span class="sy0">/</span>mysql_backup<span class="sy0">/*</span>
&nbsp;
<span class="co0">#Dump new files</span>
&nbsp;
<span class="kw1">for</span> i <span class="kw1">in</span> $<span class="br0">&#40;</span><span class="kw3">echo</span> <span class="st_h">'SHOW DATABASES;'</span> <span class="sy0">|</span> mysql -u<span class="re1">$USER</span> -p<span class="re1">$PASSWORD</span> -h<span class="re1">$HOST</span><span class="sy0">|</span><span class="kw2">grep</span> <span class="re5">-v</span> <span class="st_h">'^Database$'</span><span class="br0">&#41;</span>; <span class="kw1">do</span>
  mysqldump                                                     \
  -u<span class="re1">$USER</span> -p<span class="re1">$PASSWORD</span> -h<span class="re1">$HOST</span>                                   \
  <span class="re5">-Q</span> <span class="re5">-e</span> <span class="re5">-C</span> <span class="re5">--add-drop-table</span> <span class="re5">--add-locks</span> <span class="re5">--quick</span> <span class="re5">--lock-tables</span>   \
  <span class="re5">-B</span> <span class="re1">$i</span>                                                         \
  <span class="re1">$i</span> <span class="sy0">&gt;</span> <span class="sy0">/</span>mysql_backup<span class="sy0">/</span><span class="re1">$i</span>.sql;
<span class="kw1">done</span>;</pre></div></div>
<p>Das nachfolgende Script wurde von dergringo weiter entwickelt und macht nicht nur separate .sql Files für jede Datenbank, sondern auch noch für jede einzelne Tabelle.</p>
<p><strong>WICHTIG: TARGET muss wohl überlegt gesetzt werden, da alle Dateien dort drinnen jeweils gelöscht werde. Das Standardverzeichnis /mysql_backup/ ist eine gute Lösung, muss aber unter Umständen angepasst werden.</strong></p>
<div id="wpshdo_165" class="wp-synhighlighter-outer"><div id="wpshdt_165" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_165"></a><a id="wpshat_165" class="wp-synhighlighter-title" href="#codesyntax_165"  onClick="javascript:wpsh_toggleBlock(165)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_165" onClick="javascript:wpsh_code(165)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_165" onClick="javascript:wpsh_print(165)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_165" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
&nbsp;
<span class="co0">###############</span>
<span class="co0"># CONFIG</span>
<span class="co0">###############</span>
&nbsp;
<span class="re2">TARGET</span>=<span class="sy0">/</span>mysql_backup<span class="sy0">/</span>
<span class="re2">USER</span>=root
<span class="re2">PASSWORD</span>=<span class="sy0">*********</span>
<span class="re2">HOST</span>=localhost
&nbsp;
<span class="co0">###############</span>
<span class="co0"># SCRIPT</span>
<span class="co0">###############</span>
&nbsp;
<span class="co0"># Remove old files</span>
<span class="br0">&#91;</span><span class="br0">&#91;</span> <span class="re1">$TARGET</span> <span class="br0">&#93;</span><span class="br0">&#93;</span> <span class="sy0">&amp;&amp;</span> <span class="kw3">cd</span> <span class="st0">&quot;<span class="es2">$TARGET</span>&quot;</span> <span class="sy0">&amp;&amp;</span> <span class="kw2">rm</span> <span class="re5">-r</span> .<span class="sy0">/*</span>
&nbsp;
<span class="co0">#Dump new files</span>
<span class="kw1">for</span> DB <span class="kw1">in</span> $<span class="br0">&#40;</span><span class="kw3">echo</span> <span class="st_h">'SHOW DATABASES;'</span> <span class="sy0">|</span> mysql -u<span class="re1">$USER</span> -p<span class="re1">$PASSWORD</span> -h<span class="re1">$HOST</span><span class="sy0">|</span><span class="kw2">grep</span> <span class="re5">-v</span> <span class="st_h">'^Database$'</span><span class="br0">&#41;</span>; <span class="kw1">do</span>
        <span class="re2">FOLDER</span>=<span class="re1">$TARGET</span><span class="re1">$DB</span>
        <span class="kw2">mkdir</span> <span class="re1">$FOLDER</span> <span class="sy0">&gt;</span> <span class="sy0">/</span>dev<span class="sy0">/</span>null 2<span class="sy0">&gt;&amp;</span>1
        <span class="kw1">for</span> TABLE <span class="kw1">in</span> $<span class="br0">&#40;</span><span class="kw3">echo</span> SHOW TABLES FROM <span class="re1">$DB</span> <span class="sy0">|</span> mysql -u<span class="re1">$USER</span> -p<span class="re1">$PASSWORD</span> -h<span class="re1">$HOST</span> <span class="sy0">|</span> <span class="kw2">tail</span> <span class="re5">-n</span> +2<span class="br0">&#41;</span>; <span class="kw1">do</span>
                mysqldump -u<span class="re1">$USER</span> -p<span class="re1">$PASSWORD</span> -h<span class="re1">$HOST</span> <span class="re1">$DB</span> <span class="re1">$TABLE</span> <span class="sy0">&gt;</span> <span class="re1">$FOLDER</span><span class="sy0">/</span><span class="re1">$TABLE</span>.sql
        <span class="kw1">done</span>;
<span class="kw1">done</span>;</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/mysql-backup/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Strigi / Nepomuk / Soprano in Kubuntu 8.10 &#8211; Desktop Suche</title>
		<link>http://www.simplylinux.ch/strigi-nepomuk-sporano-in-kubuntu-810-desktop-suche</link>
		<comments>http://www.simplylinux.ch/strigi-nepomuk-sporano-in-kubuntu-810-desktop-suche#comments</comments>
		<pubDate>Sun, 15 Feb 2009 22:57:05 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[kde 4.2]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[nepomuk]]></category>
		<category><![CDATA[sporano]]></category>
		<category><![CDATA[strigi]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=38</guid>
		<description><![CDATA[Ich hatte lange das Problem das Nepomuk einfach nicht so klappen wollte. Mit der Hilfe von &#8220;Phreedom&#8221; im #strigi Channel auf irc.freenode.org habe ich das endlich hingekriegt. Wieso genau die Standardinstallation nicht will, habe ich nicht herausgefunden. Allerdings hat mir Phreedom geraten, dass ich Soprano nehmen solle anstelle von Redland (glaube ich). Ich soll entsprechend [...]]]></description>
			<content:encoded><![CDATA[<p>Ich hatte lange das Problem das Nepomuk einfach nicht so klappen wollte. Mit der Hilfe von &#8220;Phreedom&#8221; im #strigi Channel auf irc.freenode.org habe ich das endlich hingekriegt.</p>
<p>Wieso genau die Standardinstallation nicht will, habe ich nicht herausgefunden. Allerdings hat mir Phreedom geraten, dass ich Soprano nehmen solle anstelle von Redland (glaube ich). Ich soll entsprechend auch KDE 4.2 verwenden, muss dann aber Soprano selbst kompilieren, da weder die Ubuntu noch Debian Maintainer dies gemacht haben. Hier gabs zwar ein paar Schwierigkeiten, aber die haben sich dann doch auch gelöst. Nachfolgend gibts das kleine Howto dazu.<br />
<span id="more-38"></span><br />
Zuerst muss 8.10 mal auf KDE 4.2 geupdated werden. Dazu kann man schön mein <a title="RepoGen tool" href="http://repogen.simplylinux.ch" target="_blank">RepoGen Tool</a> verwenden. Unter den 3rd Party Repos ist entsprechend das PPA Repo sowie das Nightly Repo vorhanden.</p>
<p>Nachdem man also das Repo hinzugefügt hat und folgenden Befehl zum upgraden erfolgreich verwendet hat, kann man dann mit den notwendigen Paketen starten:</p>
<div id="wpshdo_166" class="wp-synhighlighter-outer"><div id="wpshdt_166" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_166"></a><a id="wpshat_166" class="wp-synhighlighter-title" href="#codesyntax_166"  onClick="javascript:wpsh_toggleBlock(166)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_166" onClick="javascript:wpsh_code(166)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_166" onClick="javascript:wpsh_print(166)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_166" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> update <span class="sy0">&amp;&amp;</span> <span class="kw2">sudo</span> <span class="kw2">apt-get</span> upgrade</pre></div></div>
<p>Die benötigten Pakete sind folgende:</p>
<div id="wpshdo_167" class="wp-synhighlighter-outer"><div id="wpshdt_167" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_167"></a><a id="wpshat_167" class="wp-synhighlighter-title" href="#codesyntax_167"  onClick="javascript:wpsh_toggleBlock(167)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_167" onClick="javascript:wpsh_code(167)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_167" onClick="javascript:wpsh_print(167)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_167" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> libqt4-dev openjdk-<span class="nu0">6</span>-jre openjdk-<span class="nu0">6</span>-jdk build-essential cmake subversion qmake strigi-utils</pre></div></div>
<p>Anstelle von openjdk-Java kann man auch ein anderes nehmen. Mann muss dann einfach später den Pfad entsprechend anpassen. Ich bevorzuge openjdk weil es hier auch Firefox Plugins unter 64bit gibt (Stichwort: icedtea6-plugin).</p>
<p>Nachdem man sich nun die entsprechenden Pakete besorgt hat, muss man sich den entsprechenden Quellcode holen. Hierbei kann man z.B. auf den Desktop gehen und dann folgenden Befehl ausführen:</p>
<div id="wpshdo_168" class="wp-synhighlighter-outer"><div id="wpshdt_168" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_168"></a><a id="wpshat_168" class="wp-synhighlighter-title" href="#codesyntax_168"  onClick="javascript:wpsh_toggleBlock(168)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_168" onClick="javascript:wpsh_code(168)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_168" onClick="javascript:wpsh_print(168)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_168" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">svn</span> <span class="kw2">co</span> <span class="kw2">svn</span>:<span class="sy0">//</span>anonsvn.kde.org<span class="sy0">/</span>home<span class="sy0">/</span>kde<span class="sy0">/</span>tags<span class="sy0">/</span>kdesupport-for-<span class="nu0">4.2</span><span class="sy0">/</span>kdesupport</pre></div></div>
<p>Dieser Befehl holt dann die notwendigen Dateien und speichert sie in einem Ordner &#8220;kdesupport&#8221;</p>
<p>Danach folgendes ausführen:</p>
<div id="wpshdo_169" class="wp-synhighlighter-outer"><div id="wpshdt_169" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_169"></a><a id="wpshat_169" class="wp-synhighlighter-title" href="#codesyntax_169"  onClick="javascript:wpsh_toggleBlock(169)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_169" onClick="javascript:wpsh_code(169)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_169" onClick="javascript:wpsh_print(169)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_169" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">cd</span> kdesupport<span class="sy0">/</span>soprano
<span class="kw2">mkdir</span> build
<span class="kw3">cd</span> build</pre></div></div>
<p>Wir gehen also ins kdesupport Verzeichnis rein, erstellen und build Verzeichnis. Before wir cmake ausführen können, muss noch der Pfad für Java angeben werden. Hier muss allenfalls, wenn kein openjdk verwendet wird, angepasst werden:</p>
<div id="wpshdo_170" class="wp-synhighlighter-outer"><div id="wpshdt_170" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_170"></a><a id="wpshat_170" class="wp-synhighlighter-title" href="#codesyntax_170"  onClick="javascript:wpsh_toggleBlock(170)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_170" onClick="javascript:wpsh_code(170)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_170" onClick="javascript:wpsh_print(170)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_170" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw3">export</span> <span class="re2">JAVA_HOME</span>=<span class="sy0">/</span>usr<span class="sy0">/</span>lib<span class="sy0">/</span>jvm<span class="sy0">/</span>java-<span class="nu0">6</span>-openjdk</pre></div></div>
<p>Jetzt kann cmake ausgeführt werden:</p>
<div id="wpshdo_171" class="wp-synhighlighter-outer"><div id="wpshdt_171" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_171"></a><a id="wpshat_171" class="wp-synhighlighter-title" href="#codesyntax_171"  onClick="javascript:wpsh_toggleBlock(171)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_171" onClick="javascript:wpsh_code(171)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_171" onClick="javascript:wpsh_print(171)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_171" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">cmake ..</pre></div></div>
<p>Es sollte dann ein Output folgendermassen erscheinen:</p>
<div id="wpshdo_172" class="wp-synhighlighter-outer"><div id="wpshdt_172" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_172"></a><a id="wpshat_172" class="wp-synhighlighter-title" href="#codesyntax_172"  onClick="javascript:wpsh_toggleBlock(172)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_172" onClick="javascript:wpsh_code(172)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_172" onClick="javascript:wpsh_print(172)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_172" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re5">--</span> Soprano Components that will be built:
<span class="sy0">*</span> Sesame2 storage backend <span class="br0">&#40;</span>java-based<span class="br0">&#41;</span>
<span class="sy0">*</span> D-Bus server<span class="sy0">/</span>client support
<span class="re5">--</span> Soprano Components that will NOT be built:
<span class="sy0">*</span> Redland storage backend
<span class="sy0">*</span> Raptor RDF parser
<span class="sy0">*</span> Raptor RDF serializer
<span class="sy0">*</span> The CLucene-based full-text search index library</pre></div></div>
<p>Wenn das erscheint, dann kann kompiliert und installiert werden:</p>
<div id="wpshdo_173" class="wp-synhighlighter-outer"><div id="wpshdt_173" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_173"></a><a id="wpshat_173" class="wp-synhighlighter-title" href="#codesyntax_173"  onClick="javascript:wpsh_toggleBlock(173)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_173" onClick="javascript:wpsh_code(173)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_173" onClick="javascript:wpsh_print(173)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_173" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">make</span>
<span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></pre></div></div>
<p>Damit wäre der erste Teil geschafft. Jetzt muss nur noch Nepomuk ein bisschen angepasst werden. Dazu zuerst mal in die System Settings reingehen und dort auf Advanced Tab klicken um so in die Desktop Suche reinzukommen.</p>
<p>Hier soll dann Nepomuk und allenfalls auch Strigi mal deaktiviert werden.</p>
<p>Wenn dies geschehen ist, soll das bisherige Nepomuk Profilverzeichnis gelöscht werden:</p>
<div id="wpshdo_174" class="wp-synhighlighter-outer"><div id="wpshdt_174" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_174"></a><a id="wpshat_174" class="wp-synhighlighter-title" href="#codesyntax_174"  onClick="javascript:wpsh_toggleBlock(174)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_174" onClick="javascript:wpsh_code(174)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_174" onClick="javascript:wpsh_print(174)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_174" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">rm</span> <span class="re5">-Rf</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>apps<span class="sy0">/</span>nepomuk</pre></div></div>
<p>Danach muss die Nepomuk Config bearbeitet werden:</p>
<div id="wpshdo_175" class="wp-synhighlighter-outer"><div id="wpshdt_175" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_175"></a><a id="wpshat_175" class="wp-synhighlighter-title" href="#codesyntax_175"  onClick="javascript:wpsh_toggleBlock(175)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_175" onClick="javascript:wpsh_code(175)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_175" onClick="javascript:wpsh_print(175)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_175" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>config<span class="sy0">/</span>nepomukserverrc</pre></div></div>
<p>Hier muss dann folgender Inhalt eingefügt werden:</p>
<div id="wpshdo_176" class="wp-synhighlighter-outer"><div id="wpshdt_176" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_176"></a><a id="wpshat_176" class="wp-synhighlighter-title" href="#codesyntax_176"  onClick="javascript:wpsh_toggleBlock(176)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_176" onClick="javascript:wpsh_code(176)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_176" onClick="javascript:wpsh_print(176)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_176" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="br0">&#91;</span>Basic Settings<span class="br0">&#93;</span>
Configured <span class="re2">repositories</span>=main
Start <span class="re2">Nepomuk</span>=<span class="kw2">true</span>
&nbsp;
<span class="br0">&#91;</span>Service-nepomukmigration1<span class="br0">&#93;</span>
<span class="re2">autostart</span>=<span class="kw2">false</span>
&nbsp;
<span class="br0">&#91;</span>Service-nepomukstrigiservice<span class="br0">&#93;</span>
<span class="re2">autostart</span>=<span class="kw2">true</span>
&nbsp;
<span class="br0">&#91;</span>main Settings<span class="br0">&#93;</span>
Storage Dir<span class="br0">&#91;</span><span class="re1">$e</span><span class="br0">&#93;</span>=<span class="re1">$HOME</span><span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>apps<span class="sy0">/</span>nepomuk<span class="sy0">/</span>repository<span class="sy0">/</span>main<span class="sy0">/</span>
Used Soprano <span class="re2">Backend</span>=sesame2
rebuilt index <span class="kw1">for</span> <span class="kw3">type</span> <span class="re2">indexing</span>=<span class="kw2">true</span></pre></div></div>
<p>Durch diese Einstellungen werden Nepomuk und Strigi mit dem System gestartet und Soprano wird verwendet.</p>
<p>Danach können in den Advanced Settings der Desktop Suche entsprechend markiert werden, welche Verzeichnisse indexiert werden sollen, welche Ausnahmen gelten sollen etc.</p>
<p>Wenn das erledigt ist, kann Nepomuk und Strigi in den Basic Settings wieder aktiviert werden. Danach wird der ganze Computer indexiert.</p>
<p>Sobald die Indexierung gestartet ist, können auch schon Ergebnisse verwendet werden. Dazu öffne man Dolphin. In der Pfadleiste oben, wo man normalerweise sieht in welchem Pfad man sich befindet, kann man reinklicken und dann folgendes eingeben:</p>
<div id="wpshdo_177" class="wp-synhighlighter-outer"><div id="wpshdt_177" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_177"></a><a id="wpshat_177" class="wp-synhighlighter-title" href="#codesyntax_177"  onClick="javascript:wpsh_toggleBlock(177)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_177" onClick="javascript:wpsh_code(177)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_177" onClick="javascript:wpsh_print(177)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_177" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">nepomuksearch:BEGRIFF</pre></div></div>
<p>Die gefundenen Ergebnisse werden sodann aufgelistet.</p>
<p>Was auch noch anzumerken ist, dass man in Dolphin entsprechend in der rechten Leisten die Dateien auch mit Beschreibungen und Suchtags versehen kann. Diese Metainformationen werden auch von Nepomuk / Strigi / Soprano ausgewertet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/strigi-nepomuk-sporano-in-kubuntu-810-desktop-suche/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bottom Panel in KDE4</title>
		<link>http://www.simplylinux.ch/bottom-panel-in-kde4</link>
		<comments>http://www.simplylinux.ch/bottom-panel-in-kde4#comments</comments>
		<pubDate>Thu, 11 Dec 2008 20:43:03 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[kde 4]]></category>
		<category><![CDATA[kubuntu]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=33</guid>
		<description><![CDATA[Ich war ein bisschen neugierig und habe gestern KDE 4.2 und Amarok 2 PPA Repos für Kubuntu 8.10 hinzugefügt. Ich muss sagen, KDE 4.2 sieht ganz nett aus und Amarok 2 hat gegenüber den offiziellen Repo einiges an Bugs ausgemerzt. Allerdings habe ich es auch geschafft, dass ich mir den Bottom Panel weggelöscht habe und [...]]]></description>
			<content:encoded><![CDATA[<p>Ich war ein bisschen neugierig und habe gestern KDE 4.2 und Amarok 2 PPA Repos für Kubuntu 8.10 hinzugefügt. Ich muss sagen, KDE 4.2 sieht ganz nett aus und Amarok 2 hat gegenüber den offiziellen Repo einiges an Bugs ausgemerzt.</p>
<p>Allerdings habe ich es auch geschafft, dass ich mir den Bottom Panel weggelöscht habe und es hat ein bisschen gedauert, bis ich den wieder hinbekommen habe. Google &#038; Geduld bewirken Wunder. So kann man den auf jeden Fall wieder hinzufügen:<br />
<span id="more-33"></span></p>
<div id="wpshdo_178" class="wp-synhighlighter-outer"><div id="wpshdt_178" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_178"></a><a id="wpshat_178" class="wp-synhighlighter-title" href="#codesyntax_178"  onClick="javascript:wpsh_toggleBlock(178)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_178" onClick="javascript:wpsh_code(178)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_178" onClick="javascript:wpsh_print(178)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_178" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">killall</span> plasma
<span class="kw2">rm</span> ~<span class="sy0">/</span>.kde<span class="sy0">/</span>share<span class="sy0">/</span>config<span class="sy0">/</span>plasma<span class="sy0">*</span>
plasma <span class="sy0">&amp;</span></pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/bottom-panel-in-kde4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ändern des Standard-/home Verzeichnisses</title>
		<link>http://www.simplylinux.ch/aendern-des-standard-home-verzeichnisses</link>
		<comments>http://www.simplylinux.ch/aendern-des-standard-home-verzeichnisses#comments</comments>
		<pubDate>Sat, 06 Dec 2008 19:25:28 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[change home folder]]></category>
		<category><![CDATA[home]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/?p=31</guid>
		<description><![CDATA[Ich habe mich in letzter Zeit ein bisschen mit Raid1 / LVM / Verschlüsselung befasst. Ich habe entsprechend auch ein Howto auf howtoforge.com diesbezüglich veröffentlicht. Nun habe ich für unsere kleine Kanzlei einen neuen Server zusammengebastelt. Besten Dank noch an Chris beim Zusammenbauen &#8211; bei dir geht das viel schneller als bei mir *g*. Ziel [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe mich in letzter Zeit ein bisschen mit Raid1 / LVM / Verschlüsselung befasst. Ich habe entsprechend auch ein Howto auf <a href="http://www.howtoforge.com/set-up-a-fully-encrypted-raid1-lvm-system">howtoforge.com</a> diesbezüglich veröffentlicht.</p>
<p>Nun habe ich für unsere kleine Kanzlei einen neuen Server zusammengebastelt. Besten Dank noch an Chris beim Zusammenbauen &#8211; bei dir geht das viel schneller als bei mir *g*. Ziel auf des Servers ist folgendes Schema:<br />
<span id="more-31"></span><br />
- Alles wird mit einem Raid1 gespiegelt<br />
- Die /boot Partition ist Ext3 und unverschlüsselt (1 GB)<br />
- Swap ist verschlüsselt (2GB)<br />
- Die root &#8220;/&#8221; Partition ist auch Ext3 und verschlüsselt (15GB)<br />
- Der Rest der 1 TB Platte ist auch verschlüsselt und dann innerhalb von LUKS/dm-crypt ein LVM. Gemounted will ich das ganze als /daten haben und benutze XFS als Dateisystem</p>
<p>Die Gründe dafür sind:</p>
<p>- Sollte eine der beiden Platten den Geist aufgeben, läuft das System trotzdem noch weiter<br />
- Mit Raid1 kann einfach eine neue Platte eingehängt werden und die dann als Spiegel verwendet werden<br />
- 1 GB für /boot ist mehr als genug<br />
- 2 GB reicht für Swap (die Kiste hat auch 2 GB Ram) und in der Kanzlei sind meist 5 oder weniger Leute die darauf gleichzeitig zugreifen und zudem dient die Kiste eigentlich nur als Mail- und Hordeserver<br />
- 15 GB für root &#8220;/&#8221; ist grosszügig bemessen. Da allenfalls auch ab und wann mal eine DVD gebrannt werden könnte, sollte doch ein bisschen Platz übrig sein.<br />
- Die ganzen &#8220;Benutzerdaten&#8221; sollten alle am selben Ort sein. Das macht Backups einfacher finde ich. Also will ich das /home als /daten/home haben, dasselbe gilt für /var/www &#8211;&gt; /daten/www und auch die MySQL DB soll dort gespeichert werden. So dass im root Verzeichnis wirklich nur die &#8220;wichtigen&#8221; Systemdinge sind.</p>
<p>Das ändern des Homeverzeichnisses geht ganz einfach.</p>
<p>Zuerst die Datei /etc/default/useradd editieren:</p>
<div id="wpshdo_179" class="wp-synhighlighter-outer"><div id="wpshdt_179" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_179"></a><a id="wpshat_179" class="wp-synhighlighter-title" href="#codesyntax_179"  onClick="javascript:wpsh_toggleBlock(179)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_179" onClick="javascript:wpsh_code(179)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_179" onClick="javascript:wpsh_print(179)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_179" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>default<span class="sy0">/</span>useradd</pre></div></div>
<p>Dort die &#8220;HOME&#8221; Variable finden und diese ändern zu:</p>
<div id="wpshdo_180" class="wp-synhighlighter-outer"><div id="wpshdt_180" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_180"></a><a id="wpshat_180" class="wp-synhighlighter-title" href="#codesyntax_180"  onClick="javascript:wpsh_toggleBlock(180)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_180" onClick="javascript:wpsh_code(180)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_180" onClick="javascript:wpsh_print(180)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_180" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re2">HOME</span>=<span class="sy0">/</span>daten<span class="sy0">/</span>home</pre></div></div>
<p>Allenfalls kann dort auch die default shell geändert werden. Da ich für die weiteren Mail Benutzer keine virtuellen Konten anlege, muss ich Systemkonten anlegen. Die sollen aber keinen Shellzugriff kriegen. Deswegen die Shellvariable noch zu dem hier ändern:</p>
<div id="wpshdo_181" class="wp-synhighlighter-outer"><div id="wpshdt_181" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_181"></a><a id="wpshat_181" class="wp-synhighlighter-title" href="#codesyntax_181"  onClick="javascript:wpsh_toggleBlock(181)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_181" onClick="javascript:wpsh_code(181)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_181" onClick="javascript:wpsh_print(181)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_181" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="re2">SHELL</span>=<span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">false</span></pre></div></div>
<p>Nano kann dann mit ctrl-x, &#8216;y&#8217;, enter verlassen werden.</p>
<p>Jetzt haben wir zwar das Homeverzeichnis geändert, aber wir müssen auch die bestehenden Benutzer übertragen:</p>
<div id="wpshdo_182" class="wp-synhighlighter-outer"><div id="wpshdt_182" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_182"></a><a id="wpshat_182" class="wp-synhighlighter-title" href="#codesyntax_182"  onClick="javascript:wpsh_toggleBlock(182)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_182" onClick="javascript:wpsh_code(182)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_182" onClick="javascript:wpsh_print(182)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_182" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">mv</span> <span class="sy0">/</span>home <span class="sy0">/</span>daten<span class="sy0">/</span></pre></div></div>
<p>Und dann, nur zur Sicherheit, noch einen Symlink erstellen:</p>
<div id="wpshdo_183" class="wp-synhighlighter-outer"><div id="wpshdt_183" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_183"></a><a id="wpshat_183" class="wp-synhighlighter-title" href="#codesyntax_183"  onClick="javascript:wpsh_toggleBlock(183)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_183" onClick="javascript:wpsh_code(183)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_183" onClick="javascript:wpsh_print(183)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_183" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">ln</span> <span class="re5">-s</span> <span class="sy0">/</span>daten<span class="sy0">/</span>home <span class="sy0">/</span>home</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/aendern-des-standard-home-verzeichnisses/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Einfaches Backup &amp; Restore der installierten Packete (Ubuntu/Debian)</title>
		<link>http://www.simplylinux.ch/einfaches-backup-restore-der-installierten-packete-ubuntudebian</link>
		<comments>http://www.simplylinux.ch/einfaches-backup-restore-der-installierten-packete-ubuntudebian#comments</comments>
		<pubDate>Sun, 14 Sep 2008 07:05:47 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[CLI]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[packages list]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/einfaches-backup-restore-der-installierten-packete-ubuntudebian</guid>
		<description><![CDATA[Bisher habe ich immer ein Backup Script verwendet um meine &#8220;Lieblingspackete&#8221; wieder zu installieren. Dieses Script sieht etwa so aus: Das konnte ich dann einfach mit &#8220;sudo install.sh&#8221; starten resp. auf Debian ist kein &#8220;sudo&#8221; notwendig. Der -y switch hat dafür gesorgt, dass automatisch installiert wird und nicht zuerst noch alles bestätigt werden musste. Zusätzlich [...]]]></description>
			<content:encoded><![CDATA[<p>Bisher habe ich immer ein Backup Script verwendet um meine &#8220;Lieblingspackete&#8221; wieder zu installieren. Dieses Script sieht etwa so aus:<br />
<span id="more-15"></span><br />
<div id="wpshdo_184" class="wp-synhighlighter-outer"><div id="wpshdt_184" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_184"></a><a id="wpshat_184" class="wp-synhighlighter-title" href="#codesyntax_184"  onClick="javascript:wpsh_toggleBlock(184)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_184" onClick="javascript:wpsh_code(184)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_184" onClick="javascript:wpsh_print(184)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_184" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="co0">#!/bin/bash</span>
<span class="co0">################ RESTORE SOURCES.LIST ###############</span>
<span class="co0">#cp -f backup_files/sources.list /etc/apt/sources.list</span>
<span class="co0">#cp -f backup_files/secring.gpg /etc/apt/secring.gpg</span>
<span class="co0">#cp -f backup_files/trustdb.gpg /etc/apt/trustdb.gpg</span>
<span class="co0">#cp -f backup_files/trusted.gpg /etc/apt/trusted.gpg</span>
<span class="co0">#####################################################</span>
<span class="co0"># Add Medibuntu</span>
<span class="co0"># wget -q http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg -O- | sudo apt-key add -</span>
<span class="co0"># wget http://medibuntu.sos-sts.com/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> remove mozilla-thunderbird
<span class="kw2">apt-get</span> update
<span class="kw2">apt-get</span> <span class="re5">-y</span> upgrade
<span class="co0"># Skype</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> skype
<span class="co0"># Java</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> sun-java6-jre sun-java5-jre
<span class="co0"># Postfix</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> postfix
<span class="co0">#KDE Appz</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> kopete konversation konqueror k3b amarok krfb ktorrent
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> kftpgrabber kate kontact kdepim-kio-plugins kgpg
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> akregator <span class="kw2">gdb</span>
<span class="co0"># Burn Programs</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> gnomebaker
<span class="co0"># GnuPGP Key Management</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> seahorse file-roller
<span class="co0"># aMSN</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> amsn
<span class="co0"># IRSSI / OpenSSH</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> irssi openssh-server
<span class="co0"># GnuMP3d</span>
<span class="co0"># apt-get -y install gnump3d</span>
<span class="co0"># OTR</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> python-glade-<span class="nu0">1.2</span> python-gtk-<span class="nu0">1.2</span>
<span class="co0"># VmWare</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> linux-headers-<span class="sy0">`</span><span class="kw2">uname</span> -r<span class="sy0">`</span> build-essential xinetd
<span class="co0"># Browsers</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> kazehakase opera flashplugin-nonfree
<span class="co0"># Codecs</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> libdvdcss2 gstreamer0.10-ffmpeg gstreamer0.10-pitfdll gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gxine libxine-main1 libxine-extracodecs ogle ogle-gui w32codecs <span class="kw2">mplayer</span>
<span class="co0"># VLC</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> vlc
<span class="co0"># Samba</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> samba
<span class="co0"># Midnight Commander</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> mc
<span class="co0"># UNRAR</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> unrar
<span class="co0"># GParted</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> gparted
<span class="co0"># CheckRootKit</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> chkrootkit
<span class="co0"># OpenOffice</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> openoffice.org openoffice.org-gtk
<span class="co0"># ImageMagic</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> imagemagick
<span class="co0"># Numlock &amp; fonts</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> numlockx msttcorefonts
<span class="co0"># Timeserver</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> ntp ntpdate
<span class="co0"># various</span>
<span class="kw2">apt-get</span> <span class="re5">-y</span> <span class="kw2">install</span> whois phpmyadmin mysql-server mysql-client libmysqlclient15-dev adesklets d4x googleearth htop traceroute libjack0.100.0-dev
<span class="co0"># Restore other files</span>
<span class="kw2">cp</span> <span class="re5">-f</span> backup_files<span class="sy0">/</span>sysinfo <span class="sy0">/</span>usr<span class="sy0">/</span>share<span class="sy0">/</span>apps<span class="sy0">/</span>konversation<span class="sy0">/</span>scripts<span class="sy0">/</span>sysinfo
<span class="kw2">cp</span> <span class="re5">-f</span> backup_files<span class="sy0">/</span>screenshot <span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span>screenshot</pre></div></div></p>
<p>Das konnte ich dann einfach mit &#8220;sudo install.sh&#8221; starten resp. auf Debian ist kein &#8220;sudo&#8221; notwendig. Der -y switch hat dafür gesorgt, dass automatisch installiert wird und nicht zuerst noch alles bestätigt werden musste.</p>
<p>Zusätzlich habe ich mir dazu noch ein paar Kategorien gemacht, so dass die Manipulation der Packete einfacher ist. Auch die Reihenfolge spielt eine Rolle, so verlange Skype, Java und Postfix noch ein paar Benutzereingaben, also habe ich das ziemlich am Anfang hingestellt.</p>
<p>Damit erreiche ich eine fast automatische Installation aller von mir gewollten Packete.</p>
<p><strong>Problem</strong>:</p>
<p>Das Problem liegt allerdings darin, dass ich entsprechend auch immer die Liste aktuell halten muss. D.h. wenn ich was neues installiere, dann muss ich das entsprechend auch wieder hinzufügen und &#8211; ich gebs ja zu &#8211; ich bin zwischendurch einfach zu faul dafür. Vorallem dann, wenn ich nur was ziehe um es mal zu testen, aber später dann doch länger beibehalte.</p>
<p><strong>Lösung:</strong></p>
<p>Mit folgendem kleinen Regex kann man sich bequem eine Liste aller installierten Pakete holen und in eine Textdatei speichern:</p>
<div id="wpshdo_185" class="wp-synhighlighter-outer"><div id="wpshdt_185" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_185"></a><a id="wpshat_185" class="wp-synhighlighter-title" href="#codesyntax_185"  onClick="javascript:wpsh_toggleBlock(185)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_185" onClick="javascript:wpsh_code(185)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_185" onClick="javascript:wpsh_print(185)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_185" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">dpkg</span> <span class="re5">-l</span> <span class="sy0">|</span> <span class="kw2">awk</span> <span class="st_h">'/^ii/ { print $2 }'</span> <span class="sy0">&gt;</span> packages.txt</pre></div></div>
<p>Damit werden als alle installierten Packe in der packages.txt aufgelistet und es sieht dann so aus:</p>
<div id="wpshdo_186" class="wp-synhighlighter-outer"><div id="wpshdt_186" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_186"></a><a id="wpshat_186" class="wp-synhighlighter-title" href="#codesyntax_186"  onClick="javascript:wpsh_toggleBlock(186)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_186" onClick="javascript:wpsh_code(186)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_186" onClick="javascript:wpsh_print(186)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_186" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;">acl
acpi
acpi-support
acpid
adduser
adept
adept-batch
adept-common
adept-installer
adept-manager
adept-notifier
adept-updater
aircrack-ng
akonadi-kde-kde4
akonadi-server
akregator
akregator-kde4
alsa-base
alsa-utils
amarok
amarok-kde4
amarok-xine
amsn
anacron
anon-proxy
apmd
app-install-data
apparmor
apparmor-utils
apport
apport-qt
apt
<span class="br0">&#91;</span>...<span class="br0">&#93;</span></pre></div></div>
<p>Vor einer Neuinstallation kann man also kurz mal die ganze Liste ziehen und es sich so anzeigen lassen, dann kann man sein Backupscript eventuell noch mit fehlenden Programmen ergänzen.</p>
<p>Wer allerdings sämtliche Pakete wieder installiet haben muss, der kann auch diesen Befehl hier verwenden:<br />
<div id="wpshdo_187" class="wp-synhighlighter-outer"><div id="wpshdt_187" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_187"></a><a id="wpshat_187" class="wp-synhighlighter-title" href="#codesyntax_187"  onClick="javascript:wpsh_toggleBlock(187)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_187" onClick="javascript:wpsh_code(187)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_187" onClick="javascript:wpsh_print(187)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_187" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">dpkg</span> <span class="re5">-l</span> <span class="sy0">|</span> <span class="kw2">awk</span> <span class="st_h">'/^ii/ { print $2 }'</span> <span class="sy0">|</span> <span class="kw2">tr</span> <span class="st_h">'\n'</span> <span class="st_h">' '</span> <span class="sy0">&gt;</span> packages.txt</pre></div></div></p>
<p>Damit wird der Zeilenumbruch nach jedem Packet aufgehoben. Jetzt nun auch noch die packages.txt sichern (vor der Neuinstallation). Nachher können dann entsprechend alle Packete wieder installiert werden mit folgendem Befehl:<br />
<div id="wpshdo_188" class="wp-synhighlighter-outer"><div id="wpshdt_188" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_188"></a><a id="wpshat_188" class="wp-synhighlighter-title" href="#codesyntax_188"  onClick="javascript:wpsh_toggleBlock(188)" title="Click to show/hide code block">Code block</a></td><td align="right"><a href="#codesyntax_188" onClick="javascript:wpsh_code(188)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_188" onClick="javascript:wpsh_print(188)" title="Print code"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.simplylinux.ch/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_188" class="wp-synhighlighter-inner" style="display: block;"><pre class="bash" style="font-family:monospace;"><span class="kw2">sudo</span> <span class="kw2">apt-get</span> <span class="kw2">install</span> <span class="sy0">`</span><span class="kw2">cat</span> packages.txt<span class="sy0">`</span></pre></div></div></p>
<p>Allerding müssen zuerst die entsprechenden Repos wieder hergestellt und upgedatet werden. Sonst gibts Fehlermeldungen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/einfaches-backup-restore-der-installierten-packete-ubuntudebian/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GnuPG Key Managment</title>
		<link>http://www.simplylinux.ch/gnupg-key-managment</link>
		<comments>http://www.simplylinux.ch/gnupg-key-managment#comments</comments>
		<pubDate>Thu, 15 Feb 2007 08:43:52 +0000</pubDate>
		<dc:creator>hyper_ch</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[hyper_ch]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xfce]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[gpg keys]]></category>
		<category><![CDATA[key management]]></category>

		<guid isPermaLink="false">http://www.simplylinux.ch/gnupg-key-managment</guid>
		<description><![CDATA[So, heute wollte ich auch endlich mal meine GnuPG Keys auf dem Rechner an meiner Arbeitsstelle an der Uni haben. Damit ich auch hier schon signierte Emails verschicken kann. Nur bis anhin wusste ich nicht recht, wie ich denn die Keys exportieren kann. Ich benutze zwar Xfce (Xubuntu) aber da ich Kontact benutze ich auch KGPG da sich dieses Tool besser integriert. Das Problem allerdings war, ich wusste bisher nicht, wie ich denn in KPgp entsprechend ein Backup machen konnte, also auch die Secret Keys exportieren. Ich sehe da immer noch keine Möglichkeit. Nun gut, was macht man in dieser Situation: [...]]]></description>
			<content:encoded><![CDATA[<p>So, heute wollte ich auch endlich mal meine GnuPG Keys auf dem Rechner an meiner Arbeitsstelle an der Uni haben. Damit ich auch hier schon signierte Emails verschicken kann. Nur bis anhin wusste ich nicht recht, wie ich denn die Keys exportieren kann.</p>
<p>Ich benutze zwar Xfce (Xubuntu) aber da ich Kontact benutze ich auch KGPG da sich dieses Tool besser integriert.</p>
<p>Das Problem allerdings war, ich wusste bisher nicht, wie ich denn in KPgp entsprechend ein Backup machen konnte, also auch die Secret Keys exportieren. Ich sehe da immer noch keine Möglichkeit.<br />
<span id="more-8"></span><br />
Nun gut, was macht man in dieser Situation: Ich geh in #ubuntu-de auf irc.freenode.org und frage mal nach&#8230; da war zum Glück heute DeskDevil da, der auch gerade sein Email Client mit GnuPG ausgerüstet hat. Ich habe ihn gefragt, wie ich denn die Schlüssel exportieren kann und er meinte nur, er benutze Seahorse&#8230;</p>
<p>Gut, ich habe dann mal kurz <em>apt-cache search seahorse</em> gemacht und da kamen tatsächlich Resultate zurück. Also dann ein <em>sudo apt-get install seahorse</em> ausgeführt und et voilà neu in <em>Applications &#8211;&gt; Accessories</em> ist ein neuer Eintrage zu finden: <em>Password and Encryption Keys.</em></p>
<p>Ich führe das Programm aus und das ist tatsächlich Seahorse. Allerdings als ich dann ein Backup machen wollte (Backup exportiert public and secret keys) , kam eine Fehlermeldung, dass es <em>file-roller</em> nicht finden kann.</p>
<p>Also aufs neue <em>apt-cache search file-roller</em> und auch das war in den Repositories. Somit dann noch ein sudo <em>apt-get install file-roller</em> ausgeführt und dann klappte der Export problemlos. Seahorse hat zwei Files angefertigt und die in eine RAR gepackt.</p>
<p>Hier an der Uni habe ich mich dann kurzerhand mit WinSCP eingeloggt, mir die RAR gezogen, entpackt und dann mit GnuPG/Enigmail/Thunderbird für Windows entsprechend importiert.</p>
<p>Danach noch kurzerhand entsprechend auto-signing für alle Accs aktiveren und nun läufts super.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simplylinux.ch/gnupg-key-managment/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

