<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Marco Gabriel - Linux</title>
    <link>http://www.marcogabriel.com/blog/</link>
    <description>Ach ja.</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6 - http://www.s9y.org/</generator>
    <pubDate>Sun, 15 Apr 2012 14:58:45 GMT</pubDate>

    <image>
        <url>http://www.marcogabriel.com/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Marco Gabriel - Linux - Ach ja.</title>
        <link>http://www.marcogabriel.com/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Automatische btrfs Snapshots vor Installation</title>
    <link>http://www.marcogabriel.com/blog/archives/593-Automatische-btrfs-Snapshots-vor-Installation.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/593-Automatische-btrfs-Snapshots-vor-Installation.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=593</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=593</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;http://de.wikipedia.org/wiki/Btrfs&quot;&gt;Btrfs&lt;/a&gt;, so könnte man meinen, ist der kommende Star unter den Linux Filesystemen. Bis dahin ist es zwar noch ein weiter weg, denn auch btrfs hat noch einige Baustellen, aber es werden permanent weniger und die &lt;a href=&quot;https://btrfs.wiki.kernel.org/&quot;&gt;Entwicklung schreitet mit großen Schritten voran&lt;/a&gt;. Noch 2012 wird Oracle, als Arbeitgeber des Hauptentwicklers Chris Mason, das Filesystem als stabil kennzeichnen und es in der kommenden Version ihres Oracle Linux ganz offiziell supporten. Das alles lässt hoffen.&amp;#160;&lt;/p&gt; 
