<?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>www.goettlich.ws</title>
	<atom:link href="http://www.locutus.ws/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.locutus.ws</link>
	<description>Mein Weg durch Raum und Zeit...</description>
	<lastBuildDate>Tue, 11 Oct 2011 15:47:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Wie hören sich bestimmte Geräusche an&#8230;</title>
		<link>http://www.locutus.ws/?p=114</link>
		<comments>http://www.locutus.ws/?p=114#comments</comments>
		<pubDate>Sat, 01 Oct 2011 19:48:24 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Fundsachen]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=114</guid>
		<description><![CDATA[Ein Trockner macht im laufenden Betrieb meist irgendwelche Geräusche.Für alle, die sich nicht vorstellen können, wie sich die einzelnen Geräusche anhören, liegt zum Glück eine passende Anleitung bei:]]></description>
			<content:encoded><![CDATA[<p>Ein Trockner macht im laufenden Betrieb meist irgendwelche Geräusche.Für alle, die sich nicht vorstellen können, wie sich die einzelnen Geräusche anhören, liegt zum Glück eine passende Anleitung bei:<a href="http://www.locutus.ws/?attachment_id=115" rel="attachment wp-att-115"><img class="alignleft size-medium wp-image-115" title="Tockner" src="http://www.locutus.ws/wp-content/uploads/Tockner-209x300.jpg" alt="Der Trockner und seine normale Geräuschbildung im Betrieb" width="125" height="180" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=114</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook ade&#8230;</title>
		<link>http://www.locutus.ws/?p=103</link>
		<comments>http://www.locutus.ws/?p=103#comments</comments>
		<pubDate>Mon, 05 Sep 2011 18:35:11 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=103</guid>
		<description><![CDATA[Dem Titel ist nichts mehr hinzuzufügen und selbst erklärend. Ich verabschiede mich von Facebook aufgrund einiger Zeilen in den AGB&#8217;s und der daraus resultierenden fragwürdigen Behandlung meiner Privatsphäre. Wie löscht man das Facebook-Konto? Mit diesem Link: https://www.facebook.com/help/contact.php?show_form=delete_account]]></description>
			<content:encoded><![CDATA[<p>Dem Titel ist nichts mehr hinzuzufügen und selbst erklärend.</p>
<p>Ich verabschiede mich von Facebook aufgrund einiger Zeilen in den AGB&#8217;s und der daraus resultierenden fragwürdigen Behandlung meiner Privatsphäre.</p>
<p>Wie löscht man das Facebook-Konto? Mit diesem Link:</p>
<p><a title="Facebook-Konto löschen..." href="https://www.facebook.com/help/contact.php?show_form=delete_account" target="_blank">https://www.facebook.com/help/contact.php?show_form=delete_account</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=103</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neulich bei Ikea&#8230; (UPDATE)</title>
		<link>http://www.locutus.ws/?p=60</link>
		<comments>http://www.locutus.ws/?p=60#comments</comments>
		<pubDate>Sun, 04 Sep 2011 23:42:03 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Fundsachen]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=60</guid>
		<description><![CDATA[Als wir vor ein paar Tagen einer großen schwedischen Möbelhauskette einen Besuch abstatteten, durchstöberten wir am Eingang die dort üblicherweise ausgehangenen Angebote des Tages. Prompt stolperten wir über einen Aushang, der uns interessant erschien. Also ab in die Abteilung der &#8230;<p class="read-more"><a href="http://www.locutus.ws/?p=60">Weiterlesen &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.locutus.ws/?attachment_id=77" rel="attachment wp-att-77"><img class="size-full wp-image-77 alignright" title="pic10765" src="http://www.locutus.ws/wp-content/uploads/pic10765.jpg" alt="Der Kloppe Meinungsverstärker" width="216" height="100" /></a>Als wir vor ein paar Tagen einer großen schwedischen Möbelhauskette einen Besuch abstatteten, durchstöberten wir am Eingang die dort üblicherweise ausgehangenen Angebote des Tages. Prompt stolperten wir über einen Aushang, der uns interessant erschien.</p>
<p>Also ab in die Abteilung der möglichen und unmöglichen Dinge. Nach kurzer Suche fanden wir ihn&#8230;den Kloppe Meinungsverstärker!</p>
<p>Es gab zwei Gründe Kloppe mitzunehmen:</p>
<ul>
<li>Einen Meinungsverstärker kann man immer Gebrauchen und</li>
<li>Jemanden davon zu überzeugen, dass IKEA auch sinnvolle Sachen verkauft.</li>
</ul>
<p>Wir ergatterten die letzten beiden Modelle. Entweder war der Bestand schon von vornherein nicht groß oder Kloppe ist der neue Verkaufsschläger&#8230;.ähhh&#8230; Verkaufsschlager. Mich wunderte es nur, dass IKEA nicht schon im Vorfeld groß Werbung damit macht&#8230;.gibt es da doch einen Hacken? &#8230;.erlauben die sich einen Scherz? &#8230;oder sind Sie gar doch nicht von Ihren Produkten so überzeugt?</p>
<p>Mit dem Gefühl einen guten Kauf gemacht zu haben, fahren wir mit Kloppe nach Hause.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong><a href="http://www.locutus.ws/?attachment_id=85" rel="attachment wp-att-85"><img class="alignleft size-medium wp-image-85" title="dsc_0001" src="http://www.locutus.ws/wp-content/uploads/dsc_0001-116x300.jpg" alt="Gut verpackt..." width="116" height="300" /></a>Der erste Eindruck:</strong></p>
<p>Kloppe wird, wie es zu erwarten war, in einem braunen Karton verkauft und scheint gut ab gepolstert verpackt zu sein.</p>
<p>Er besteht nicht, wie andere IKEA Möbel, aus gepresstem Holz, sondern aus massiver Buche. Die Verarbeitung scheint auch erster Klasse zu sein. Eine glatte gut geschliffene Oberfläche, die Kanten sind zwar nicht abgerundet aber das stört hier nicht. Kloppe liegt gut in der Hand und ist ausgezeichnet ausbalanciert und lässt sich gut mit einer Hand benutzen.</p>
<p>Die Anleitung ist diesmal nicht IKEA-Typisch. Sie ist detailliert und die Handhabung gut beschrieben.</p>
<p><a href="http://www.locutus.ws/?attachment_id=84" rel="attachment wp-att-84"><img class="aligncenter size-medium wp-image-84" title="pic03114" src="http://www.locutus.ws/wp-content/uploads/pic03114-300x212.jpg" alt="Die Kloppe Bedienungsanleitung" width="300" height="212" /></a></p>
<p>Ich bin sehr gespannt, wie sich Kloppe im Alltag einfügt.</p>
<p>Sobald sich die Gelegenheit bietet, wird er eingesetzt. Anschließend werde ich hier über den Alltags-Einsatz berichten.</p>
<p><strong>UPDATE:</strong></p>
<p>Die Übergabe von Kloppe an seine neuen  Besitzer ist vollzogen. Die ersten Handling-Test scheien positiv ausgefallen zu sein.</p>
<p>Aber das Beste: Der Ikea-Muffel scheint überzeugt.</p>
<p>Schaut euch am besten die Bilder dazu an: <a title="Photos" href="http://www.locutus.ws/?page_id=56">zum Photobuch</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=60</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plymouth &amp; die proprietären Treiber&#8230;</title>
		<link>http://www.locutus.ws/?p=28</link>
		<comments>http://www.locutus.ws/?p=28#comments</comments>
		<pubDate>Sat, 23 Oct 2010 22:00:20 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Konsolen Befehle]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=28</guid>
		<description><![CDATA[UPDATE: Mittlerweile gibt es auch eine einfachere Anleitung mit Script: http://www.webupd8.org/2010/10/script-to-fix-ubuntu-plymouth-for.html UPDATE ENDE Seit Lucid Lynx wird der Bootvorgang mittels Plymouth grafisch untermalt. Bei Verwendung der freien Treiber (radeon und noveau) funktioniert das ja out-of-the-box. Da ich aber gerne im &#8230;<p class="read-more"><a href="http://www.locutus.ws/?p=28">Weiterlesen &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE</strong>:</p>
<p>Mittlerweile gibt es auch eine einfachere Anleitung mit Script:</p>
<p><a href="http://www.webupd8.org/2010/10/script-to-fix-ubuntu-plymouth-for.html" target="_blank">http://www.webupd8.org/2010/10/script-to-fix-ubuntu-plymouth-for.html</a></p>
<p><strong>UPDATE ENDE</strong></p>
<p>Seit Lucid Lynx wird der Bootvorgang mittels Plymouth grafisch untermalt. Bei Verwendung der freien Treiber (radeon und noveau) funktioniert das ja out-of-the-box. Da ich aber gerne im KDE 3D benutzen möchte, muß ich die proprietären Treiber installieren. Leider steigt hier Plymouth aufgrund des KSM aus. Aber Linux wäre nicht Linux, wenn man das nicht hinbekommt:</p>
<p>Als erstes sollte man in Erfahrung bringen, welche nativen Auflösungen unterstützt werden.</p>
<p>dazu ruft man das Grub-Bootmenü auf, in dem man beim starten die &#8220;Shift&#8221;-Taste im richtigen Moment drückt&#8230;</p>
<p>Jetzt sollte das Boot-Menü erscheinden, mit dem Hinweis, daß man &#8220;c&#8221; drücken kann, um zur Befehlseingabe zu kommen.</p>
<p>hier nun</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">grub<span style="color: #000000; font-weight: bold;">&amp;</span>gt; vbeinfo</pre></div></div>

<p>eingeben und schon werden die verfügbaren Modi aufgelistet.</p>
<p>Hier das Vorgehen für den NVIDIA-Treiber:</p>
<p>Als erstes die Datei /etc/default/grub anpassen</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>grub</pre></div></div>

<p>indem Ihr die &#8220;#&#8221; vor der Zeile</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>...<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #666666; font-style: italic;"># GRUB_GFXMODE=640x480</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>...<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>entfernt und wiefolgt abändert/ergänzt:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>...<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">GRUB_GFXMODE</span>=1280x1024x24
<span style="color: #007800;">GRUB_GFXPAYLOAD_LINUX</span>=keep
<span style="color: #7a0874; font-weight: bold;">&#91;</span>...<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Die Auflösung muß natürlich den Möglichkeiten der Grafikkarte &amp; Monitor angepaßt werden.</p>
<p>Jetzt muß Grub neu initiallisiert werden:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> update-grub</pre></div></div>

<p>nun sollte beim nächsten Booten die Auflösung stimmen.</p>
<p>Um das ganze nun noch abzurunden, sagen wir Plymouth, daß es wärend des ganzen Bootvorganges angezeigt werden soll</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;FRAMEBUFFER=yes&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">tee</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>initramfs-tools<span style="color: #000000; font-weight: bold;">/</span>conf.d<span style="color: #000000; font-weight: bold;">/</span>splash
update-initramfs <span style="color: #660033;">-u</span> <span style="color: #660033;">-k</span> all</pre></div></div>

<p>Das ganze bewirkt, daß Plymouth direkt nach Grub geladen wird. Standard ist, das es nur kurz vor der Anmeldung mal kurz aufflackert.</p>
<p>Ok&#8230;ich muß noch erwähnen, daß sich dadurch die Bootzeit etwas verlängert&#8230;.aber es sieht schicker aus *gg*.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=28</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype und das Indicator-Applet</title>
		<link>http://www.locutus.ws/?p=34</link>
		<comments>http://www.locutus.ws/?p=34#comments</comments>
		<pubDate>Tue, 19 Oct 2010 20:07:29 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Konsolen Befehle]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=34</guid>
		<description><![CDATA[Um Skype ins Indicator-Applet einzubinden einfach folgender Anleitung folgen: http://ubuntuforums.org/showpost.php?p=7530321&#38;postcount=12]]></description>
			<content:encoded><![CDATA[<p>Um Skype ins Indicator-Applet einzubinden einfach folgender Anleitung folgen:</p>
<p><a href="http://ubuntuforums.org/showpost.php?p=7530321&amp;postcount=12" target="_blank">http://ubuntuforums.org/showpost.php?p=7530321&amp;postcount=12</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=34</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alte Kernel-Header löschen&#8230;</title>
		<link>http://www.locutus.ws/?p=31</link>
		<comments>http://www.locutus.ws/?p=31#comments</comments>
		<pubDate>Tue, 19 Oct 2010 20:06:04 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Konsolen Befehle]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=31</guid>
		<description><![CDATA[Nach jedem Kernel Update, wird ein neuer im Grub hinzugefügt. Wenn man auf den Boot-Manager angewiesen ist (z.B. dualboot mit Linux/Windows), wird die Liste irgendwann recht lang und unübersichtlich. Alte Kernel können sowohl über die Paketverwaltung als auch über das &#8230;<p class="read-more"><a href="http://www.locutus.ws/?p=31">Weiterlesen &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Nach jedem Kernel Update, wird ein neuer im Grub hinzugefügt.</p>
<p>Wenn man auf den Boot-Manager angewiesen ist (z.B. dualboot mit Linux/Windows), wird die Liste irgendwann recht lang und unübersichtlich. Alte Kernel können sowohl über die Paketverwaltung als auch über das Terminal wieder gelöscht werden.</p>
<p>Hier die Terminal-Variante:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-l</span> <span style="color: #ff0000;">'linux-*'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'/^ii/!d;/'</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$(uname -r | sed &quot;s/\(.*\)</span>-\([^0-9]\+\)/\1/&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge</span></pre></div></div>

<p>Eine weitere Möglichkeit:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> autoremove</pre></div></div>

<p>Damit werden auch alle anderen nicht mehr benötigten Pakete gelöscht.<br />
ACHTUNG: Bitte nur anwenden, wenn der neue Kernel getestet wurde und stabil läuft. Sonst nimmt man sich das Hintertürchen!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=31</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Neuer Fernseher, neue Probleme&#8230;</title>
		<link>http://www.locutus.ws/?p=24</link>
		<comments>http://www.locutus.ws/?p=24#comments</comments>
		<pubDate>Tue, 19 Oct 2010 19:48:32 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server Konfiguration]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=24</guid>
		<description><![CDATA[&#8230;.aber gut, daß sich alles lösen läßt. Der neue Fernseher unterstützt DLNA. Was liegt daher näher einen UPNP-Server aufzustellen. Meine Wahl fiel daher auf MediaTomb. Erste Versuche scheiterten, weil er angeblich das Mediaformat nicht unterstützt. also mal die entsprechende Konfigurationsdatei &#8230;<p class="read-more"><a href="http://www.locutus.ws/?p=24">Weiterlesen &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>&#8230;.aber gut, daß sich alles lösen läßt.</p>
<p>Der neue Fernseher unterstützt DLNA. Was liegt daher näher einen UPNP-Server aufzustellen. Meine Wahl fiel daher auf MediaTomb.</p>
<p>Erste Versuche scheiterten, weil er angeblich das Mediaformat nicht unterstützt.</p>
<p>also mal die entsprechende Konfigurationsdatei geöffnet:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mediatomb<span style="color: #000000; font-weight: bold;">/</span>config.xml</pre></div></div>

<p>Dort den folgenden Abschnitt gesucht</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;!</span>--
<span style="color: #000000; font-weight: bold;">&lt;/</span>custom-http-headers<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>manufacturerURL<span style="color: #000000; font-weight: bold;">&gt;</span>redsonic.com<span style="color: #000000; font-weight: bold;">&lt;/</span>manufacuterURL<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>modelNumber<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">105</span><span style="color: #000000; font-weight: bold;">&lt;/</span>modelNumber<span style="color: #000000; font-weight: bold;">&gt;</span>
--<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>und wiefolgt geändert:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;!</span>--
<span style="color: #000000; font-weight: bold;">&lt;</span>manufacturerURL<span style="color: #000000; font-weight: bold;">&gt;</span>redsonic.com<span style="color: #000000; font-weight: bold;">&lt;/</span>manufacturerURL<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;</span>modelNumber<span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000;">105</span><span style="color: #000000; font-weight: bold;">&lt;/</span>modelNumber<span style="color: #000000; font-weight: bold;">&gt;</span>
--<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>zum Schluß noch</p>
<p>änder in</p>
<p>und scho geht&#8217;s</p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=24</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>automysqlbackup&#8230;</title>
		<link>http://www.locutus.ws/?p=17</link>
		<comments>http://www.locutus.ws/?p=17#comments</comments>
		<pubDate>Tue, 19 Oct 2010 19:42:28 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server Konfiguration]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=17</guid>
		<description><![CDATA[Für Sicherung der MySQL-Datenbank habe ich mir automysqlbackup eingerichtet. Leider kam immer folgender Error-Report: mysqldump: Got error: 1044: Access denied for user 'debian-sys-maint'@'localhost' to database 'information_schema' when using LOCK TABLES Sprich, mysqldump hat keinen LOCK-Zugriff auf eine Datenbank. Hier die &#8230;<p class="read-more"><a href="http://www.locutus.ws/?p=17">Weiterlesen &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Für Sicherung der MySQL-Datenbank habe ich mir automysqlbackup eingerichtet.</p>
<p>Leider kam immer folgender Error-Report:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqldump: Got error: <span style="color: #000000;">1044</span>: Access denied <span style="color: #000000; font-weight: bold;">for</span> user <span style="color: #ff0000;">'debian-sys-maint'</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #ff0000;">'localhost'</span> to database
<span style="color: #ff0000;">'information_schema'</span> when using LOCK TABLES</pre></div></div>

<p>Sprich, mysqldump hat keinen LOCK-Zugriff auf eine Datenbank.</p>
<p>Hier die Lösung:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">---</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>automysqlbackup
+++ <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>automysqlbackup
<span style="color: #000000; font-weight: bold;">@@</span> -<span style="color: #000000;">351</span>,<span style="color: #000000;">7</span> +<span style="color: #000000;">351</span>,<span style="color: #000000;">7</span> <span style="color: #000000; font-weight: bold;">@@</span>
 <span style="color: #007800;">LOGFILE</span>=<span style="color: #007800;">$BACKUPDIR</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$DBHOST</span>-<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>N<span style="color: #000000; font-weight: bold;">`</span>.log		<span style="color: #666666; font-style: italic;"># Logfile Name</span>
 <span style="color: #007800;">LOGERR</span>=<span style="color: #007800;">$BACKUPDIR</span><span style="color: #000000; font-weight: bold;">/</span>ERRORS_<span style="color: #007800;">$DBHOST</span>-<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">date</span> +<span style="color: #000000; font-weight: bold;">%</span>N<span style="color: #000000; font-weight: bold;">`</span>.log		<span style="color: #666666; font-style: italic;"># Logfile Name</span>
 <span style="color: #007800;">BACKUPFILES</span>=<span style="color: #ff0000;">&quot;&quot;</span>
<span style="color: #660033;">-OPT</span>=<span style="color: #ff0000;">&quot;--quote-names --opt&quot;</span>			<span style="color: #666666; font-style: italic;"># OPT string for use with mysqldump ( see man mysqldump )</span>
+<span style="color: #007800;">OPT</span>=<span style="color: #ff0000;">&quot;--quote-names&quot;</span>			<span style="color: #666666; font-style: italic;"># OPT string for use with mysqldump ( see man mysqldump )</span>
&nbsp;
 <span style="color: #666666; font-style: italic;"># Add --compress mysqldump option to $OPT</span>
 <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$COMMCOMP</span>&quot;</span> = <span style="color: #ff0000;">&quot;yes&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>;
<span style="color: #000000; font-weight: bold;">@@</span> -<span style="color: #000000;">412</span>,<span style="color: #000000;">10</span> +<span style="color: #000000;">412</span>,<span style="color: #000000;">16</span> <span style="color: #000000; font-weight: bold;">@@</span>
 dbdump <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
 	<span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #007800;">$2</span>
 	<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">600</span> <span style="color: #007800;">$2</span>
+	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$1</span> = <span style="color: #ff0000;">&quot;information_schema&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
+		<span style="color: #007800;">NEWOPT</span>=<span style="color: #ff0000;">&quot;--skip-opt <span style="color: #007800;">${OPT}</span>&quot;</span>
+	<span style="color: #000000; font-weight: bold;">else</span>
+		<span style="color: #007800;">NEWOPT</span>=<span style="color: #ff0000;">&quot;--opt <span style="color: #007800;">$OPT</span>&quot;</span>
+	<span style="color: #000000; font-weight: bold;">fi</span>
+
 	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${USERNAME}</span>&quot;</span> <span style="color: #660033;">-o</span> <span style="color: #660033;">-z</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${PASSWORD}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">then</span>
-		mysqldump <span style="color: #660033;">--defaults-file</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>debian.cnf <span style="color: #007800;">$OPT</span> <span style="color: #007800;">$1</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$2</span>
+		mysqldump <span style="color: #660033;">--defaults-file</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mysql<span style="color: #000000; font-weight: bold;">/</span>debian.cnf <span style="color: #007800;">$NEWOPT</span> <span style="color: #007800;">$1</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$2</span>
 	<span style="color: #000000; font-weight: bold;">else</span>
-		mysqldump <span style="color: #660033;">--user</span>=<span style="color: #007800;">$USERNAME</span> <span style="color: #660033;">--password</span>=<span style="color: #007800;">$PASSWORD</span> <span style="color: #660033;">--host</span>=<span style="color: #007800;">$DBHOST</span> <span style="color: #007800;">$OPT</span> <span style="color: #007800;">$1</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$2</span>
+		mysqldump <span style="color: #660033;">--user</span>=<span style="color: #007800;">$USERNAME</span> <span style="color: #660033;">--password</span>=<span style="color: #007800;">$PASSWORD</span> <span style="color: #660033;">--host</span>=<span style="color: #007800;">$DBHOST</span> <span style="color: #007800;">$NEWOPT</span> <span style="color: #007800;">$1</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #007800;">$2</span>
 	<span style="color: #000000; font-weight: bold;">fi</span>
 	<span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">0</span>
 <span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=17</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache2 Zugriff schützen mittels .htaccess&#8230;</title>
		<link>http://www.locutus.ws/?p=13</link>
		<comments>http://www.locutus.ws/?p=13#comments</comments>
		<pubDate>Tue, 19 Oct 2010 19:36:48 +0000</pubDate>
		<dc:creator>Alexander Göttlich</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server Konfiguration]]></category>

		<guid isPermaLink="false">http://www.locutus.ws/?p=13</guid>
		<description><![CDATA[Ein Webserver mit privaten Inhalten sollte vor unberechtigten Zugriffen geschützt sein. Meine Lösung, sicherlich nicht die eleganteste aber funktionell, ist den Zugriff mittels .htaccess zu schützen: Die folgende Aktionen mit SuperUser-Rechten ausführen! Erstmal brauchen mir eine Datei, wo der Benutzer &#8230;<p class="read-more"><a href="http://www.locutus.ws/?p=13">Weiterlesen &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Ein Webserver mit privaten Inhalten sollte vor unberechtigten Zugriffen geschützt sein. Meine Lösung, sicherlich nicht die eleganteste aber funktionell, ist den Zugriff mittels .htaccess zu schützen:</p>
<p>Die folgende Aktionen mit SuperUser-Rechten ausführen!</p>
<p>Erstmal brauchen mir eine Datei, wo der Benutzer mit dem Password abgespeichert wird</p>
<pre>touch /etc/.htusers</pre>
<p>Wahlweise kann auch ein alternatives Verzeichnis angegeben werden als  /etc/. Nur sollte man aus Sicherheitsgründen, diese nicht im Web-Server  Verzeichnis (z.B. /srv/www/) anlegen.</p>
<p>Mittels</p>
<pre>htpasswd -c /etc/.htusers user
</pre>
<p>wird der Benutzername und das Password eingefügt. ‘user’ muß  natürlich durch den Benutzernamen ersetzt werden. Dann noch die Rechte  ändern</p>
<pre>chown www-data.root /etc/.htusers</pre>
<p>Im Web-Server Verzeichnis muß man die .htaccess anlegen</p>
<pre>touch /srv/www/.htaccess</pre>
<p>Nun editiert man diese Datei</p>
<pre>vi /srv/www/.htusers</pre>
<p>mit folgendem Inhalt:</p>
<pre>AuthType Basic
AuthName "Apache"
AuthUserFile "/etc/.htusers"
Require valid-user</pre>
<p>Der AuthName kann frei gewählt werden. Er erscheint dann am  Anmeldefenster. Bei AuthUserFile muß dann der Pfad und Name eingetragen  werden, wo die zuvor erstellte .htusers liegt.<br />
Und die Rechte nicht vergessen</p>
<pre>chown www-data.root /srv/www/.htaccess</pre>
<p>Damit sich der Apache überhaupt dafür interessiert, muß man ihm das auch sagen</p>
<pre>vi /etc/apache2/sites-available/default</pre>
<p>Hier dann</p>
<pre>AllowOverride None</pre>
<p>durch</p>
<pre>AllowOverride All</pre>
<p>ersetzen.<br />
Hat man auch SSL aktiviert, kann man die Password abfrage auch hier aktivieren</p>
<pre>vi /etc/apache2/site-available/ssl</pre>
<p>und</p>
<pre>AllowOverride None</pre>
<p>in</p>
<pre>AllowOverride All</pre>
<p>ändern.</p>
<p>Noch schnell das passende Modul installieren</p>
<pre>apt-get install libapache2-mod-auth-pam</pre>
<p>und zum Schluß noch den Apachen neu starten</p>
<pre>service apache2 restart</pre>
<p>und fertig!</p>
<p>Weitere Benutzer sollten wiefolgt angelegt werden:</p>
<pre>htpasswd /etc/.htusers user</pre>
<p><strong>TODO</strong>: .htacces &amp; shadow bzw. LDAP</p>
]]></content:encoded>
			<wfw:commentRss>http://www.locutus.ws/?feed=rss2&#038;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

