<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2germanfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" version="2.0">

<channel>
	<title>Webseite von Michael Rennecke</title>
	
	<link>http://0rpheus.net</link>
	<description />
	<lastBuildDate>Sun, 11 Dec 2011 16:50:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WebseiteVonMichaelRennecke" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="webseitevonmichaelrennecke" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:explicit>no</itunes:explicit><itunes:subtitle></itunes:subtitle><geo:lat>51.500417</geo:lat><geo:long>11.941549</geo:long><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/content?lg=de&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://us.i1.yimg.com/us.yimg.com/i/de/my/addtomyyahoo4.gif">Subscribe with Mein Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/WebseiteVonMichaelRennecke" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FWebseiteVonMichaelRennecke" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>BigData mit Hypertable</title>
		<link>http://0rpheus.net/datenbank/bigdata-mit-hypertable</link>
		<comments>http://0rpheus.net/datenbank/bigdata-mit-hypertable#comments</comments>
		<pubDate>Sun, 11 Dec 2011 16:50:31 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[BigData]]></category>
		<category><![CDATA[Hypertable]]></category>
		<category><![CDATA[noSQL]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5861</guid>
		<description><![CDATA[Ich beschäftige mich beruflich gerade mit Big Data und deren Verarbeitung. Ich habe nur ein Problem, dass ich keine gute Hardware dafür habe, oder gar ein ganzes Rechenzentrum, wie Fratzenbuch oder google. Bei der Suche nach einem Lösungsansatz für mein Problem bin ich auf Hypertable gestoßen. Wenn es um BigData geht, wird oft HBase genannt. [...]]]></description>
			<content:encoded><![CDATA[<p>Ich beschäftige mich beruflich gerade mit <a href="http://de.wikipedia.org/wiki/Big_Data">Big Data</a> und deren Verarbeitung. Ich habe nur ein Problem, dass ich keine <em>gute</em> Hardware dafür habe, oder gar ein ganzes Rechenzentrum, wie Fratzenbuch oder google. Bei der Suche nach einem Lösungsansatz für mein Problem bin ich auf <a href="http://hypertable.org/">Hypertable</a> gestoßen.</p>
<p>
Wenn es um BigData geht, wird oft <a href="http://hbase.apache.org/">HBase</a> genannt. In keinen kleinen Prototypen, war HBase in einer VM gefühlt viel langsamer als Hypertable. Deswegen habe ich mich weiter mit Hypertable und nicht mit HBase beschäftigt.
</p>
<p>
<a href="http://hypertable.org/">Hypertable</a> ist eine verteilte Datenbank, welche vom Prinzip her <a href="http://de.wikipedia.org/wiki/Spaltenorientierte_Datenbank">spaltenorientiert</a> ist. Dieses Prinzip kann mit Hilfe der <a href="http://code.google.com/p/hypertable/wiki/ArchitecturalOverview">Access Groups</a> aufweichen. Man sollte auf keinen Fall versuchen aus Hypertable eine zeilenorientierte Datenbank zu machen.
</p>
<p>
Die aktuelle Zielarchitektur sieht wie folgt aus: Auf 12 Rechnern läuft <a href="http://hadoop.apache.org/hdfs/">HDFS</a> von <a href="http://hadoop.apache.org/">Hadoop</a>. Auf 11 von diesen Rechnern läuft eine RangeServer für Hypertable. Dieser ist auf 2 GB  RAM Verbrauch limitiert, weiterhin habe ich einen Hypertable Master. In meiner Testdatenbank habe ich 15,3 Millarden Datensätze. Auf dieser Datenmenge dauert ein random-Zugriff im Durchschnitt 200ms, wobei die worstcase Zeit einige Sekunden beträgt. Ich bin zumindest begeistert, dass ich derartig große Datenmengen auf schlechter Commodity Hardware handeln kann.  Ich bin mir sicher, dass ich mit der zur Verfügung stehenden Hardware noch mehr haus holen kann.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/datenbank/bigdata-mit-hypertable/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heiraten und deutsche Bürokratie</title>
		<link>http://0rpheus.net/privat/heiraten-und-deutsche-burokratie</link>
		<comments>http://0rpheus.net/privat/heiraten-und-deutsche-burokratie#comments</comments>
		<pubDate>Sun, 16 Oct 2011 08:51:54 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[privat]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5831</guid>
		<description><![CDATA[Ich möchte im nächsten Jahr heiraten und habe mich deswegen schon einmal informiert, was ich alles machen muss. Das ich beim Standesamt meine Geburtsurkunde vorlegen muss war mir schon klar. Aber so einfach ist das ganze nicht. Ich bin in der misslichen Lage, dass ich nicht in der Stadt heiraten möchte, in der ich geboren [...]]]></description>
			<content:encoded><![CDATA[<p>
Ich möchte im nächsten Jahr heiraten und habe mich deswegen schon einmal informiert, was ich alles machen muss. Das ich beim Standesamt meine Geburtsurkunde vorlegen muss war mir schon klar. Aber so einfach ist das ganze nicht. Ich bin in der misslichen Lage, dass ich nicht in der Stadt heiraten möchte, in der ich geboren bin und außerdem habe ich eine <a href="http://de.wikipedia.org/wiki/Deutsche_Demokratische_Republik">DDR</a>-Geburtsurkunde. Diese wird vom Standesamt nicht anerkannt. Wenn man trotzdem heiraten möchte, dann benötigt man einen <em>Auszug aus dem Geburtsregister</em>. Dieses Stück Papier entspricht im großen und ganzen einer beglaubigten Kopie meiner Geburtsurkunde. Nun meine Frage: Was soll dieser <em>Schei?</em> ?? Ich muss für eine Abschrift Geld bezahlen, von der ich das Original habe&#8230; Meine Verlobte ist in der Stadt in der wir heiraten möchten geborgen. In diesem Fall reicht die Geburtsurkunde. Ich finde so etwas äußerst frech, aber was hat man für Alternativen?</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/privat/heiraten-und-deutsche-burokratie/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Letzte Rettung von MySQL</title>
		<link>http://0rpheus.net/tools/letzte-rettung-von-mysql</link>
		<comments>http://0rpheus.net/tools/letzte-rettung-von-mysql#comments</comments>
		<pubDate>Mon, 08 Aug 2011 20:35:44 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[recovery]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5801</guid>
		<description><![CDATA[Ich hatte heute wieder Spaß mit MySQL. Die InnoDB Tabelle einer Datenbank hat sich erfolgreich selbst zerstört. Das hat sich dahingehend geäußert, dass sich MySQL immer wieder neu gestartet hat. MySQL war leider nicht in der Lage die betroffene Tabelle selbst wieder her zu stellen. Mit Hilfe von innodb_force_recovery kann man MySQL dazu bringen, dass [...]]]></description>
			<content:encoded><![CDATA[<p>
Ich hatte heute wieder Spaß mit <a href="http://www.mysql.com/">MySQL</a>. Die <a href="http://www.innodb.com/">InnoDB</a> Tabelle einer Datenbank hat sich erfolgreich selbst zerstört. Das hat sich dahingehend geäußert, dass sich <a href="http://www.mysql.com/">MySQL</a> immer wieder neu gestartet hat. <a href="http://www.mysql.com/">MySQL</a> war leider nicht in der Lage die betroffene Tabelle selbst wieder her zu stellen.
</p>
<p>
Mit Hilfe von <a href="http://dev.mysql.com/doc/refman/5.0/en/forcing-innodb-recovery.html">innodb_force_recovery</a> kann man MySQL dazu bringen, dass es Tabellen wieder her stellt. Diese Option schreibt man einfach in die <tt>my.cnf</tt>. Er kann die Werte von 1 bis 6 annehmen. Je höher der Wert ist, desto höher ist die Wahrscheinlichkeit, dass die Tabelle wieder hergestellt werden kann. Aber Achtung: Je größer der Wert ist, desto mehr Daten kann MySQL beim Wiederherstellen zerstören. Es ist deswegen ratsam den Wert inkrementell zu erhöhen, dieses Vorgehen dauert evtl. länger, aber man geht nicht in Gefahr unnötig Daten zu verlieren.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/tools/letzte-rettung-von-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Briefvorlage mit LaTeX</title>
		<link>http://0rpheus.net/privat/briefvorlage-mit-latex</link>
		<comments>http://0rpheus.net/privat/briefvorlage-mit-latex#comments</comments>
		<pubDate>Sat, 30 Jul 2011 19:26:59 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[privat]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[sonstiges]]></category>
		<category><![CDATA[Brief]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[Mobil]]></category>
		<category><![CDATA[Telefon]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5731</guid>
		<description><![CDATA[Ich bin vor kurzem umgezogen und bin inzwischen Besitzer eines Festnetztelefon. Aus diesem Grund wollte ich in meiner -Vorlage für meine Briefe beide Nummern stehen haben. Die KOMA-Skript Pakte können von Haus aus, nur eine Telefonnummer, deswegen habe ich meine Vorlage, welche ich von meet-unix habe, wie folgt angepasst. \ProvidesFile{letter_options.lco}[letter-class-option file] &#160; % symbols: (cell)phone, [...]]]></description>
			<content:encoded><![CDATA[<p>
Ich bin vor kurzem umgezogen und bin inzwischen Besitzer eines Festnetztelefon. Aus diesem Grund wollte ich in meiner <img src='http://s.wordpress.com/latex.php?latex=%5CLaTeX&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\LaTeX' title='\LaTeX' class='latex' />-Vorlage für meine Briefe beide Nummern stehen haben. Die <a href="http://developer.berlios.de/projects/koma-script3/">KOMA-Skript</a> Pakte können von Haus aus, nur eine Telefonnummer, deswegen habe ich meine Vorlage, welche ich von <a href="http://meet-unix.org/">meet-unix</a> habe, wie folgt angepasst.
</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\ProvidesFile</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">letter_options.lco</span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;">letter-class-option file</span><span style="color: #E02020; ">]</span>
&nbsp;
<span style="color: #2C922C; font-style: italic;">% symbols: (cell)phone, email</span>
<span style="color: #800000; font-weight: normal;">\RequirePackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">marvosym</span><span style="color: #E02020; ">}</span> 
<span style="color: #2C922C; font-style: italic;">% for gray color in header</span>
<span style="color: #800000; font-weight: normal;">\RequirePackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">color</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\RequirePackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">utf8</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">inputenc</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #E02020; ">\</span><span style="color: #800000;">KOMAoptions</span><span style="color: #E02020; ">{</span>
foldmarks=true,
foldmarks=BlmTP,
<span style="color: #2C922C; font-style: italic;">%fromurl=true,</span>
fromemail=true,
fromphone=true,
fromalign=right,
fromrule=aftername,
fromemail=true,
footsepline=off
<span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #2C922C; font-style: italic;">% define gray for header</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">definecolor</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">firstnamecolor</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">rgb</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">0.65,0.65,0.65</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">definecolor</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">familynamecolor</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">rgb</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">0.45,0.45,0.45</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromname</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">color</span>{firstnamecolor</span><span style="color: #E02020; ">}</span>Michael<span style="color: #E02020; ">\</span><span style="color: #800000;">color</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">familynamecolor</span><span style="color: #E02020; ">}</span>Rennecke<span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\setkomafont</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromname</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\fontsize</span>{38</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">40</span><span style="color: #E02020; ">}\</span><span style="color: #800000;">sffamily</span><span style="color: #800000; font-weight: normal;">\mdseries</span><span style="color: #800000; font-weight: normal;">\upshape</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setkomafont</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromrule</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">color</span>{firstnamecolor</span><span style="color: #E02020; ">}}</span>
<span style="color: #E00000; font-weight: normal;">\@setplength</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromrulethickness</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">0.25ex</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setkomafont</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">addressee</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\small</span></span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromaddress</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Solarisgasse 2\\12345 Tuxhausen</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\newkomavar</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\Mobilefone</span></span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">frommobilephone</span><span style="color: #E02020; ">}</span> 
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">frommobilephone</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">(01\,60)~1\,23\,45\,67</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromphone</span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\Telefon</span></span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">(03\,45)~12\,34\,56\,78</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromemail</span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\Letter</span></span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">michael<span style="color: #800000; font-weight: normal;">\_</span>rennecke@gmx.net</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">%\setkomavar{fromurl}[]{http://0rpheus.net}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\firsthead</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">
  <span style="color: #800000; font-weight: normal;">\noindent</span>
  <span style="color: #E02020; ">\</span><span style="color: #800000;">parbox</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">b</span><span style="color: #E02020; ">]{</span><span style="color: #800000; font-weight: normal;">\useplength</span>{firstheadwidth</span><span style="color: #E02020; ">}}{</span>
    <span style="color: #800000; font-weight: normal;">\noindent</span><span style="color: #2C922C; font-style: italic;">%</span>
    <span style="color: #E02020; ">\</span><span style="color: #800000;">raggedleft</span><span style="color: #2C922C; font-style: italic;">%</span>
    <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\usekomafont</span>{fromname</span><span style="color: #E02020; ">}</span><span style="color: #800000; font-weight: normal;">\usekomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromname</span><span style="color: #E02020; ">}}\\</span>
    <span style="color: #E02020; ">\</span><span style="color: #800000;">rule</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\useplength</span>{firstheadwidth</span><span style="color: #E02020; ">}}{</span><span style="color: #2020C0; font-weight: normal;">1pt</span><span style="color: #E02020; ">}\\</span>
    <span style="color: #800000; font-weight: normal;">\usekomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromaddress</span><span style="color: #E02020; ">}\\</span>
    <span style="color: #800000; font-weight: normal;">\Telefon</span><span style="color: #800000; font-weight: normal;">\enskip</span><span style="color: #800000; font-weight: normal;">\usekomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromphone</span><span style="color: #E02020; ">}\\</span>
    <span style="color: #800000; font-weight: normal;">\Mobilefone</span><span style="color: #800000; font-weight: normal;">\enskip</span><span style="color: #800000; font-weight: normal;">\usekomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">frommobilephone</span><span style="color: #E02020; ">}\\</span>
    <span style="color: #800000; font-weight: normal;">\Letter</span><span style="color: #800000; font-weight: normal;">\enskip</span><span style="color: #800000; font-weight: normal;">\usekomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromemail</span><span style="color: #E02020; ">}</span>
  <span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setkomafont</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">fromaddress</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\small</span><span style="color: #800000; font-weight: normal;">\rmfamily</span><span style="color: #800000; font-weight: normal;">\mdseries</span><span style="color: #800000; font-weight: normal;">\slshape</span></span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">backaddress</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Michael Rennecke, Große Schlossgasse 2, 06108 Halle (Saale)</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">signature</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Michael Rennecke</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% signature same indention level as rest</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">renewcommand</span>*<span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\raggedsignature</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">raggedright</span></span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% space for signature</span>
<span style="color: #E00000; font-weight: normal;">\@setplength</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">sigbeforevskip</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">1.7cm</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\endinput</span></pre></div></div>

<p>
So sieht nun ein Beipieldokument aus:
</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">documentclass</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">letter_options,parskip=half+,version=last,fontsize=11pt,DIV=11,BCOR=10mm, DIN</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">scrlttr2</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">utf8</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">inputenc</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">T1</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">fontenc</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">english,ngerman</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">babel</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">amssymb</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">lmodern</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #2C922C; font-style: italic;">% overall sans serif font</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">renewcommand</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\familydefault</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\sfdefault</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">subject</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Was machst Du</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\setkomavar</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">place</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Halle (Saale)</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">letter</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Karl Mustermann\\ Straße 4\\ 06019 Halle (Saale)</span><span style="color: #E02020; ">}</span>
&nbsp;
&nbsp;
<span style="color: #800000; font-weight: normal;">\opening</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Sehr geehrte Damen und Herren,</span><span style="color: #E02020; ">}</span>
  blabla
&nbsp;
  <span style="color: #800000; font-weight: normal;">\closing</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Mit freundlichem Gruß</span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">letter</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<p>
Ich hoffe ich konnte allen helfen, die ein ähnliches Problem haben. Ich bin für Anmerkungen dankbar, die meine Vorlage noch verbessern <img src='http://0rpheus.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Wie das aussieht kann man <a href="/uploads/test.pdf">hier</a> sehen</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/privat/briefvorlage-mit-latex/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>noSQL Datenbanken</title>
		<link>http://0rpheus.net/tools/nosql-datenbanken</link>
		<comments>http://0rpheus.net/tools/nosql-datenbanken#comments</comments>
		<pubDate>Wed, 18 May 2011 20:48:39 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[hpc]]></category>
		<category><![CDATA[mongoDB]]></category>
		<category><![CDATA[noSQL]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5691</guid>
		<description><![CDATA[Ich arbeite inzwischen bei Unister als Junior Systemarchitekt. Zu meinen ersten Aufgaben hat gezählt eine Architektur für eine eine Datenbank zu schaffen, welche mit sehr hohen Schreibaufkommen zurecht kommt. Als Datenbank haben wir mongoDB benutzt. Dabei handelt es sich um eine noSQL-Datenbank. Diese Dazenbanken haben kein festes Datenbankschema. Die ersten Ergebnisse waren sehr erschütternd. Die [...]]]></description>
			<content:encoded><![CDATA[<p>
Ich arbeite inzwischen bei <a href="http://www.unister.de/">Unister</a> als <a href="http://0rpheus.net/privat/junior-system-architekt">Junior Systemarchitekt</a>. Zu meinen ersten Aufgaben hat gezählt eine Architektur für eine eine Datenbank zu schaffen, welche mit sehr hohen Schreibaufkommen zurecht kommt. Als Datenbank haben wir <a href="http://www.mongodb.org/">mongoDB</a> benutzt. Dabei handelt es sich um eine <a href="http://nosql-database.org/">noSQL</a>-Datenbank. Diese Dazenbanken haben kein festes Datenbankschema.
</p>
<p>
Die ersten Ergebnisse waren sehr erschütternd. Die Schreibperformence war einfach zu gering. Da man bei <a href="http://www.mongodb.org/">mongoDB</a> nichts konfigurieren kann (Im Vergleich zu klassischen Datenbanken, wie MySQL oder PostgreSQL) war ich erst einmal ratlos. Das ganze konnte mit Clustern nicht verbessert werden. Eine genaue Untersuchung der Applikation hat ergeben, dass die Daten synchron und damit blockierend geschrieben wurden. Nachdem die Inserts nicht blockierend und in Batches umgesetzt wurden konnte schon ein Performancesprung festgestellt werden. Das konnte weiter verbessert werden, als wir die einzufügenden Daten in der Applikation nach dem Index vorsortiert eingefügt haben. Die Ursache liegt darin, das die Datenbank den Batch schneller abarbeiten kann und weniger Operationen auf dem Index nötig sind.
</p>
<p>
Zum Schluss möchte ich noch ein paar Worte zum Clustern von <a href="http://www.mongodb.org/">mongoDB</a> verlieren. Es wird alles mitgebracht um schnell einen Cluster aufzusetzten. Ich habe es es leider geschafft, durch den Absturz von einem Knoten, den gesamten Cluster zu zerstören. Also sollte man bei Wichtigen Daten für Redundanz im Cluster sorgen. Es gibt auch viele Mittel in mongoDB um diese Redundanz zu erreichen.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/tools/nosql-datenbanken/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>verschlüsselte Volumes bequem mounten</title>
		<link>http://0rpheus.net/linux/verschlusselte-volumes-bequem-mounten</link>
		<comments>http://0rpheus.net/linux/verschlusselte-volumes-bequem-mounten#comments</comments>
		<pubDate>Sat, 26 Mar 2011 12:51:27 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[crypt]]></category>
		<category><![CDATA[crypttab]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dm-crypt]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5611</guid>
		<description><![CDATA[Ich habe mein home verschlüsselt. Dieses wird automatisch, beim anmelden gemountet. Da ich in mein home noch ein paar andere verschlüsselte Dateisysteme einhänge funktionieren die Standard-Mittel, wie /etc/crypttab nicht. Dabei ergibt sich das folgende Problem: Die Volumes werden beim booten eingehangen und zu diesen Zeitpunkt existiert mein home noch nicht. Da ich faul bin möchte [...]]]></description>
			<content:encoded><![CDATA[<p>
Ich habe mein home verschlüsselt. Dieses wird automatisch, beim anmelden gemountet. Da ich in mein home noch ein paar andere verschlüsselte Dateisysteme einhänge funktionieren die Standard-Mittel, wie <tt>/etc/crypttab</tt> nicht. Dabei ergibt sich das folgende Problem: Die Volumes werden beim booten eingehangen und zu diesen Zeitpunkt existiert mein home noch nicht.</p>
<p> Da ich <em>faul</em> bin möchte ich auch möglichst wenig Passwörter eingeben, weiterhin soll meine Freundin auch den Rechner anmachen können und nicht an meinen Passwort scheitern. Deswegen wird nur mein home via Passwort entschlüsselt, für die anderen Dateisysteme kommen <em>key-files</em> zum Einsatz. Diese liegen in meinen <strong>verschlüsselten</strong> home.</p>
<p>
Da ich mir selbst nicht vertraue, möchte ich den <a href="http://linux.die.net/man/8/sudo">sudo</a>-Mechanismus oder <a href="http://linux.die.net/man/2/setuid">suid</a>-Bits nicht benutzten. Deswegen habe ich mir die beiden Skripte <tt>cryptdisks_start</tt> und <tt>cryptdisks_stop</tt> genauer angesehen. In einen ersten Schritt habe ich mir eine <tt>/etc/user_crypttab</tt> erzeugt.
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #666666; font-style: italic;"># cat /etc/user_crypttab</span>
<span style="color: #666666; font-style: italic;"># definition             volume                        key                                   options      mountpoint                mountoptions</span>
data--group-video_crypt  <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>data--group-video <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rennecke<span style="color: #000000; font-weight: bold;">/</span>key-files<span style="color: #000000; font-weight: bold;">/</span>video-key    luks         <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>rennecke<span style="color: #000000; font-weight: bold;">/</span>Videos     noatime</pre></div></div>

<p>
Die ersten vier Parameter entsprechen denen, der <tt><a href="http://linux.die.net/man/5/crypttab">crypttab</a></tt>, <em>mountpoint</em> und <em>mountoptions</em> sind entsprechen den gleichnamigen Optionen von <tt><a href="http://linux.die.net/man/8/mount">mount</a></tt>.
</p>
<p>Mein <tt>user_cryptdisks_start</tt>-Skript sieht wie folgt aus:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># user_cryptdisks_start - wrapper around cryptsetup which parses</span>
<span style="color: #666666; font-style: italic;"># /etc/user_crypttab, just like mount parses /etc/fstab.</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Initial code stolen from cryptdisks_start by Jon Dowland &lt;jon@alcopop.org&gt;</span>
<span style="color: #666666; font-style: italic;"># Copyright (C) 2011 by Michael Rennecke &lt;michael_rennecke@gmx.net&gt;</span>
<span style="color: #666666; font-style: italic;"># License: GNU General Public License, v2 or any later</span>
<span style="color: #666666; font-style: italic;"># (http://www.gnu.org/copyleft/gpl.html)</span>
&nbsp;
<span style="color: #007800;">CRYPTTAB</span>=<span style="color: #ff0000;">&quot;/etc/user_crypttab&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-e</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #660033;">-lt</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;usage: $0 &lt;name&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;reads <span style="color: #007800;">$CRYPTTAB</span> and starts the mapping corresponding to &lt;name&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
. <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>cryptsetup<span style="color: #000000; font-weight: bold;">/</span>cryptdisks.functions
&nbsp;
<span style="color: #007800;">INITSTATE</span>=<span style="color: #ff0000;">&quot;manual&quot;</span>
<span style="color: #007800;">DEFAULT_LOUD</span>=<span style="color: #ff0000;">&quot;yes&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-x</span> <span style="color: #ff0000;">&quot;/usr/bin/id&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(/usr/bin/id -u)</span>&quot;</span>  <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	log_warning_msg <span style="color: #ff0000;">&quot;$0 needs root privileges&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
log_action_begin_msg <span style="color: #ff0000;">&quot;Starting crypto disk&quot;</span>
mount_fs
&nbsp;
&nbsp;
<span style="color: #007800;">count</span>=<span style="color: #000000;">0</span>
<span style="color: #007800;">tablen</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(egrep -vc &quot;^[[:space:]]*(#|$)</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$CRYPTTAB</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
egrep -v &quot;</span>^<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>:space:<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #666666; font-style: italic;">#|$)&quot; &quot;$CRYPTTAB&quot; | while read dst src key opts mnt mopts; do</span>
	<span style="color: #007800;">count</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #007800;">$count</span> + <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$1&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dst</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">ret</span>=<span style="color: #000000;">0</span>
		handle_crypttab_line_start <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dst</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$src</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$key</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$opts</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&lt;&amp;</span><span style="color: #000000;">3</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #007800;">ret</span>=<span style="color: #007800;">$?</span>
		<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
		fsck <span style="color: #660033;">-pv</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$dst</span>
		<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
		<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">$mopts</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$dst</span> <span style="color: #007800;">$mnt</span>
	<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$count</span> <span style="color: #660033;">-ge</span> <span style="color: #007800;">$tablen</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">ret</span>=<span style="color: #000000;">1</span>
		device_msg <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #ff0000;">&quot;failed, not found in user_crypttab&quot;</span>
	<span style="color: #000000; font-weight: bold;">else</span>
		<span style="color: #7a0874; font-weight: bold;">continue</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	umount_fs
	log_action_end_msg <span style="color: #007800;">$ret</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #007800;">$ret</span>
<span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">&lt;&amp;</span><span style="color: #000000;">1</span></pre></div></div>

<p>Zum Schluss noch mein  <tt>user_cryptdisks_stop</tt>-Skript:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># user_cryptdisks_stop - wrapper around cryptsetup which parses</span>
<span style="color: #666666; font-style: italic;"># /etc/user_crypttab, just like mount parses /etc/fstab.</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Initial code stolen from cryptdisks_stop by Jonas Meurer &lt;jonas@freesources.org&gt;</span>
<span style="color: #666666; font-style: italic;"># Copyright (C) 2011 by Michael Rennecke &lt;michael_rennecke@gmx.net&gt;</span>
<span style="color: #666666; font-style: italic;"># License: GNU General Public License, v2 or any later</span>
<span style="color: #666666; font-style: italic;"># (http://www.gnu.org/copyleft/gpl.html)</span>
&nbsp;
<span style="color: #007800;">CRYPTTAB</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>user_crypttab
&nbsp;
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #660033;">-e</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #660033;">-lt</span> <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;usage: $0 &lt;name&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;reads <span style="color: #007800;">$CRYPTTAB</span> and stops the mapping corresponding to &lt;name&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">2</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
. <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>cryptsetup<span style="color: #000000; font-weight: bold;">/</span>cryptdisks.functions
&nbsp;
<span style="color: #007800;">INITSTATE</span>=<span style="color: #ff0000;">&quot;manual&quot;</span>
<span style="color: #007800;">DEFAULT_LOUD</span>=<span style="color: #ff0000;">&quot;yes&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-x</span> <span style="color: #ff0000;">&quot;/usr/bin/id&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$(/usr/bin/id -u)</span>&quot;</span>  <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	log_warning_msg <span style="color: #ff0000;">&quot;$0 needs root privileges&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
log_action_begin_msg <span style="color: #ff0000;">&quot;Stopping crypto disk&quot;</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;&quot;</span>
&nbsp;
<span style="color: #007800;">count</span>=<span style="color: #000000;">0</span>
<span style="color: #007800;">tablen</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$(egrep -vc &quot;^[[:space:]]*(#|$)</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$CRYPTTAB</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #ff0000;">&quot;
egrep -v &quot;</span>^<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>:space:<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #666666; font-style: italic;">#|$)&quot; &quot;$CRYPTTAB&quot; | while read dst src key opts mnt mopts; do</span>
	<span style="color: #007800;">count</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #007800;">$count</span> + <span style="color: #000000;">1</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
	<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$1&quot;</span> = <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dst</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #c20cb9; font-weight: bold;">umount</span> <span style="color: #007800;">$mnt</span>
&nbsp;
		<span style="color: #007800;">ret</span>=<span style="color: #000000;">0</span>
		handle_crypttab_line_stop <span style="color: #ff0000;">&quot;<span style="color: #007800;">$dst</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$src</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$key</span>&quot;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$opts</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&lt;&amp;</span><span style="color: #000000;">3</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #007800;">ret</span>=<span style="color: #007800;">$?</span>
	<span style="color: #000000; font-weight: bold;">elif</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$count</span> <span style="color: #660033;">-ge</span> <span style="color: #007800;">$tablen</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
		<span style="color: #007800;">ret</span>=<span style="color: #000000;">1</span>
		device_msg <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #ff0000;">&quot;failed, not found in user_crypttab&quot;</span>
	<span style="color: #000000; font-weight: bold;">else</span>
		<span style="color: #7a0874; font-weight: bold;">continue</span>
	<span style="color: #000000; font-weight: bold;">fi</span>
	log_action_end_msg <span style="color: #007800;">$ret</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #007800;">$ret</span>
<span style="color: #000000; font-weight: bold;">done</span> <span style="color: #000000;">3</span><span style="color: #000000; font-weight: bold;">&lt;&amp;</span></pre></div></div>

<p>
Die beiden Skripte kann nun <tt>root</tt> ausführen, um Dateisysteme einzuhängen. Bei jeden einhängen wird geschaut, ob ein <tt><a href="http://linux.die.net/man/8/fsck">fsck</a></tt> nötig ist. Mein Dank gilt <a href="http://blog.meet-unix.org/">meet-unix</a>, er hat stand mit mit Rat zu Seite, da ich noch etwas <em>Solaris</em>-geschädigt bin. Anmerkungen, bitte als Kommentar hinterlassen.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/linux/verschlusselte-volumes-bequem-mounten/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>verschlüsseltes home automatisch mounten</title>
		<link>http://0rpheus.net/linux/verschlusseltes-home-automatisch-mounten</link>
		<comments>http://0rpheus.net/linux/verschlusseltes-home-automatisch-mounten#comments</comments>
		<pubDate>Fri, 25 Mar 2011 20:14:07 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[crypt]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dm-crypt]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[pam-mount]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5431</guid>
		<description><![CDATA[Ich bin inzwischen auf Debian umgestiegen. Mein home sollte natürlich verschlüsselt sein. Wenn man zum verschlüssel dm-crypt/LUKS nutzt und die Dateisysteme in der /etc/crypttab einbindet, muss man beim booten das Passwort eingeben (Ich setzte voraus, dass man via Passwort verschlüsselt und nicht mit einem Keyfile). Es ist viel interessanter, wenn das home beim anmelden automatisch [...]]]></description>
			<content:encoded><![CDATA[<p>
Ich bin inzwischen auf <a href="http://www.debian.org/">Debian</a> umgestiegen. Mein home sollte natürlich verschlüsselt sein. Wenn man zum verschlüssel <a href="http://www.saout.de/misc/dm-crypt/">dm-crypt</a>/<a href="http://linux.die.net/man/8/cryptsetup">LUKS</a> nutzt und die Dateisysteme in der <tt>/etc/crypttab</tt> einbindet, muss man beim booten das Passwort eingeben (Ich setzte voraus, dass man via Passwort verschlüsselt und nicht mit einem Keyfile). Es ist viel interessanter, wenn das home beim anmelden automatisch gemountet wird. Das geht, wenn man <a href="http://pam-mount.sourceforge.net/">pam_mount</a> benutzt. Im folgenden beschreibe ich wie man ein verschlüsseltes home anlegt, welches automatisch gemountet wird.
</p>
<p>
Vorbereitung: Anlegen eines Volume (ich nutze lvm)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">cryptsetup luksFormat <span style="color: #660033;">--cipher</span> aes-cbc-essiv:sha256 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>data-group<span style="color: #000000; font-weight: bold;">/</span>home_rennecke
cryptsetup luksOpen <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>data-group<span style="color: #000000; font-weight: bold;">/</span>home_rennecke data--group--home_rennecke_crypt
mkfs.ext4 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>data--group--home_rennecke_crypt
cryptsetup luksClose <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>mapper<span style="color: #000000; font-weight: bold;">/</span>data--group--home_rennecke_crypt</pre></div></div>

<p>Damit das home automatisch gemountet wird muss man in der <tt>/etc/security/pam_mount.conf.xml</tt> das folgende einfügen:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- Volume definitions --&gt;</span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;volume</span> <span style="color: #000066;">user</span>=<span style="color: #ff0000;">&quot;rennecke&quot;</span> <span style="color: #000066;">fstype</span>=<span style="color: #ff0000;">&quot;crypt&quot;</span> <span style="color: #000066;">path</span>=<span style="color: #ff0000;">&quot;/dev/mapper/data--group-home--rennecke&quot;</span> <span style="color: #000066;">mountpoint</span>=<span style="color: #ff0000;">&quot;/home/rennecke&quot;</span> <span style="color: #000066;">options</span>=<span style="color: #ff0000;">&quot;fsck,noatime&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></div></div>

<p>Das Passwort vom verschlüsselten home und das Passwort vom login müssen gleich sein! Wenn man sich nun einloggt, dann wird das home automatisch eingehangen.
</p>
<p>
<strong>Hinweis:</strong><br />
Das <tt>pam_mount</tt>-Modul arbeitet nicht ganz transparent! mount zeigt nicht die wirklichen mount-Punkte an. Diese werden aber mit <tt>cat /proc/mount</tt> angezeigt.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/linux/verschlusseltes-home-automatisch-mounten/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Junior System Architekt</title>
		<link>http://0rpheus.net/privat/junior-system-architekt</link>
		<comments>http://0rpheus.net/privat/junior-system-architekt#comments</comments>
		<pubDate>Sun, 06 Mar 2011 11:09:02 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[privat]]></category>
		<category><![CDATA[Job]]></category>
		<category><![CDATA[Junior System Architekt]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5411</guid>
		<description><![CDATA[So wie es aussieht, habe ich demnächst ein Job als Junior System Architekt. Ich freue mich schon auf meinen ersten Arbeitstag, leider werde ich nicht mit Solaris arbeiten, wenigsten Linux und nicht Windows. Demnächst ließt man sicher hier mehr]]></description>
			<content:encoded><![CDATA[<p>
So wie es aussieht, habe ich demnächst ein Job als Junior System Architekt. Ich freue mich schon auf meinen ersten Arbeitstag, leider werde ich nicht mit Solaris arbeiten, wenigsten Linux und nicht Windows. Demnächst ließt man sicher hier mehr <img src='http://0rpheus.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/privat/junior-system-architekt/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bilder mit css nicht vergrößern</title>
		<link>http://0rpheus.net/programmieren/bilder-mit-css-nicht-vergroessern</link>
		<comments>http://0rpheus.net/programmieren/bilder-mit-css-nicht-vergroessern#comments</comments>
		<pubDate>Tue, 01 Mar 2011 13:13:39 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[nextgen-gallery]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5331</guid>
		<description><![CDATA[Ich habe in meinen Blog inzwischen auch Bilder und ich nutze die NextGEN Gallery. Aus Platzgründen verkleinere ich die Bilder. Die Bilder, welche im Hochformat sind sehen einfach grausam aus, da sie stark vergrößert werden. Durch den folgenden Hack im css werden die Bilder nicht mehr vergrößert. Dazu muss man die Datei nextgen-gallery/css/nggallery.css wie folgt [...]]]></description>
			<content:encoded><![CDATA[<p>
Ich habe in meinen Blog inzwischen auch Bilder und ich nutze die <a href="http://nextgen-gallery.com/">NextGEN Gallery</a>. Aus Platzgründen verkleinere ich die Bilder. Die Bilder, welche im Hochformat sind sehen einfach grausam aus, da sie stark vergrößert werden. Durch den folgenden Hack im <a href="http://www.w3.org/TR/2002/WD-CSS21-20020802/">css</a> werden die Bilder nicht mehr vergrößert. Dazu muss man die Datei <tt>nextgen-gallery/css/nggallery.css</tt> wie folgt ändern:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.ngg-imagebrowser</span> img <span style="color: #00AA00;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#A9A9A9</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span> !important<span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #993333;">auto</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">max-width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
    <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>
Achtung: Die Änderung geht bei einen automatischen Update des Plugins verloren!</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/programmieren/bilder-mit-css-nicht-vergroessern/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Richtfest einer Mensa in Halle</title>
		<link>http://0rpheus.net/privat/richtfest-einer-mensa-in-halle</link>
		<comments>http://0rpheus.net/privat/richtfest-einer-mensa-in-halle#comments</comments>
		<pubDate>Mon, 28 Feb 2011 22:02:10 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[privat]]></category>
		<category><![CDATA[sonstiges]]></category>
		<category><![CDATA[Halle]]></category>
		<category><![CDATA[Mensa]]></category>
		<category><![CDATA[Richtfest]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5291</guid>
		<description><![CDATA[Heute fand um 16:30 Uhr das feierliche Richtfest des Mensa-Neubau am von-Seckendorff-Platz. Die Festrede haben der Vorsitzenden des Verwaltungsrates Herr Prof. Lilie, der Finanzminister Herr Bullerjahn, die Kultusministerin Frau Prof. Wolff und der Rektor der Martin-Luther-Universität Halle-Wittenberg Herr Prof. Sträter gehalten. Im Anschluss haben der Stadtrat Herr Tobias Kogge sowie der Architekt Herr Prof. Schulz [...]]]></description>
			<content:encoded><![CDATA[<p>
Heute fand um 16:30 Uhr das feierliche Richtfest des Mensa-Neubau am <a href="http://de.wikipedia.org/wiki/Veit_Ludwig_von_Seckendorff">von-Seckendorff</a>-Platz. Die Festrede haben der Vorsitzenden des Verwaltungsrates Herr Prof. Lilie, der Finanzminister Herr Bullerjahn, die Kultusministerin Frau Prof. Wolff und der Rektor der Martin-Luther-Universität Halle-Wittenberg Herr Prof. Sträter gehalten. Im Anschluss haben der Stadtrat Herr Tobias Kogge sowie der Architekt Herr Prof. Schulz ihr Grußworte überbracht.</p>
<p>Zum Schluss kommen noch ein paar Impressionen vom Richtfest.</p>

<div class="ngg-imagebrowser" id="ngg-imagebrowser-31-5291">

	<h3>kurz vor dem Richtfest</h3>

	<div class="pic">
<a href="http://0rpheus.net/uploads/gallery/richtfest/richtfest_img_4124.JPG" title=""  rel="lightbox[5291]">
	<img alt="kurz vor dem Richtfest" src="http://0rpheus.net/uploads/gallery/richtfest/richtfest_img_4124.JPG"/>
</a>
</div>
	<div class="ngg-imagebrowser-nav"> 
		<div class="back">
			<a class="ngg-browser-prev" id="ngg-prev-2331" href="http://0rpheus.net/privat/richtfest-einer-mensa-in-halle?pid=2331">&#9668; Zurück</a>
		</div>
		<div class="next">
			<a class="ngg-browser-next" id="ngg-next-2121" href="http://0rpheus.net/privat/richtfest-einer-mensa-in-halle?pid=2121">Vor &#9658;</a>
		</div>
		<div class="counter">Bild 1 von 19</div>
		<div class="ngg-imagebrowser-desc"><p> </p></div>
	</div>	

</div>	


]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/privat/richtfest-einer-mensa-in-halle/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Probleme mit dem SunRay-Server</title>
		<link>http://0rpheus.net/solaris/probleme-mit-dem-sunray-server</link>
		<comments>http://0rpheus.net/solaris/probleme-mit-dem-sunray-server#comments</comments>
		<pubDate>Mon, 28 Feb 2011 19:36:50 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[gdm]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[Java Desktop]]></category>
		<category><![CDATA[Sun Ray]]></category>
		<category><![CDATA[SunRay]]></category>
		<category><![CDATA[tmp]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5261</guid>
		<description><![CDATA[Ich habe heute etwas l&#228;nger geschlafen. Als erste Tagesaufgabe habe ich pflichtbewusst meine Mails gelesen und schon kam eine User-Mail, dass der SunRay-Server nicht l&#228;uft. Ein Fehler war schnell gefunden: Der gdm lief nicht. sunray ~ # svcs -a &#124; grep gdm disabled 11:38:23 svc:/application/gdm2-login:default sunray ~ # svcadm enable svc:/application/gdm2-login:default Nun konnte man sich [...]]]></description>
			<content:encoded><![CDATA[<p>Ich habe heute etwas l&auml;nger geschlafen. Als erste Tagesaufgabe habe ich pflichtbewusst meine Mails gelesen und schon kam eine User-Mail, dass der <a href="http://www.sun-rays.org/">SunRay</a>-Server nicht l&auml;uft.</p>
<p>
Ein Fehler war schnell gefunden: Der <a href="http://projects.gnome.org/gdm/">gdm</a> lief nicht.
</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">sunray ~ <span style="color: #666666; font-style: italic;"># svcs -a | grep gdm</span>
disabled       <span style="color: #000000;">11</span>:<span style="color: #000000;">38</span>:<span style="color: #000000;">23</span> svc:<span style="color: #000000; font-weight: bold;">/</span>application<span style="color: #000000; font-weight: bold;">/</span>gdm2-login:default
sunray ~ <span style="color: #666666; font-style: italic;"># svcadm enable svc:/application/gdm2-login:default</span></pre></div></div>

<p>
Nun konnte man sich via <a href="http://www.opengroup.org/cde/">CDE</a> einloggen, aber nicht mit dem <a href="http://www.sun.com/software/solaris/javadesktopsystem.xml">Java Desktop</a>, welcher auf <a href="http://www.gnome.org/">gnome</a> basiert. Nach nervigen Suchen hat sich auch <a href="https://users.informatik.uni-halle.de/~ruttkies/RforRocks/">Rumpel</a> zu mir gesetzt. Dabei ist mir aufgefallen, dass in <tt>/tmp</tt> nur <tt>root</tt> schreiben darf, nachdem in <tt>/tmp</tt> wieder jeder schreiben durfte, lief wieder alles korrekt.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/solaris/probleme-mit-dem-sunray-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mercurial</title>
		<link>http://0rpheus.net/tools/mercurial</link>
		<comments>http://0rpheus.net/tools/mercurial#comments</comments>
		<pubDate>Mon, 21 Feb 2011 23:32:47 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[hg]]></category>
		<category><![CDATA[mercurial]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5191</guid>
		<description><![CDATA[Ich wollte eben, mal schnell ein Mercurial-Repository einen Bekannten zur Verfügung stellen. Also habe ich es auf seinen Server kopiert. Nun kam die Überraschung: Es ging nicht mehr. Es gibt die typischen dubiosen Fehlermeldungen von Mercurial, bei denen niemand weiß was los ist. Da ich schon sehr lange unter Solaris mit Mercurial arbeite kenne ich [...]]]></description>
			<content:encoded><![CDATA[<p>Ich wollte eben, mal schnell ein <a href="http://mercurial.selenic.com/">Mercurial</a>-Repository einen Bekannten zur Verfügung stellen. Also habe ich es auf seinen Server kopiert. Nun kam die Überraschung: Es ging nicht mehr. Es gibt die typischen dubiosen Fehlermeldungen von <a href="http://mercurial.selenic.com/">Mercurial</a>, bei denen niemand weiß was los ist. Da ich schon sehr lange unter Solaris mit <a href="http://mercurial.selenic.com/">Mercurial</a> arbeite kenne ich so ein paar Fallstricke.</p>
<p>In diesem Fall war die <a href="http://mercurial.selenic.com/">Mercurial</a>-Versionen verschieden. In vielen Fällen, kann man das wie folgt beheben:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># remote-Server</span>
rennecke<span style="color: #000000; font-weight: bold;">@</span>odin <span style="color: #000000; font-weight: bold;">/</span>export<span style="color: #000000; font-weight: bold;">/</span>repos <span style="color: #000000; font-weight: bold;">%</span> hg init newrepo
<span style="color: #666666; font-style: italic;"># local host</span>
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~<span style="color: #000000; font-weight: bold;">/</span>repo <span style="color: #7a0874; font-weight: bold;">&#40;</span>hg<span style="color: #7a0874; font-weight: bold;">&#41;</span>-<span style="color: #7a0874; font-weight: bold;">&#91;</span>default<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">%</span> hg push <span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>rennecke<span style="color: #000000; font-weight: bold;">@</span>odin<span style="color: #000000; font-weight: bold;">//</span>export<span style="color: #000000; font-weight: bold;">/</span>repos<span style="color: #000000; font-weight: bold;">/</span>newrepo</pre></div></div>

<p>
Nachdem man auf dem Server ein leeren Repo angelegt hat, kann man die Inhalte rein pushen. Wenn man hinter einem Proxy-Server ist, kann man diesen gleich mit angeben:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rennecke<span style="color: #000000; font-weight: bold;">@</span>trantor ~ <span style="color: #000000; font-weight: bold;">%</span> hg <span style="color: #660033;">--config</span> http_proxy.host=my-proxy.org:<span style="color: #000000;">3128</span> clone  <span style="color: #c20cb9; font-weight: bold;">ssh</span>:<span style="color: #000000; font-weight: bold;">//</span>rennecke<span style="color: #000000; font-weight: bold;">@</span>odin<span style="color: #000000; font-weight: bold;">//</span>export<span style="color: #000000; font-weight: bold;">/</span>repos<span style="color: #000000; font-weight: bold;">/</span>newrepo</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/tools/mercurial/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud Computing</title>
		<link>http://0rpheus.net/solaris/cloud-computing</link>
		<comments>http://0rpheus.net/solaris/cloud-computing#comments</comments>
		<pubDate>Mon, 21 Feb 2011 16:22:25 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[HPC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Mainframe]]></category>
		<category><![CDATA[Netzwerk]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=5111</guid>
		<description><![CDATA[Ich höre immer öfter von Cloud Computing. Jedes mal hört sich das ganze wie eine ganz neue Idee an. Dabei ist Cloud Computing, nach meiner Ansicht, ein alter Hut. Dieser hat bestimmt schon 50 Jahre auf dem Buckel. Was man unter Cloud Computing versteht kann nachlesen. Was ist aber der eigentliche Kern hinter der ganzen [...]]]></description>
			<content:encoded><![CDATA[<p>Ich höre immer öfter von Cloud Computing. Jedes mal hört sich das ganze wie eine ganz neue Idee an. Dabei ist Cloud Computing, nach meiner Ansicht, ein alter Hut. Dieser hat bestimmt schon 50 Jahre auf dem Buckel. Was man unter <a href="http://de.wikipedia.org/wiki/Cloud_Computing">Cloud Computing</a> versteht kann nachlesen. Was ist aber der eigentliche Kern hinter der ganzen Geschichte?</p>
<p>Beim   Cloud Computing werden Rechen-, Speicherkapazitäten oder Dienste dynamisch zur Verfügung gestellt. Diese Kapazitäten und Dienste werden in der Regel über ein Netzwerk zugänglich gemacht. Auf den Mainframes der 1960er Jahre wurden auch Dienste und Ressourcen dynamisch angeboten und verwaltet. Die Rechenzeit wurde zum Teil auch bei den verschiedenen Kostenstellen gebucht. Auf diese Weise kann man auch aktuelle Enterprise-Server bzw. Mainframes ansetzten und dabei die Hardware dynamisch partitionieren.  Wo ist nun der Unterschied, ob man 4 volle Racks hat oder nur einen großen Rechner (1960 oder heute)?</p>
<p>Der Unterschied zu 1960 ist, das man seit einigen Jahren vorkonfiguriertes Blech mit entsprechenden Diensten kaufen kann. Ich habe den Vorteil, das ich auf das Blech und dem Dienst Garantie bekommen kann. Weiterhin gibt es Dienstleister, welche einen Dienste anbieten. Als Kunde muss man sich nicht mehr mit der Hardware belasten. Es ist aber durchaus interessant  im eigenen Rechenzentrum eine private Cloud zu betreiben. So kann man schnell auf sich änderte Bedingungen  reagieren.</p>
<p>Wenn ich es genau nehme, dann betreibe zu Hause meine eigene Cloud. Das Herzstück ist <strong>walhalla</strong>, auf ihn läuft ein Solaris 11 Express Edition. In dem Rechner sind einige Festplatten. Wenn ich etwas ausprobiere, dann erstelle ich schnell eine  Zone oder setzte mit VirtualBox ein Linux auf. Je nach dem was ich mache, erzeuge ich mir eine maßgeschneiderte Umgebung. Einige werden sich fragen, wozu der ganze Aufwand. Die Antwort ist ganz einfach: Es ist möglich und es macht mir Spaß. Den größten Mehrgewinn sehe ich darin, das ich mein System sauber halte. Denn ich weiß für was welche Zone gut ist.</p>
<p>P.S.: Ich habe 1960 gewählt, weil mir nichts besseres eingefallen ist.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/solaris/cloud-computing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hochwasser in Halle</title>
		<link>http://0rpheus.net/sonstiges/hochwasser-in-halle</link>
		<comments>http://0rpheus.net/sonstiges/hochwasser-in-halle#comments</comments>
		<pubDate>Mon, 17 Jan 2011 22:21:59 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[sonstiges]]></category>
		<category><![CDATA[Foto]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=4811</guid>
		<description><![CDATA[Einige Bilder vom Hochwasser in Halle. Ich habe einmal etwas an der Galerie herum gepfuscht. ich hoffe es gefällt Euch. Im Zweifel einen Kommentar schreiben.]]></description>
			<content:encoded><![CDATA[<p>Einige Bilder vom Hochwasser in Halle. Ich habe einmal etwas an der Galerie herum gepfuscht. ich hoffe es gefällt Euch. Im Zweifel einen Kommentar schreiben.</p>

<div class="ngg-imagebrowser" id="ngg-imagebrowser-21-4811">

	<h3>Saalearm</h3>

	<div class="pic">
<a href="http://0rpheus.net/uploads/gallery/hochwasser/halle_hochwasser_001.JPG" title=""  rel="lightbox[4811]">
	<img alt="Saalearm" src="http://0rpheus.net/uploads/gallery/hochwasser/halle_hochwasser_001.JPG"/>
</a>
</div>
	<div class="ngg-imagebrowser-nav"> 
		<div class="back">
			<a class="ngg-browser-prev" id="ngg-prev-2101" href="http://0rpheus.net/sonstiges/hochwasser-in-halle?pid=2101">&#9668; Zurück</a>
		</div>
		<div class="next">
			<a class="ngg-browser-next" id="ngg-next-1611" href="http://0rpheus.net/sonstiges/hochwasser-in-halle?pid=1611">Vor &#9658;</a>
		</div>
		<div class="counter">Bild 1 von 51</div>
		<div class="ngg-imagebrowser-desc"><p> </p></div>
	</div>	

</div>	


]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/sonstiges/hochwasser-in-halle/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tree Tab Style bei Firefox</title>
		<link>http://0rpheus.net/tools/tree-tab-style-bei-firefox</link>
		<comments>http://0rpheus.net/tools/tree-tab-style-bei-firefox#comments</comments>
		<pubDate>Sat, 08 Jan 2011 11:58:31 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tree Tab Style]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=4751</guid>
		<description><![CDATA[Ich nutze schon sehr lange den Tree Tab Style für Firefox. Heute ist mein Firefox unter Solaris alle 3 Minuten abgestürzt. Bis ich auf die Idee gekommen bin, dass es evtl. mein Tree Tab Style Plugin ist. Der Firefox hat gemeint, dass es kein Update gibt. Also habe ich auf der Projektseite des Entwickler nachgeschaut [...]]]></description>
			<content:encoded><![CDATA[<p>Ich nutze schon sehr lange den <a href="https://addons.mozilla.org/en-US/firefox/addon/5890/">Tree Tab Style</a> für Firefox. Heute ist mein Firefox unter Solaris alle 3 Minuten abgestürzt. Bis ich auf die Idee gekommen bin, dass es evtl. mein<a href="https://addons.mozilla.org/en-US/firefox/addon/5890/"> Tree Tab Style Plugin</a> ist. Der Firefox hat gemeint, dass es kein Update gibt. Also habe ich auf der <a href="http://piro.sakura.ne.jp/xul/_treestyletab.html.en#download">Projektseite des Entwickler</a> nachgeschaut und dort gab es ein Update. Dieses funktioniert. Ob dieser Fehler nur bei Solaris auftritt weiß ich nicht.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/tools/tree-tab-style-bei-firefox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>partielle Sonnenfinsternis</title>
		<link>http://0rpheus.net/privat/partielle-sonnenfinsternis</link>
		<comments>http://0rpheus.net/privat/partielle-sonnenfinsternis#comments</comments>
		<pubDate>Tue, 04 Jan 2011 09:35:42 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[privat]]></category>
		<category><![CDATA[sonstiges]]></category>
		<category><![CDATA[bewölkt]]></category>
		<category><![CDATA[Halle]]></category>
		<category><![CDATA[partielle Sonnenfinsternis]]></category>
		<category><![CDATA[Sonnenfinsternis]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=4671</guid>
		<description><![CDATA[Ich habe ein paar Bilder von der partiellen Sonnenfinsternis am 04.01.2011 gemacht. Der Wettergott war leider nicht ganz auf meiner Seite.  Man kann die Sonne nur erahnen&#8230; Ich hoffe ihr habt trotzdem etwas Spaß an Bildern. Ich habe versucht etwas mit der Helligkeit herum zu spielen, damit die Farben besser heraus kommen.]]></description>
			<content:encoded><![CDATA[<p>Ich habe ein paar Bilder von der partiellen Sonnenfinsternis am 04.01.2011 gemacht. Der Wettergott war leider nicht ganz auf meiner Seite.  Man kann die Sonne nur erahnen&#8230; Ich hoffe ihr habt trotzdem etwas Spaß an Bildern. Ich habe versucht etwas mit der Helligkeit herum zu spielen, damit die Farben besser heraus kommen.</p>

<div class="ngg-galleryoverview" id="ngg-gallery-11-4671">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-51" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=51" title=" "  >
								<img title="sofi_0001" alt="sofi_0001" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_sofi_0001.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-61" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=61" title=" "  >
								<img title="sofi_0002" alt="sofi_0002" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_sofi_0002.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-71" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=71" title=" "  >
								<img title="sofi_0003" alt="sofi_0003" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_sofi_0003.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-81" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=81" title=" "  >
								<img title="Sofi_0005" alt="Sofi_0005" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0005.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-91" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=91" title=" "  >
								<img title="Sofi_0006" alt="Sofi_0006" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0006.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-101" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=101" title=" "  >
								<img title="Sofi_0007" alt="Sofi_0007" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0007.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-111" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=111" title=" "  >
								<img title="Sofi_0008" alt="Sofi_0008" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0008.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-121" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=121" title=" "  >
								<img title="Sofi_0009" alt="Sofi_0009" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0009.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-131" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=131" title=" "  >
								<img title="Sofi_0010" alt="Sofi_0010" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0010.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-141" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=141" title=" "  >
								<img title="Sofi_0011" alt="Sofi_0011" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0011.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-151" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=151" title=" "  >
								<img title="Sofi_0012" alt="Sofi_0012" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0012.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-161" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=161" title=" "  >
								<img title="Sofi_0013" alt="Sofi_0013" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0013.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-171" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=171" title=" "  >
								<img title="Sofi_0014" alt="Sofi_0014" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0014.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-181" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=181" title=" "  >
								<img title="Sofi_0015" alt="Sofi_0015" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0015.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-191" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=191" title=" "  >
								<img title="Sofi_0016" alt="Sofi_0016" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0016.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-201" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=201" title=" "  >
								<img title="Sofi_0017" alt="Sofi_0017" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0017.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-211" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=211" title=" "  >
								<img title="Sofi_0018" alt="Sofi_0018" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0018.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-221" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=221" title=" "  >
								<img title="Sofi_0019" alt="Sofi_0019" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0019.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-231" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=231" title=" "  >
								<img title="Sofi_0020" alt="Sofi_0020" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0020.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-241" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=241" title=" "  >
								<img title="Sofi_0021" alt="Sofi_0021" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0021.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-251" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=251" title=" "  >
								<img title="Sofi_0022" alt="Sofi_0022" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0022.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-261" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=261" title=" "  >
								<img title="Sofi_0023" alt="Sofi_0023" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0023.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-271" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=271" title=" "  >
								<img title="Sofi_0024" alt="Sofi_0024" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0024.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-281" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=281" title=" "  >
								<img title="Sofi_0025" alt="Sofi_0025" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0025.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-291" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=291" title=" "  >
								<img title="Sofi_0026" alt="Sofi_0026" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0026.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-301" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=301" title=" "  >
								<img title="Sofi_0027" alt="Sofi_0027" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0027.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-311" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=311" title=" "  >
								<img title="Sofi_0028" alt="Sofi_0028" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0028.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-321" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://0rpheus.net/privat/partielle-sonnenfinsternis?pid=321" title=" "  >
								<img title="Sofi_0029" alt="Sofi_0029" src="http://0rpheus.net/uploads/gallery/partielle-sonnenfinternis/thumbs/thumbs_Sofi_0029.JPG" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class="ngg-clear"></div> 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/privat/partielle-sonnenfinsternis/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Im SunStudio die STL nutzen</title>
		<link>http://0rpheus.net/tools/im-sunstudio-die-stl-nutzen</link>
		<comments>http://0rpheus.net/tools/im-sunstudio-die-stl-nutzen#comments</comments>
		<pubDate>Fri, 26 Nov 2010 07:08:37 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[STL]]></category>
		<category><![CDATA[Sun]]></category>
		<category><![CDATA[Sun Studio]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=4641</guid>
		<description><![CDATA[Mir ist die Tage beim programmieren negativ aufgefallen, dass sich im Sun Studio 12 Express einige Funktionen anderst sind, als in der STL spezifiziert. Mir ist es bei std::sort aufgefallen. Man kann normal sort eine Funktion übergeben, welche die Elemente vergleicht. Diese Überladung existiert in der Sun STL nicht. Das ist bekannt und wurde schon [...]]]></description>
			<content:encoded><![CDATA[<p>Mir ist die Tage beim programmieren negativ aufgefallen, dass sich im  Sun Studio 12 Express einige Funktionen anderst sind, als in der STL  spezifiziert. Mir ist es bei <em>std::sort</em> aufgefallen. Man kann normal <em>sort</em> eine Funktion übergeben, welche die Elemente vergleicht. Diese  Überladung existiert in der Sun STL nicht. Das ist bekannt und wurde  schon an anderen Stellen diskutiert. Wenn man die STL nutzen möchte,  dann muss man dem Compiler die Option <em>-library=stlport4</em> mitgeben, dann  wird die standartkonforme STL verwendet.</p>
<p>Im Sun Studio kann man diese Option unter Additional Options mit angeben.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/tools/im-sunstudio-die-stl-nutzen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nutzer anlegen im Active Directory</title>
		<link>http://0rpheus.net/tools/windows_nutzer_anlegen</link>
		<comments>http://0rpheus.net/tools/windows_nutzer_anlegen#comments</comments>
		<pubDate>Wed, 27 Oct 2010 14:32:10 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[sonstiges]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Nutzer]]></category>
		<category><![CDATA[Passwort]]></category>
		<category><![CDATA[Skript]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=4552</guid>
		<description><![CDATA[<p>Ich habe vor einigen Tagen mich mit dem <a href="http://www.rrzn.uni-hannover.de/fileadmin/it_sicherheit/pdf/SiTaWS05-ActiveDir.pdf">Active Directory</a> beschäftigen müssen. Für mich als Solaris-User ist das eine ganz andere Welt. Deswegen habe ich mich sehr schwer getan, ohne <a href="http://meet-unix.org/">Martin</a> wär dieser Artikel nicht möglich gewesen. Er stand mir mit Rat und Tat eine Stunde telefonisch zur Verfügung. Danke noch einmal!</p>

<p>
Nun zu meinen Problem: Ich wollte Nutzer aus einer spool-Datei automatisch in das Active Directory eintragen. Weiterhin mussten die Benutzer in die <a href="http://en.wikipedia.org/wiki/Organizational_Unit">Organizational Unit</a> <tt>peter_lustig_user</tt> verschoben werden.
</p>]]></description>
			<content:encoded><![CDATA[<p>Ich habe vor einigen Tagen mich mit dem <a href="http://www.rrzn.uni-hannover.de/fileadmin/it_sicherheit/pdf/SiTaWS05-ActiveDir.pdf">Active Directory</a> beschäftigen müssen. Für mich als Solaris-User ist das eine ganz andere Welt. Deswegen habe ich mich sehr schwer getan, ohne <a href="http://meet-unix.org/">Martin</a> wär dieser Artikel nicht möglich gewesen. Er stand mir mit Rat und Tat eine Stunde telefonisch zur Verfügung. Danke noch einmal!</p>
<p>
Nun zu meinen Problem: Ich wollte Nutzer aus einer spool-Datei automatisch in das Active Directory eintragen. Weiterhin mussten die Benutzer in die <a href="http://en.wikipedia.org/wiki/Organizational_Unit">Organizational Unit</a> <tt>peter_lustig_user</tt> verschoben werden. Das anlegen der Nutzer habe ich noch alleine hinbekommen. Dazu habe ich aus zahlreichen Skripten Codezeilen kopiert. Aber das Verschieben habe ich nicht hinbekommen.  <a href="http://meet-unix.org/">Martin</a>  hat mich auf die Active Directory Tools von Microsoft hingeweisen. Diese fangen alle mit <strong>ds</strong> an. Mit <tt><a href="http://ss64.com/nt/dsquery.html">dsquery</a> *</tt> habe ich mich durch die Struktur des Active Directory gewühlt. Das grafische Frontend ist zwar schön, aber da habe ich nicht mitbekommen, aber da weiß ich nicht wie der <a href="http://www.comptechdoc.org/os/windows/win2k/win2kadname.html">Distinguished Name</a> aussieht&#8230;<br />
Zum Schluss bin ich zu folgen Skript gekommen:
</p>

<div class="wp_syntax"><div class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #151B8D; font-weight: bold;">Set</span> args = WScript.Arguments
profile_pfad = <span style="color: #800000;">&quot;\\odin\homes\%username%\profile&quot;</span>
gruppe_neu = <span style="color: #800000;">&quot;benutzer&quot;</span>
<span style="color: #8D38C9; font-weight: bold;">if</span> args.count &lt;&gt; 1 <span style="color: #8D38C9; font-weight: bold;">then</span>
	MsgBox <span style="color: #800000;">&quot;Es muss genau eine spool-Datei angegeben werden&quot;</span>
	Wscript.quit
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span>
Randomize
protokoll = <span style="color: #800000;">&quot;C:\Dokumente und Einstellungen\Administrator\Desktop\skripte\protokoll.txt&quot;</span>
<span style="color: #151B8D; font-weight: bold;">Set</span> fs = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;Scripting.FileSystemObject&quot;</span>)
<span style="color: #008000;">' Das WScript.Network-Objekt liefert den Namen des Computers
</span><span style="color: #151B8D; font-weight: bold;">Set</span> net = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;WScript.Network&quot;</span>)
<span style="color: #008000;">' Protokolldatei öffnen
</span><span style="color: #151B8D; font-weight: bold;">Set</span> <span style="color: #151B8D; font-weight: bold;">output</span> = fs.CreateTextFile(protokoll, <span style="color: #00C2FF; font-weight: bold;">True</span>)
<span style="color: #008000;">'Holt den Namen des Computers aus dem net Objekt
</span>name = net.ComputerName
<span style="color: #151B8D; font-weight: bold;">Set</span> computer = <span style="color: #E56717; font-weight: bold;">GetObject</span>(<span style="color: #800000;">&quot;WinNT://&quot;</span> &amp; name)
<span style="color: #008000;">' Datei öffnen
</span>dateiname = args(0)
<span style="color: #8D38C9; font-weight: bold;">If</span> <span style="color: #8D38C9; font-weight: bold;">Not</span> fs.FileExists(dateiname) <span style="color: #8D38C9; font-weight: bold;">Then</span>
	MsgBox <span style="color: #800000;">&quot;Die Datei (&quot;</span> &amp; dateiname &amp; <span style="color: #800000;">&quot;) existiert am angegebenen Ort nicht!&quot;</span>
	WScript.Quit
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span>
<span style="color: #151B8D; font-weight: bold;">Set</span> infos = fs.OpenTextFile(dateiname)
<span style="color: #008000;">' Datei zeilenweise bis zum Ende (atEndOfStream) lesen:
</span><span style="color: #8D38C9; font-weight: bold;">Do</span> <span style="color: #8D38C9; font-weight: bold;">Until</span> infos.AtEndOfStream
	<span style="color: #008000;">' eine Zeile einlesen
</span>	zeile = infos.ReadLine
	<span style="color: #008000;">' Informationen durch Semikola splitten
</span>	details = Split(zeile, <span style="color: #800000;">&quot;;&quot;</span>)
	username = Trim(details(0))
	<span style="color: #008000;">' Konto anlegen
</span>	<span style="color: #151B8D; font-weight: bold;">Set</span> kontoneu = computer.Create(<span style="color: #800000;">&quot;User&quot;</span>, Trim(details(0)))
	kontoneu.FullName = Trim(details(1))
	kontoneu.Profile = profile_pfad
	<span style="color: #008000;">' Passwort auslesen, wenn es das default-Passwort ist, dann generiere ein Passwort
</span>	passwort =  Trim(details(2))
	<span style="color: #8D38C9; font-weight: bold;">if</span> passwort = <span style="color: #800000;">&quot;du34!$7_.4-@&quot;</span> <span style="color: #8D38C9; font-weight: bold;">then</span>
		passwort = Trim(genPasswort)
		kontoneu.PasswordExpired = CLng(1)
	<span style="color: #8D38C9; font-weight: bold;">end</span> <span style="color: #8D38C9; font-weight: bold;">if</span>
	kontoneu.SetPassword passwort
	<span style="color: #008000;">' Ablaufdatum setzten
</span>	<span style="color: #8D38C9; font-weight: bold;">if</span> trim(details(3)) &lt;&gt; <span style="color: #800000;">&quot;never&quot;</span> <span style="color: #8D38C9; font-weight: bold;">then</span>
		kontoneu.AccountExpirationDate = Trim(details(3))
	<span style="color: #8D38C9; font-weight: bold;">end</span> <span style="color: #8D38C9; font-weight: bold;">if</span>
	<span style="color: #008000;">' Normales Benutzerkonto
</span>	kontoneu.UserFlags = 512
	<span style="color: #8D38C9; font-weight: bold;">if</span> <span style="color: #8D38C9; font-weight: bold;">not</span> fs.FolderExists(<span style="color: #800000;">&quot;\\odin\homes\&quot;</span> &amp; username) <span style="color: #8D38C9; font-weight: bold;">then</span>
		<span style="color: #151B8D; font-weight: bold;">set</span> folder = fs.CreateFolder(<span style="color: #800000;">&quot;\\odin\homes\&quot;</span> &amp; username)
		<span style="color: #151B8D; font-weight: bold;">set</span> folder_files = fs.createfolder(<span style="color: #800000;">&quot;\\odin\homes\&quot;</span> &amp; username &amp; <span style="color: #800000;">&quot;\files&quot;</span>)
		<span style="color: #151B8D; font-weight: bold;">set</span> folder_profile = fs.createfolder(<span style="color: #800000;">&quot;\\odin\homes\&quot;</span> &amp; username &amp; <span style="color: #800000;">&quot;\profile&quot;</span>)
		<span style="color: #151B8D; font-weight: bold;">set</span> IShellDispatch2 = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;Shell.Application&quot;</span>)
		<span style="color: #E56717; font-weight: bold;">Call</span> IShellDispatch2.ShellExecute(<span style="color: #800000;">&quot;C:\skripte\subinacl&quot;</span>, <span style="color: #800000;">&quot;/file \\odin\homes\&quot;</span> &amp; username &amp; <span style="color: #800000;">&quot; /setowner=&quot;</span> &amp; username, , , 0)
		<span style="color: #E56717; font-weight: bold;">Call</span> IShellDispatch2.ShellExecute(<span style="color: #800000;">&quot;c:\skripte\subinacl&quot;</span>, <span style="color: #800000;">&quot;/subdirectories \\odin\homes\&quot;</span> &amp; username &amp; <span style="color: #800000;">&quot; /setowner=&quot;</span> &amp; username, , , 0)
		<span style="color: #E56717; font-weight: bold;">Call</span> IShellDispatch2.ShellExecute(<span style="color: #800000;">&quot;C:\skripte\cacls&quot;</span>, <span style="color: #800000;">&quot;\\odin\homes\&quot;</span> &amp; username &amp; <span style="color: #800000;">&quot; /T /G Administratoren:F &quot;</span> &amp; username &amp; <span style="color: #800000;">&quot;:F System:F &lt; echo j&quot;</span>, , , 0)
	<span style="color: #8D38C9; font-weight: bold;">end</span> <span style="color: #8D38C9; font-weight: bold;">if</span>
	err.clear
	<span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span>
	kontoneu.SetInfo
	<span style="color: #8D38C9; font-weight: bold;">if</span> Err.number = 0 <span style="color: #8D38C9; font-weight: bold;">then</span>
		WriteLog <span style="color: #800000;">&quot;Benutzername:  &quot;</span> &amp; username &amp; <span style="color: #800000;">&quot;   Passwort: &quot;</span> &amp; passwort
		AddToGroup gruppe_neu, kontoneu.ADsPath
		<span style="color: #008000;">' User in die ou peter_lustig_user verschieben
</span>		<span style="color: #151B8D; font-weight: bold;">set</span> dsMove = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;Shell.Application&quot;</span>)
		dsMoveArg = <span style="color: #800000;">&quot; &quot;</span> &amp; Chr(34) &amp; <span style="color: #800000;">&quot;CN=&quot;</span> &amp; username &amp; <span style="color: #800000;">&quot;,CN=Users,DC=w2k8-pool,DC=windows,DC=0rpheus,DC=net&quot;</span> &amp; Chr(34) &amp; _
	                       <span style="color: #800000;">&quot; -newparent &quot;</span> &amp; Chr(34) &amp; <span style="color: #800000;">&quot;OU=peter_lustig_user,DC=w2k8-pool,DC=windows,DC=0rpheus,DC=net&quot;</span> &amp; Chr(34)
		<span style="color: #E56717; font-weight: bold;">Call</span> dsMove.ShellExecute(<span style="color: #800000;">&quot;dsmove&quot;</span>, dsMoveArg, , ,0)
	<span style="color: #8D38C9; font-weight: bold;">else</span>
		<span style="color: #8D38C9; font-weight: bold;">if</span> Err.number = -2147022672 <span style="color: #8D38C9; font-weight: bold;">then</span>
			WriteLog <span style="color: #800000;">&quot;Fehler beim Anlegen von &quot;</span> &amp; username &amp; <span style="color: #800000;">&quot;: Nutzer existiert bereits&quot;</span>
		<span style="color: #8D38C9; font-weight: bold;">else</span>
			WriteLog <span style="color: #800000;">&quot;Fehler beim Anlegen von &quot;</span> &amp; username &amp; <span style="color: #800000;">&quot;: &quot;</span> &amp; Err.Number
		<span style="color: #8D38C9; font-weight: bold;">end</span> <span style="color: #8D38C9; font-weight: bold;">if</span>
	<span style="color: #8D38C9; font-weight: bold;">end</span> <span style="color: #8D38C9; font-weight: bold;">if</span>
	Err.Clear
<span style="color: #8D38C9; font-weight: bold;">Loop</span>
<span style="color: #008000;">' Dateien schließen
</span>infos.<span style="color: #8D38C9; font-weight: bold;">Close</span>
<span style="color: #151B8D; font-weight: bold;">output</span>.<span style="color: #8D38C9; font-weight: bold;">Close</span>
<span style="color: #008000;">' Protokoll anzeigen:
</span><span style="color: #008000;">'SYS: Microsoft (r) Script Runtime
</span><span style="color: #151B8D; font-weight: bold;">Set</span> wshshell = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>)
wshshell.Run <span style="color: #800000;">&quot;&quot;</span><span style="color: #800000;">&quot;&quot;</span> &amp; protokoll &amp; <span style="color: #800000;">&quot;&quot;</span><span style="color: #800000;">&quot;&quot;</span>
<span style="color: #E56717; font-weight: bold;">Sub</span> AddToGroup(gruppenname, kontoname)
	<span style="color: #151B8D; font-weight: bold;">On</span> <span style="color: #151B8D; font-weight: bold;">Error</span> <span style="color: #151B8D; font-weight: bold;">Resume</span> <span style="color: #8D38C9; font-weight: bold;">Next</span>
	<span style="color: #151B8D; font-weight: bold;">Set</span> gruppe = <span style="color: #E56717; font-weight: bold;">GetObject</span>(<span style="color: #800000;">&quot;WinNT://&quot;</span> &amp; ComputerName &amp; <span style="color: #800000;">&quot;/&quot;</span> &amp; gruppenname &amp; <span style="color: #800000;">&quot;,group&quot;</span>)
	gruppe.Add kontoname
	gruppe.SetInfo
	<span style="color: #8D38C9; font-weight: bold;">If</span> Err.number = 0 <span style="color: #8D38C9; font-weight: bold;">Then</span>
		<span style="color: #008000;">'WriteLog &quot;Konto ist Mitglied in Gruppe &quot; &amp; gruppenname
</span>	<span style="color: #8D38C9; font-weight: bold;">Else</span>
		<span style="color: #008000;">'WriteLog &quot;Konto konnte nicht zum Mitglied in Gruppe &quot; &amp; gruppenname &amp; &quot; gemacht werden.&quot;
</span>	<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span>
	Err.Clear
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #E56717; font-weight: bold;">Sub</span>
&nbsp;
<span style="color: #E56717; font-weight: bold;">Sub</span> WriteLog(text)
	<span style="color: #008000;">' eine Zeile ins Protokoll schreiben und Leerzeile einfügen
</span>	<span style="color: #151B8D; font-weight: bold;">output</span>.WriteLine text &amp; vbCrLf &amp; vbCrLf
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #E56717; font-weight: bold;">Sub</span>
&nbsp;
<span style="color: #E56717; font-weight: bold;">function</span> genPasswort()
	password = <span style="color: #800000;">&quot;&quot;</span>
	<span style="color: #8D38C9; font-weight: bold;">for</span> i=1 <span style="color: #8D38C9; font-weight: bold;">to</span> 12
		<span style="color: #8D38C9; font-weight: bold;">if</span> Int(100*Rnd <span style="color: #151B8D; font-weight: bold;">mod</span> 2 ) = 1 <span style="color: #8D38C9; font-weight: bold;">then</span>
			password = password &amp; chr(Int(61*Rnd+33))
		<span style="color: #8D38C9; font-weight: bold;">else</span>
			password = password &amp; chr(Int(29*Rnd+97))
		<span style="color: #8D38C9; font-weight: bold;">end</span> <span style="color: #8D38C9; font-weight: bold;">if</span>
	<span style="color: #8D38C9; font-weight: bold;">next</span>
	genPasswort = password
<span style="color: #8D38C9; font-weight: bold;">end</span> <span style="color: #E56717; font-weight: bold;">function</span></pre></div></div>

<p>
Der AD-Guru oder Windows-Hardcore User wird sicher sagen, wie dumm ist das denn, das geht in einen 3-Zeiler. Aber ich kann kein Windows und will es eigentlich auch nicht lernen <img src='http://0rpheus.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  Wenn ich Zeit hätte wüsste ich wie man mit den ds*-Tools das ganze schöner machen könnte. Ich habe das komplette Skript hier rein gestellt, da man sicher die ein oder andere Zeile klauen kann *g*. Der Passwortgenerator ist schlecht, es war aber die schnellste Lösung.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/tools/windows_nutzer_anlegen/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<enclosure url="http://www.rrzn.uni-hannover.de/fileadmin/it_sicherheit/pdf/SiTaWS05-ActiveDir.pdf" length="541025" type="application/pdf" /><media:content url="http://www.rrzn.uni-hannover.de/fileadmin/it_sicherheit/pdf/SiTaWS05-ActiveDir.pdf" fileSize="541025" type="application/pdf" /><itunes:explicit>no</itunes:explicit><itunes:subtitle> Ich habe vor einigen Tagen mich mit dem Active Directory beschäftigen müssen. Für mich als Solaris-User ist das eine ganz andere Welt. Deswegen habe ich mich sehr schwer getan, ohne Martin wär dieser Artikel nicht möglich gewesen. Er stand mir mit Rat un</itunes:subtitle><itunes:summary> Ich habe vor einigen Tagen mich mit dem Active Directory beschäftigen müssen. Für mich als Solaris-User ist das eine ganz andere Welt. Deswegen habe ich mich sehr schwer getan, ohne Martin wär dieser Artikel nicht möglich gewesen. Er stand mir mit Rat und Tat eine Stunde telefonisch zur Verfügung. Danke noch einmal! Nun zu meinen Problem: Ich wollte Nutzer aus einer spool-Datei automatisch in das Active Directory eintragen. Weiterhin mussten die Benutzer in die Organizational Unit peter_lustig_user verschoben werden. </itunes:summary><itunes:keywords>Programmieren, sonstiges, Tools, Active Directory, Nutzer, Passwort, Skript, vbs, Windows</itunes:keywords></item>
		<item>
		<title>Platz sparen mit zfs</title>
		<link>http://0rpheus.net/solaris/platz-sparen-mit-zfs</link>
		<comments>http://0rpheus.net/solaris/platz-sparen-mit-zfs#comments</comments>
		<pubDate>Fri, 22 Oct 2010 08:16:19 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[Deduplikation]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=4432</guid>
		<description><![CDATA[Mir sind heute meine Festplatten fast voll gelaufen. Also habe ich quick&#38;dirty die Kompression und die Deduplikation von zfs f&#252;r die betreffenden Dateisysteme aktiviert. Da zfs (noch) kein rewrite der Daten hat, habe ich angefangen die Daten zu kopieren und anschlie&#223;end die alte Version gel&#246;scht. Für import und Export von Pool hatte ich einfach zu [...]]]></description>
			<content:encoded><![CDATA[<p>
Mir sind heute meine Festplatten fast voll gelaufen. Also habe ich <a href="http://en.wikipedia.org/wiki/Quick-and-dirty">quick&amp;dirty</a> die Kompression und die Deduplikation von zfs f&uuml;r die betreffenden Dateisysteme aktiviert. Da zfs (noch) kein rewrite der Daten hat, habe ich angefangen die Daten zu kopieren und anschlie&szlig;end die alte Version gel&ouml;scht. Für import und Export von Pool hatte ich einfach zu wenig Platz, deswegen die umständliche Aktion mit dem kopieren. Und dann kam der Schreck: <tt>du -hs</tt> zeigte auf einmal eine kleinere Größe an. Nach einiger Nachforschung habe ich mitbekommen, dass <strong>d</strong>isk <strong>u</strong>sage wörtlich zu nehmen ist. <tt>du</tt> zeigt wirklich die Größe an, welche auf dem Device verbraucht wird. Das <a href="http://www.gnu.org/">GNU</a>-<tt>du</tt> kann hier Abhilfe schaffen, mit <tt>/usr/gnu/bin/du --apparent-size -hs</tt> bekommt man die Aufsummierte Größe der Dateien. In diesem Zusammenhang ist der <a href="http://www.cuddletech.com/blog/pivot/entry.php?id=983">Blogeintrag von Ben Rockwood</a> lesenswert.
</p>
<p>
Zum Schluss sei noch gesagt, dass sich die Aktion für meine Daten gelohnt hat. Ich habe <tt>zfs compression=on ....</tt> gesetzt, also keine gzip-Kompression benutzt.</p>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/solaris/platz-sparen-mit-zfs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenIndiana und erste Erfahrungen</title>
		<link>http://0rpheus.net/solaris/openindiana-und-erste-erfahrungen</link>
		<comments>http://0rpheus.net/solaris/openindiana-und-erste-erfahrungen#comments</comments>
		<pubDate>Fri, 17 Sep 2010 09:04:31 +0000</pubDate>
		<dc:creator>Michael Rennecke</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[enigmail]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Illumos]]></category>
		<category><![CDATA[OpenIndiana]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[pkg]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[Tastatur]]></category>
		<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://0rpheus.net/?p=4272</guid>
		<description><![CDATA[<p>
Ich habe es endlich geschafft: ein Update auf <strong><a href="http://openindiana.org/">OpenIndiana</a></strong> Im gro&#223;en und ganzen kann man es einigerma&#223;en benutzen. Die Lokalisierung ist mehr als schlecht. Das meiste kann man irgendwie fixen</p>]]></description>
			<content:encoded><![CDATA[<p>Ich habe es endlich geschafft: ein Update auf <strong><a href="http://openindiana.org/">OpenIndiana</a></strong> Im großen und ganzen kann man es einigermaßen benutzen. Die Lokalisierung ist mehr als schlecht. Das meiste kann man irgendwie fixen</p>
<h4>Update auf OpenIndiana</h4>
<p>Man findet <a href="http://wiki.openindiana.org/oi/Installing+or+Upgrading#InstallingorUpgrading-UpgradingfromOpenSolaris">hier</a> auch die orginale Anleitung zum Update.</p>
<ol>
<li>update auf Build 134 bzw. Build 134 booten (wie man bootet zeige ich nicht <img src='http://0rpheus.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  )

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg <span style="color: #c20cb9; font-weight: bold;">install</span> SUNWipkg SUNWipkg-um SUNWipkg-gui
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg set-publisher <span style="color: #660033;">-O</span> http:<span style="color: #000000; font-weight: bold;">//</span>pkg.openindiana.org<span style="color: #000000; font-weight: bold;">/</span>legacy opensolaris.org
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg image-update</pre></div></div>

</li>
<li> Update auf OpenIndiana

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg set-publisher <span style="color: #660033;">--non-sticky</span> opensolaris.org
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg set-publisher <span style="color: #660033;">-p</span> http:<span style="color: #000000; font-weight: bold;">//</span>pkg.openindiana.org<span style="color: #000000; font-weight: bold;">/</span>dev
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg set-publisher <span style="color: #660033;">-P</span> openindiana.org
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg uninstall entire
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg uninstall thunderbird <span style="color: #666666; font-style: italic;"># das Paket konnte ich nicht updaten</span>
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg uninstall songbird    <span style="color: #666666; font-style: italic;"># das Paket konnte ich nicht updaten</span>
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg image-update</pre></div></div>

</li>
</ol>
<h4>Troubleshooting</h4>
<ul>
<li>Ich bekomme folgende Fehler

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg image-update
DOWNLOAD                                  PKGS       FILES    XFER <span style="color: #7a0874; font-weight: bold;">&#40;</span>MB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
mail<span style="color: #000000; font-weight: bold;">/</span>thunderbird                       <span style="color: #000000;">183</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">838</span>  <span style="color: #000000;">8825</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">40200</span>  <span style="color: #000000;">120.2</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">648.9</span>  
&nbsp;
Fehler beim Abrufen von Paket oder Dateidaten für
den angeforderten Vorgang.
Details folgen:
&nbsp;
Invalid content path usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>thunderbird<span style="color: #000000; font-weight: bold;">/</span>thunderbird-bin: chash failure: expected: 64fd9c1561c244e0563dfc675dbd3a8c3c86f469 computed: 9179b65e28cc293105c6368ee818f1729eb7f991. <span style="color: #7a0874; font-weight: bold;">&#40;</span>happened <span style="color: #000000;">4</span> <span style="color: #7a0874; font-weight: bold;">times</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>oder</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> pfexec pkg image-update
DOWNLOAD                                  PKGS       FILES    XFER <span style="color: #7a0874; font-weight: bold;">&#40;</span>MB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
mail<span style="color: #000000; font-weight: bold;">/</span>thunderbird                       <span style="color: #000000;">190</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">838</span>  <span style="color: #000000;">7945</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">40200</span>  <span style="color: #000000;">131.8</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">648.9</span>  
&nbsp;
Errors were encountered <span style="color: #000000; font-weight: bold;">while</span> attempting to retrieve package or <span style="color: #c20cb9; font-weight: bold;">file</span> data <span style="color: #000000; font-weight: bold;">for</span>
the requested operation.
Details follow:
&nbsp;
Framework error: code: <span style="color: #000000;">18</span> reason: transfer closed with <span style="color: #000000;">13603900</span> bytes remaining to <span style="color: #c20cb9; font-weight: bold;">read</span>
URL: <span style="color: #ff0000;">'http://pkg.openindiana.org/dev/file/0/c5df73fea1fb6f63f0f17cf5e996e8525fc1a4f4'</span>. <span style="color: #7a0874; font-weight: bold;">&#40;</span>happened <span style="color: #000000;">4</span> <span style="color: #7a0874; font-weight: bold;">times</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Dann einfach das betreffende Paket deinstallieren und später wieder installieren.</p>
</li>
<li> Firefox und Thunderbird gehen nicht. Das Problem ist die Lokalisierung.
<p><br class="spacer_" /></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> <span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LANG</span>=C
rennecke<span style="color: #000000; font-weight: bold;">@</span>walhalla ~ <span style="color: #000000; font-weight: bold;">%</span> firefox <span style="color: #000000; font-weight: bold;">&amp;</span>amp;</pre></div></div>

</li>
<li>Ich habe das falsche Tastaturlayout

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rennecke<span style="color: #000000; font-weight: bold;">@</span>trantor ~ $ setxkbmap de           <span style="color: #666666; font-style: italic;"># setzt das persönlich Layout auf de</span>
rennecke<span style="color: #000000; font-weight: bold;">@</span>trantor ~ $ <span style="color: #c20cb9; font-weight: bold;">cat</span> .Xkbmap            <span style="color: #666666; font-style: italic;"># Datei wird ausgewertet, beim starten der Sitzung</span>
de</pre></div></div>

<p>Die ganzen anderen Möglichkeiten (welche solaristypisch sind) haben bei mir nicht funktioniert.</p>
</li>
<li>Enigmail bei Thunderbird funktioniert nicht mehr. Einfach auf der <a href="http://enigmail.mozdev.org/download/download-static.php">Webseite</a> das Plugin herunter laden und installieren</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://0rpheus.net/solaris/openindiana-und-erste-erfahrungen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	<media:rating>nonadult</media:rating></channel>
</rss>