&lt;p&gt;Btrfs&amp;#160; hat einige wirklich überzeugende &lt;a href=&quot;https://btrfs.wiki.kernel.org/#Features&quot;&gt;Features&lt;/a&gt; und ich möchte einige dieser Features und konkrete Anwendungen dafür in der nächsten Zeit näher vorstellen. Den Anfang mache ich mit den btrfs Snapshots. &lt;/p&gt; 
&lt;p&gt;Ich habe kürzlich gesehen, wie jemand mit yum unter Oracle Linux vor jeder Installation einen &lt;a href=&quot;https://blogs.oracle.com/wim/entry/btrfs_root_and_yum_update&quot;&gt;automatischen Snapshot&lt;/a&gt; anlegte, um jederzeit wieder darauf zurücksetzen zu können. Das wollte ich für meine Ubuntu Installation ebenfalls. Die Umsetzung war dabei sehr leicht:&lt;/p&gt; 
&lt;p&gt;/etc/apt/apt.conf.d/70debconf &lt;br /&gt;&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;pre&gt;Dpkg::Pre-Invoke {&quot;mkdir -p /snapshots; ROOTFS=`mount | grep &#039; on / &#039; | \
cut -f1 -d&#039; &#039;`; mount $ROOTFS /snapshots; \
/sbin/btrfs subvolume snapshot /snapshots/@ /snapshots/@_snapshot_apt_`date +%Y-%m-%d_%H-%M-%S`; \
umount /snapshots&quot;;};
&lt;/pre&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;Apt (oder Aptitude) stellt eine Schnittstelle zur Verfügung um Befehle vor einer Paketinstallation auszuführen. Das können auch mehrere Befehle sein, so wie oben angegeben.&amp;#160;&lt;/p&gt; 
&lt;p&gt; Die Vorgehensweise ist wie folgt: &lt;/p&gt; 
&lt;ol&gt; 
&lt;li&gt;Es wird ein Ordner /snapshots angelegt, sofern dieser noch nicht existiert.&lt;/li&gt; 
&lt;li&gt;Wir finden heraus, welches Device als root gemounted ist&lt;/li&gt; 
&lt;li&gt;Wir schneiden uns den Device Teil heraus und hängen diesen unter /snapshots noch mal ein (btrfs kann das)&lt;/li&gt; 
&lt;li&gt;Ein Snapshot von / wird in /snapshot/@_snapshot_apt_(datum) erzeugt&lt;/li&gt; 
&lt;li&gt;Der Mountpoint /snapshots wird wieder ausgehängt um eine unbeabsichtigte Änderung zu vermeiden.&lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;Da ein solcher btrfs Snapshop nur Sekundenbruchteile dauert, merkt man es bei einer Installation gar nicht, aber der Systemzustand wird festgehalten. Sollte man nach der Installation nun feststellen, dass etwas nicht läuft oder es sich nur um einen Test gehandelt hat, den man nun wieder rückgängig machen möchte, geht man wie folgt vor:&lt;/p&gt; 
&lt;ol&gt; 
&lt;li&gt;Das Root Device hängen wir noch mal unter /snapshots ein: &lt;strong&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;mount &amp;lt;root device&amp;gt; /snapshots&lt;/font&gt;&lt;/strong&gt;&lt;/li&gt; 
&lt;li&gt;Ein &lt;strong&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;btrfs subvolumes list /snapshots&lt;/font&gt;&lt;/strong&gt; zeigt uns alle angelegten Snapshots&lt;/li&gt; 
&lt;li&gt;Mittels &lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;strong&gt;mv @ @_oldroot&lt;/strong&gt;&lt;/font&gt; und einem anschließenden &lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;strong&gt;mv @_snapshot_apt_(datum) @&lt;/strong&gt;&lt;/font&gt; aktivieren wir den früheren Snapshot wieder als root&lt;/li&gt; 
&lt;li&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;strong&gt;reboot&lt;/strong&gt;&lt;/font&gt;&lt;/li&gt; 
&lt;/ol&gt; 
&lt;p&gt;Nach einem Reboot des Systems sind nun alle nach dem Snapshot installierten Pakete und alle Veränderungen am Filesystem wieder zurückgesetzt worden, so als wäre es nie geschehen.&lt;/p&gt; 
&lt;p&gt;So kann man beliebig mit den Snapshots hin- und herwandern. Alle Snapshots sind übrigens auch regulär beschreibbar. Nicht mehr benötigte Snapshots kann man einfach mit einem &lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;strong&gt;btrfs subvolume delete /snapshots/&amp;lt;snapshot-name&amp;gt;&lt;/strong&gt;&lt;/font&gt; entfernen. &lt;/p&gt; 
&lt;p&gt;Zum Ende noch eine Warnung: Da Ubuntu btrfs als root Filesystem zwar unterstützt, aber von der Standardimplementierung abweicht, funktioniert die oben angegebene Vorgehensweise nur auf Ubuntu, nicht aber auf Debian Systemen. Bei Debian Systemen ab Squeeze funktioniert dies zwar grundsätzlich schon, man muss jedoch mit den Subvolumes etwas anders umgehen. Debian hält sich an den Weg, wie ihn btrfs eigentlich vorgibt, Ubuntu weicht dagegen ab.&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 15 Apr 2012 16:58:45 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/593-guid.html</guid>
    <category>apt</category>
<category>apt-get</category>
<category>aptitude</category>
<category>btrfs</category>
<category>howto</category>
<category>install</category>
<category>linux</category>
<category>snapshot</category>
<category>snapshots</category>

</item>
<item>
    <title>cdrecord unter Debian 6</title>
    <link>http://www.marcogabriel.com/blog/archives/591-cdrecord-unter-Debian-6.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/591-cdrecord-unter-Debian-6.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=591</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=591</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Wer in Debian 6 eine Möglichkeit sucht, ein ISO Image auf einen Rohling zu brennen, wird cdrecord vermissen. Dies ist in Debian mittlerweile nicht mehr enthalten. Stattdessen kann man aber auf wodim zurückgreifen.&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;pre&gt;aptitude install wodim&lt;/pre&gt; 
&lt;pre&gt;wodim tolles-image.iso&lt;/pre&gt; 
&lt;p&gt;&lt;br /&gt;&lt;/p&gt; 
&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Mon, 12 Mar 2012 00:18:44 +0100</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/591-guid.html</guid>
    <category>brennen</category>
<category>cdrecord</category>
<category>debian</category>
<category>image</category>
<category>iso</category>
<category>wodim</category>

</item>
<item>
    <title>Ubuntu / Debian: Installierte .deb Pakete eines Servers auf einem anderen Server installieren</title>
    <link>http://www.marcogabriel.com/blog/archives/589-Ubuntu-Debian-Installierte-.deb-Pakete-eines-Servers-auf-einem-anderen-Server-installieren.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/589-Ubuntu-Debian-Installierte-.deb-Pakete-eines-Servers-auf-einem-anderen-Server-installieren.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=589</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=589</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Es kommt immer wieder mal vor, dass ein Server installiert werden muss, der einen alten Server ersetzen soll. So lange nur wenige Dienste oder Pakete auf dem alten Server installiert waren, lässt sich das auch schnell aus dem Kopf erledigen. Pakete auf dem neuen Server installieren, Config übernehmen, Config anpassen, läuft. &lt;/p&gt; 
&lt;p&gt;Allerdings gibt es auch Server, auf denen viele Pakete installiert sind und die mehrere Dienste anbieten. Hier eine Vorgehensweise, um sich das Leben einfacher zu machen:&lt;/p&gt; 
&lt;p&gt;Auf dem alten Server:&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;pre&gt;dpkg --get-selections | grep -v deinstall &amp;gt; package_list.txt&lt;/pre&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;Auf dem neuen Server:&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;pre&gt;dpkg --set-selections &amp;lt; package_list.txt&lt;/pre&gt; 
&lt;pre&gt;dselect&lt;/pre&gt; 
&lt;pre&gt;3. [I]nstall&lt;/pre&gt; 
&lt;pre&gt;4. [C]onfig&lt;/pre&gt; 
&lt;pre&gt;5. [R]emove (optional)&lt;/pre&gt; 
&lt;pre&gt;6. [Q]uit&lt;/pre&gt; 
&lt;/blockquote&gt;     Oder alles in einem Schritt vom neuen Server aus (alles in einer Zeile):



&lt;blockquote&gt; 
&lt;pre&gt;neuer-server~# ssh user@alter-server dpkg --get-selections | grep -v deinstall | \
dpkg --set-selections &amp;amp;&amp;amp; dselect update &amp;amp;&amp;amp; dselect install &amp;amp;&amp;amp; dselect config&lt;/pre&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;Danach sind die auf dem alten Server installierten Pakete auf dem
neuen Server ebenfalls installiert. Die Konfiguration muss dann
natürlich noch übernommen und angepasst werden, denn in der Regel
kommen auf dem neuen Server auch neuere Versionen der Pakete zum
Einsatz.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 24 Aug 2011 12:14:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/589-guid.html</guid>
    <category>clone</category>
<category>deb</category>
<category>debian</category>
<category>dpkg</category>
<category>dselect</category>
<category>linux</category>
<category>packages</category>
<category>pakete</category>
<category>shell</category>
<category>ssh</category>
<category>ubundu</category>
<category>übernahme</category>

</item>
<item>
    <title>Linux Backup mit Duply, Duplicity und Rdiff-Backup auf (potentiell unsichere) Online Speicher (Teil 2)</title>
    <link>http://www.marcogabriel.com/blog/archives/586-Linux-Backup-mit-Duply,-Duplicity-und-Rdiff-Backup-auf-potentiell-unsichere-Online-Speicher-Teil-2.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/586-Linux-Backup-mit-Duply,-Duplicity-und-Rdiff-Backup-auf-potentiell-unsichere-Online-Speicher-Teil-2.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=586</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=586</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;h2&gt;Teil 2: Duply und Duplicity&lt;/h2&gt; 
&lt;p&gt;Im &lt;a href=&quot;http://www.marcogabriel.com/blog/archives/585-Linux-Backup-mit-Duply,-Duplicity-und-Rdiff-Backup-auf-potentiell-unsichere-Online-Speicher-Teil-1.html&quot;&gt;ersten Teil&lt;/a&gt; habe ich ja bereits die Unterschiede zwischen &lt;a href=&quot;http://sourceforge.net/projects/ftplicity/&quot;&gt;Duply&lt;/a&gt; / &lt;a href=&quot;http://www.nongnu.org/duplicity/&quot;&gt;Duplicity&lt;/a&gt; und &lt;a href=&quot;http://www.nongnu.org/rdiff-backup/&quot;&gt;Rdiff-Backup&lt;/a&gt; geschildert. In diesem Teil gehe ich also davon aus, dass man Duplicity verwendet, weil man vom Provider einen FTP Backup Space zur Verfügung gestellt bekommen hat oder &lt;a href=&quot;http://aws.amazon.com/de/s3/&quot;&gt;Amazons S3&lt;/a&gt; nutzt. &lt;/p&gt;
&lt;p&gt; &lt;/p&gt; 
&lt;h2&gt;Installation&lt;/h2&gt; 
&lt;p&gt;Unter Ubuntu 10.04 LTS / Lucid Lynx könnte es kaum einfacher sein. Die Pakete sind bereits im Repository vorhanden und können direkt mittels aptitude installiert werden.&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;pre&gt;aptitude install duply duplicity
&lt;/pre&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;Wer ältere Ubuntu Versionen oder andere Distributionen nutzt, kann Duply auch direkt von der Downloadsite nehmen und das Python Script unter /usr/bin legen und als ausführbar markieren (chmod +x /usr/bin/duply). Duplicity sollte in jedem halbwegs aktuellen Repository jedoch vorhanden sein.&lt;/p&gt;&lt;br /&gt; &lt;br /&gt;&lt;a href=&quot;http://www.marcogabriel.com/blog/archives/586-Linux-Backup-mit-Duply,-Duplicity-und-Rdiff-Backup-auf-potentiell-unsichere-Online-Speicher-Teil-2.html#extended&quot;&gt;Continue reading &quot;Linux Backup mit Duply, Duplicity und Rdiff-Backup auf (potentiell unsichere) Online Speicher (Teil 2)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 13 Jul 2010 00:50:51 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/586-guid.html</guid>
    <category>amazon</category>
<category>backup</category>
<category>crypted</category>
<category>duplicity</category>
<category>duply</category>
<category>encrypted</category>
<category>ftp</category>
<category>howto</category>
<category>linux</category>
<category>restore</category>
<category>s3</category>
<category>unsicher</category>
<category>untrusted</category>
<category>verschlüsselt</category>

</item>
<item>
    <title>Linux Backup mit Duply, Duplicity und Rdiff-Backup auf (potentiell unsichere) Online Speicher (Teil 1)</title>
    <link>http://www.marcogabriel.com/blog/archives/585-Linux-Backup-mit-Duply,-Duplicity-und-Rdiff-Backup-auf-potentiell-unsichere-Online-Speicher-Teil-1.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/585-Linux-Backup-mit-Duply,-Duplicity-und-Rdiff-Backup-auf-potentiell-unsichere-Online-Speicher-Teil-1.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=585</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=585</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Same procedure as every year, James!&lt;/p&gt; 
&lt;p&gt;Der neue Rootserver ist fertig, aber benötigt noch ein Backup. Hat man nun nicht gerade ein Rechenzentrum im Keller und kann dort Bänder wechseln gehen, bietet sich für Rootserver ein Backup auf verfügbaren Onlinespeicher an. Das kann in einigen Fällen ein weiterer Rootserver mit noch reichlich Platz sein, aber auch ein vom Provider zur Verfügung gestellter FTP Server oder auch Amazons S3 sind gute Alternativen.&lt;/p&gt; 
&lt;p&gt;Diverse Tools machen einem das Leben deutlich leichter und Backups zum Vergnügen. Im Folgenden gehe ich auf Duply/Duplicity und Rdiff-Backup in Verbindung mit einem weiteren Backup-Server, FTP Server und Amazon S3 ein und zeige wie man sichere Backups erstellt, die man hinterher auch wieder brauchen kann.&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://www.marcogabriel.com/blog/archives/585-Linux-Backup-mit-Duply,-Duplicity-und-Rdiff-Backup-auf-potentiell-unsichere-Online-Speicher-Teil-1.html#extended&quot;&gt;Continue reading &quot;Linux Backup mit Duply, Duplicity und Rdiff-Backup auf (potentiell unsichere) Online Speicher (Teil 1)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 13 Jul 2010 00:10:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/585-guid.html</guid>
    <category>amazon</category>
<category>backup</category>
<category>duplicity</category>
<category>online</category>
<category>rdiff-backup</category>
<category>restore</category>
<category>rsync</category>
<category>s3</category>
<category>vergleich</category>

</item>
<item>
    <title>Delete Files older than 30 days on Linux</title>
    <link>http://www.marcogabriel.com/blog/archives/582-Delete-Files-older-than-30-days-on-Linux.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/582-Delete-Files-older-than-30-days-on-Linux.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=582</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=582</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;blockquote&gt;
find /path/to/files* -mtime +30 -exec rm {} \;
&lt;/blockquote&gt; 
&lt;p&gt;Ich mag Einzeiler... &lt;img src=&quot;http://www.marcogabriel.com/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 25 Jun 2010 20:16:59 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/582-guid.html</guid>
    <category>delete</category>
<category>einzeiler</category>
<category>linux</category>
<category>löschen</category>
<category>rm</category>
<category>tage</category>

</item>
<item>
    <title>raid initializing</title>
    <link>http://www.marcogabriel.com/blog/archives/580-raid-initializing.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/580-raid-initializing.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=580</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=580</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;irgendwie bleibt immer ein seltsames Gefühl, wenn nach einem einfachen Reboot der Hardware Controller für eine Weile auf &amp;quot;Initializing&amp;quot; steht. Auch wenn&#039;s laut Handbuch bei 3ware Controllern im RAID1 nichts ungewöhliches ist.&lt;/p&gt;
&lt;p&gt;Ein Blick in&#039;s &lt;a href=&quot;http://www.3ware.com/support/UserDocs/EscaladeUG7000-122003.pdf&quot;&gt;gut versteckte Handbuch&lt;/a&gt; auf die Seiten 150 bis 158 hilft beim Beruhigen.&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 30 May 2010 19:58:24 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/580-guid.html</guid>
    <category>3ware</category>
<category>initializing</category>
<category>raid</category>
<category>raid1</category>
<category>reboot</category>

</item>
<item>
    <title>Update von Jaunty auf Karmic</title>
    <link>http://www.marcogabriel.com/blog/archives/557-Update-von-Jaunty-auf-Karmic.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/557-Update-von-Jaunty-auf-Karmic.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=557</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=557</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    ...war absolut schmerzfrei. Alles läuft auf anhieb. 
    </content:encoded>

    <pubDate>Sun, 01 Nov 2009 11:18:26 +0100</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/557-guid.html</guid>
    <category>jaunty</category>
<category>karmic</category>
<category>linux</category>
<category>ubuntu</category>
<category>update</category>

</item>
<item>
    <title>Ubuntu Jaunty / 9.04 Performance und die Sache mit dem Atom</title>
    <link>http://www.marcogabriel.com/blog/archives/530-Ubuntu-Jaunty-9.04-Performance-und-die-Sache-mit-dem-Atom.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/530-Ubuntu-Jaunty-9.04-Performance-und-die-Sache-mit-dem-Atom.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=530</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=530</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Auf einem schlanken, schmalen, stromsparenden Atom 230 Rechner installierte ich kürzlich Ubuntu. Zunächst die 8.10, danach per Upgrade die 9.04. Alles lief soweit zufriedenstellend, aber so richtig glücklich war ich mit der Performance nicht. Ich dachte länger, dass es wohl so sei, wenn man einen Atom230 mit einer 1920x1080er Auflösung beauftragt, &lt;del&gt;denn Hubraum lässt sich nur durch mehr Hubraum ersetzen&lt;/del&gt; und man daher auch damit leben müsse. Muss man aber nicht.&lt;/p&gt; 
&lt;p&gt;Nach einigen Änderungen ist mein Atom-Ubuntu nun deutlich flotter als vorher und die Arbeit macht ebenfalls mehr Spass. Hier die Punkte, an die man als leidgeplagter Performance-Junkie Hand anlegen sollte: &lt;/p&gt; 
&lt;ul&gt; 
&lt;li&gt;Remote Desktop abschalten&lt;/li&gt; 
&lt;li&gt;Pulseaudio durch esound ersetzen&lt;/li&gt; 
&lt;li&gt;Python 2.5 deinstallieren, sofern es nicht mehr benötigt wird (Standard ist sowieso Python 2.6)&lt;/li&gt; 
&lt;li&gt;Xorg beschleunigen (hier habe ich das meiste rausholen können)&lt;/li&gt; 
&lt;li&gt;Prozessortaktung beeinflussen&lt;/li&gt; 
&lt;li&gt;&amp;quot;Swappiness&amp;quot; konfigurieren&lt;/li&gt; 
&lt;/ul&gt;Mehr zu den einzelnen Punkten gibt&#039;s auf &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1152095&quot;&gt;hier&lt;/a&gt;. &lt;br /&gt; 
    </content:encoded>

    <pubDate>Sun, 19 Jul 2009 13:16:32 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/530-guid.html</guid>
    <category>230</category>
<category>atom</category>
<category>beschleunigung</category>
<category>jaunty</category>
<category>performance</category>
<category>swapiness</category>
<category>ubuntu</category>
<category>xorg</category>
<category>xserver</category>

</item>
<item>
    <title>.cue / .bin unter Linux mounten oder brennen</title>
    <link>http://www.marcogabriel.com/blog/archives/527-.cue-.bin-unter-Linux-mounten-oder-brennen.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/527-.cue-.bin-unter-Linux-mounten-oder-brennen.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=527</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=527</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;.cue und .bin Dateien sind keine .iso Dateien. Nicht einmal annähernd. Unter Windows verstehen viele Brennprogramme das Format trotzdem und brennen es anstandslos auf eine Silberscheibe. Unter Linux sieht das nicht ganz so aus. Ich habe mich auch immer wieder darüber geärgert, bis ich über &lt;em&gt;bchunk&lt;/em&gt; gestolpert bin. &lt;/p&gt; 
&lt;p&gt;Dieses Programm ist in der Lage, aus .cue und .bin mal eben eine .iso zu erstellen:&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;pre&gt;bchunk -v image.bin image.cue image 
&lt;/pre&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;Nach ein wenig auf der Platte rödeln findet man eine fertige &lt;em&gt;image.iso&lt;/em&gt; Datei. Und die kann man problemlos brennen, auch unter Linux.&lt;/p&gt; 
&lt;p&gt;bchunk ist übrigens in vielen Repositories bereits vorhanden, so dass man es unter Ubuntu mit einem &lt;font face=&quot;courier new,courier,monospace&quot;&gt;&lt;em&gt;aptitude install bchunk&lt;/em&gt;&lt;/font&gt; problemlos installieren kann. &lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 16 Jul 2009 18:26:31 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/527-guid.html</guid>
    <category>aptitude</category>
<category>bchunk</category>
<category>bin</category>
<category>brennen</category>
<category>cd</category>
<category>cue</category>
<category>dvd</category>
<category>iso</category>
<category>linux</category>
<category>ubuntu</category>

</item>
<item>
    <title>tar split</title>
    <link>http://www.marcogabriel.com/blog/archives/522-tar-split.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/522-tar-split.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=522</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=522</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Wer von irgendeinem Linux Filesystem auf eine externe Festplatte mit FAT(32) Filesystem Daten sichern möchte, kann ein Lied davon singen. Nicht, dass man unbedingt FAT32 haben möchte, aber die meisten externen Festplatten sind ab Werk damit vorformatiert und laufen daher an den meisten Betriebssystemen out-of-the-box.&lt;/p&gt; 
&lt;p&gt; FAT32 beschränkt die maximale Dateigröße jedoch auf 4 GB pro Datei. Für eine Datensicherung ist das heutzutage nicht mehr besonders viel.&lt;/p&gt; 
&lt;p&gt;Linux selbst bringt die Lösung in Form der Kombination aus den beiden Kommandos &lt;strong&gt;tar&lt;/strong&gt; und &lt;strong&gt;split&lt;/strong&gt; bereits mit:&lt;br /&gt;&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;p&gt;tar cpf - /home | split -a 3 -d -b 1G - /mnt/backuphd/meinbackup.tar.&lt;/p&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;tar packt den Inhalt des Ordners /home zusammen und sendet ihn an die Standardausgabe (&amp;quot;-&amp;quot;), wo split die Daten entgegen nimmt, in 1 GB grosse Stückchen zerteilt, und nach /mnt/backuphd/meinbackup.tar.000&amp;#160; bis /mnt/backuphd/meinbackup.tar.xxx&amp;#160; speichert. Die letzten drei Ziffern werden jeweils hochgezählt.&lt;/p&gt; 
&lt;p&gt;Aus diesem Archiv rekonstruieren ist ebenso einfach:&lt;/p&gt; 
&lt;blockquote&gt; 
&lt;p&gt;cat /mnt/backuphd/meinbackup.tar.* | tar xvf - /home&lt;/p&gt; 
&lt;/blockquote&gt; 
&lt;p&gt;Man sollte mit sensiblen Daten immer zuerst einen Testdurchlauf machen. Es wäre schade, wenn das Backup später unbrauchbar wäre, weil man irgendeine falsche Option oder einen falschen Pfad angegeben hat.&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 15 Jul 2009 11:35:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/522-guid.html</guid>
    <category>aufteilen</category>
<category>backup</category>
<category>datensicherung</category>
<category>externe festplatte</category>
<category>fat</category>
<category>fat32</category>
<category>linux</category>
<category>restore</category>
<category>split</category>
<category>tar</category>

</item>
<item>
    <title>Error: bad minute; while reading /etc/crontab</title>
    <link>http://www.marcogabriel.com/blog/archives/515-Error-bad-minute;-while-reading-etccrontab.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/515-Error-bad-minute;-while-reading-etccrontab.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=515</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=515</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Gerade eben stellte ich fest, dass auf einem Ubuntu 8.04 Server die Cron-Jobs nicht mehr ausgeführt werden. Also machte ich mich auf die Suche nach dem Grund, konnte ihn aber zunächst nicht finden. In der /var/log/syslog dann der erste Hinweis:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;Error: bad minute; while reading /etc/crontab&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Die /etc/crontab sah allerdings sehr normal aus. Da gab es keine falschen Einträge oder fehlende Angaben. Nach einigem auskommentieren und testen bin ich dann auf die Lösung gekommen. In der crontab fand ich folgende Zeile, bei der ich mir erst mal nichts dachte:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;MAILTO= 
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;Allerdings interpretiert cron diese Zeile so, dass er MAILTO= für die Angabe der Minuten hält und danach nichts mehr kommt. Und MAILTO= ist auch keine gültige Angabe für Minuten &lt;img src=&quot;http://www.marcogabriel.com/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;. Also entweder eine Mailadresse dahinter schreiben oder wie in meinem Falle mit einem # auskommentieren. Dann cron neustarten und schon funktionierts auch wieder.&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Thu, 09 Jul 2009 14:22:17 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/515-guid.html</guid>
    <category>cron</category>
<category>fehler</category>
<category>linux</category>
<category>mailto</category>
<category>minute</category>
<category>shell</category>

</item>
<item>
    <title>RDP schneller machen über NX</title>
    <link>http://www.marcogabriel.com/blog/archives/510-RDP-schneller-machen-ueber-NX.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/510-RDP-schneller-machen-ueber-NX.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=510</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=510</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;RDP, das &lt;a href=&quot;http://de.wikipedia.org/wiki/Remote_Desktop_Protocol&quot;&gt;Remote Desktop Protocol&lt;/a&gt;, macht seine Arbeit beim Zugriff auf entfernte Server soweit ja ganz ordentlich. Mittlerweile liegt RDP in Version 6 vor und es gibt sogar unter Linux einen funktionierenden Client und auch einen funktionierenden RDP Server. Steht der zu steuernde Server allerdings hinter einer nicht ganz so breitbandigen Verbindung, lahmt RDP gelegentlich auch mal dahin. Selbst wenn man die Performance optimiert, fliesst es so la la, abhängig eben von der Upload-Bandbreite des Anschlusses an dem der Server hängt. Da auch ich oft auf RDP Server zugreife(n muss), die hinter einem normalen DSL Anschluss hängen kenne ich das Problem also auch aus erster Hand. &lt;/p&gt; 
&lt;p&gt;Interessant wird&#039;s, wenn man über den RDP Tellerrand hinausschaut. Dort gibt es zum Beispiel für den Betrieb von Linux Terminalservern von &lt;a href=&quot;http://www.nomachine.com&quot;&gt;Nomachine&lt;/a&gt; ein Produkt namens &lt;a href=&quot;http://www.nomachine.com/documents/getting-started.php&quot;&gt;NX&lt;/a&gt;, welches eine ordentliche Performance an den Tag legt und über normales SSH gefahren wird. NX kann aber auch mehr. Mit NX&#039; Hilfe lassen sich beispielsweise auch RDP Connections beschleunigen.&lt;/p&gt; 
&lt;p&gt;Zum Beispiel baue ich eine Verbindung mit NX über eine DSL Leitung zu einem Linux Server auf, der im gleichen LAN wie der RDP Server steht. Auf diesem Linux Server starte ich nun meinen RDP Client und verbinde mich auf den RDP Server. Das alleine sorgt schon für einen ordentlichen Performancegewinn, mit dem die Arbeit auf einem Windows Terminal Server über RDP deutlich flüssiger von der Hand geht. &lt;/p&gt; 
&lt;p&gt;Ausprobieren empfohlen. Ich könnte vielleicht auch mal ein Video vom Unterschied machen, was allerdings Zeit kostet, die ich momentan in andere Dinge stecke. Weshalb sonst sollte ich auch RDP beschleunigen wollen? &lt;img src=&quot;http://www.marcogabriel.com/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 06 Jul 2009 18:05:05 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/510-guid.html</guid>
    <category>client</category>
<category>linux</category>
<category>nomachine</category>
<category>nx</category>
<category>rdp</category>
<category>server</category>
<category>thin client</category>
<category>thinclient</category>
<category>tunnel</category>
<category>windows</category>

</item>
<item>
    <title>Ubuntu 9.04 beta erschienen</title>
    <link>http://www.marcogabriel.com/blog/archives/492-Ubuntu-9.04-beta-erschienen.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/492-Ubuntu-9.04-beta-erschienen.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=492</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=492</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    
&lt;p&gt;...und die macht nen ziemlich schlanken Fuss. Überraschend und gut: Schnelleres Booten, etwas flüssiger beim Arbeiten auf einem Atom230 und auf Anhieb bei mir ohne Schwierigkeiten. &lt;a href=&quot;http://ikhaya.ubuntuusers.de/2009/03/27/ubuntu-9.04-jaunty-jackalope-:-beta-erschienen/&quot;&gt;Hinweise und Download wie üblich&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Jetzt noch die übliche Warnung: BETA! BETA! BETA! - Also noch nichts für Produktivumgebungen.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 30 Mar 2009 10:18:23 +0200</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/492-guid.html</guid>
    <category>9.04</category>
<category>beta</category>
<category>erster eindruck</category>
<category>jaunty</category>
<category>ubuntu</category>

</item>
<item>
    <title>SNOM Telefone</title>
    <link>http://www.marcogabriel.com/blog/archives/491-SNOM-Telefone.html</link>
            <category>Linux</category>
    
    <comments>http://www.marcogabriel.com/blog/archives/491-SNOM-Telefone.html#comments</comments>
    <wfw:comment>http://www.marcogabriel.com/blog/wfwcomment.php?cid=491</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.marcogabriel.com/blog/rss.php?version=2.0&amp;type=comments&amp;cid=491</wfw:commentRss>
    

    <author>nospam@example.com (Marco Gabriel)</author>
    <content:encoded>
    &lt;p&gt;Hatte ich schon mal erwähnt, wie begeistert ich von SNOM Telefonen bin?&lt;/p&gt;&lt;p&gt;Ich staune gelegentlich mal, dass man dort eben alles so macht, wie&#039;s ein vernünftiger Mensch auch tun würde. &lt;img src=&quot;http://www.marcogabriel.com/blog/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Tue, 24 Mar 2009 12:41:04 +0100</pubDate>
    <guid isPermaLink="false">http://www.marcogabriel.com/blog/archives/491-guid.html</guid>
    <category>begeistert</category>
<category>linux</category>
<category>snom</category>
<category>telefon</category>
<category>voip</category>

</item>

</channel>
</rss>
