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

<channel>
	<title>i live in my own little world, but it&#039;s ok... they know me here &#187; linux</title>
	<atom:link href="http://ww.sd.vc/wp/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://ww.sd.vc/wp</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 21:09:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>opsview updated failed</title>
		<link>http://ww.sd.vc/wp/2011/10/30/opsview-updated-failed/</link>
		<comments>http://ww.sd.vc/wp/2011/10/30/opsview-updated-failed/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 06:24:10 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[opsview]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4266</guid>
		<description><![CDATA[auf meinem quasi frischen nagios server ist gleich das erste update auf die nase gefallen. Preparing to replace opsview-core 3.13.0.6479-1squeeze1 (using .../opsview-core_3.13.1.6691-1squeeze1_all.deb) ... Environment not set - have you run 'su - nagios'? invoke-rc.d: initscript opsview, action &#34;stop&#34; failed. dpkg: warning: subprocess old pre-removal script returned error exit status 2 dpkg - trying script from [...]]]></description>
			<content:encoded><![CDATA[<p>auf meinem quasi frischen nagios server ist gleich das erste update auf die nase gefallen.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Preparing to replace opsview-core 3.13.0.6479-1squeeze1 (using .../opsview-core_3.13.1.6691-1squeeze1_all.deb) ...
Environment not set - have you run 'su - nagios'?
invoke-rc.d: initscript opsview, action &quot;stop&quot; failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Environment not set - have you run 'su - nagios'?
invoke-rc.d: initscript opsview, action &quot;stop&quot; failed.
dpkg: error processing /var/cache/apt/archives/opsview-core_3.13.1.6691-1squeeze1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
configured to not write apport reports
                                      Nagios already running
invoke-rc.d: initscript opsview, action &quot;start&quot; failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/opsview-core_3.13.1.6691-1squeeze1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)</pre></div></div>

<p>mit ein bischen suchen habe ich auch bald eine <a href="http://www.opsview.com/de/forum/opsview-community-edition/latest-release/cant-upgrade-opsview" target="_blank">loesung gefunden</a>. das problem war, dass die datei .profile im home des user nagios nicht komplett war. scheinbar hat das bei der urspruenglichen installation nicht hingehauen. so kriegt man das wieder auf die reihe:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;test -f /usr/local/nagios/bin/profile &amp;&amp; . /usr/local/nagios/bin/profile&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ~nagios<span style="color: #000000; font-weight: bold;">/</span>.profile
<span style="color: #c20cb9; font-weight: bold;">chown</span> nagios:nagios ~nagios<span style="color: #000000; font-weight: bold;">/</span>.profile</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/10/30/opsview-updated-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ein wievielfacher fehler ist das?</title>
		<link>http://ww.sd.vc/wp/2011/10/28/ein-wievielfacher-fehler-ist-das/</link>
		<comments>http://ww.sd.vc/wp/2011/10/28/ein-wievielfacher-fehler-ist-das/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 16:53:21 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4252</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://ww.sd.vc/wp/wp-content/uploads/2011/10/20111028_403403403.jpg" alt="" title="20111028_403403403" width="465" height="354" class="alignnone size-full wp-image-4253" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/10/28/ein-wievielfacher-fehler-ist-das/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zwei ordner mit dem gleichen namen</title>
		<link>http://ww.sd.vc/wp/2011/10/26/zwei-ordner-mit-dem-gleichen-namen/</link>
		<comments>http://ww.sd.vc/wp/2011/10/26/zwei-ordner-mit-dem-gleichen-namen/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 04:06:56 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4249</guid>
		<description><![CDATA[nanunana&#8230; auf einem linux rechner hab ich auf einmal zwei verzeichnisse mit dem gleichen namen. ls -l drwxr-xr-x 4 user1 user1 4096 2011-10-20 15:12 daten drwxr-xr-x 2 user1 user1 4096 2011-10-25 22:36 daten wie kann das sein? es kann vorkommen (die gruende koennen vielfaeltig sein), dass sich &#8220;nicht sichtbare zeichen&#8221; in einen namen eingeschlichen haben. [...]]]></description>
			<content:encoded><![CDATA[<p>nanunana&#8230; auf einem linux rechner hab ich auf einmal zwei verzeichnisse mit dem gleichen namen.</p>

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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">drwxr-xr-x <span style="color: #000000;">4</span> user1 user1 <span style="color: #000000;">4096</span> <span style="color: #000000;">2011</span>-<span style="color: #000000;">10</span>-<span style="color: #000000;">20</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">12</span> daten
drwxr-xr-x <span style="color: #000000;">2</span> user1 user1 <span style="color: #000000;">4096</span> <span style="color: #000000;">2011</span>-<span style="color: #000000;">10</span>-<span style="color: #000000;">25</span> <span style="color: #000000;">22</span>:<span style="color: #000000;">36</span> daten</pre></div></div>

<p>wie kann das sein? es kann vorkommen (die gruende koennen vielfaeltig sein), dass sich &#8220;nicht sichtbare zeichen&#8221; in einen namen eingeschlichen haben. die option &#8220;-b&#8221; hilft bei deinem freundlichen &#8220;ls&#8221;</p>

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


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">drwxr-xr-x <span style="color: #000000;">4</span> user1 user1 <span style="color: #000000;">4096</span> <span style="color: #000000;">2011</span>-<span style="color: #000000;">10</span>-<span style="color: #000000;">20</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">12</span> daten
drwxr-xr-x <span style="color: #000000;">2</span> user1 user1 <span style="color: #000000;">4096</span> <span style="color: #000000;">2011</span>-<span style="color: #000000;">10</span>-<span style="color: #000000;">25</span> <span style="color: #000000;">22</span>:<span style="color: #000000;">36</span> daten\</pre></div></div>

<p>wenn man natuerlich mit einem 0815 windows programm am besten noch per ftp drauf schaut, wird man den unterschied nicht sehen <img src='http://ww.sd.vc/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/10/26/zwei-ordner-mit-dem-gleichen-namen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ne ganze menge update</title>
		<link>http://ww.sd.vc/wp/2011/10/13/ne-ganze-menge-update/</link>
		<comments>http://ww.sd.vc/wp/2011/10/13/ne-ganze-menge-update/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 19:38:24 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4226</guid>
		<description><![CDATA[ubuntu hat wiedermal ne neue version rausgebracht. ganze 1368 pakete will es aktualisieren und 402 neue installieren. also einfach mal gemacht. und was hab ich davon? ich bin dazu verdonnert, unity zu benutzen. mir ist immernoch schleierhaft, was mir das bringen soll. das schlimmste ist, dass ich scheinbar keine (einfache) wahl mehr habe, was anderes [...]]]></description>
			<content:encoded><![CDATA[<p>ubuntu hat wiedermal ne neue version rausgebracht. ganze 1368 pakete will es aktualisieren und 402 neue installieren. </p>
<p><img src="http://ww.sd.vc/wp/wp-content/uploads/2011/10/20111013_ubuntu_update.jpg" alt="" title="20111013_ubuntu_update" width="424" height="309" class="alignnone size-full wp-image-4227" /></p>
<p>also einfach mal gemacht. und was hab ich davon? ich bin dazu verdonnert, unity zu benutzen. mir ist immernoch schleierhaft, was mir das bringen soll. das schlimmste ist, dass ich scheinbar keine (einfache) wahl mehr habe, was anderes zu benutzen. mal ein bischen googeln und schauen, wie ich die seuche wieder loswerde. am besten ich mach gleich eine neuinstallation mit der guten alten 10er version. die war auch um einiges schneller. oder vielleicht doch wieder ein osx? oder win7? wie gut, dass ich da total flexibel bin und mich nicht auf irgendwas eingeschossen habe <img src='http://ww.sd.vc/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/10/13/ne-ganze-menge-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>erfolgreicher fehler</title>
		<link>http://ww.sd.vc/wp/2011/10/07/erfolgreicher-fehler/</link>
		<comments>http://ww.sd.vc/wp/2011/10/07/erfolgreicher-fehler/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 21:05:37 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[suspicious]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4201</guid>
		<description><![CDATA[oder was soll das bedeuten?]]></description>
			<content:encoded><![CDATA[<p>oder was soll das bedeuten?</p>
<p><img src="http://ww.sd.vc/wp/wp-content/uploads/2011/10/20111007_fehler.jpg" alt="" title="20111007_fehler" width="465" height="231" class="alignnone size-full wp-image-4202" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/10/07/erfolgreicher-fehler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>terminal zu klein</title>
		<link>http://ww.sd.vc/wp/2011/09/08/terminal-zu-klein/</link>
		<comments>http://ww.sd.vc/wp/2011/09/08/terminal-zu-klein/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 19:42:34 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4145</guid>
		<description><![CDATA[hahaha&#8230; wie geil. weils so viel spass macht, sich von &#8220;top&#8221; die vielen cpu&#8217;s anzeigen zu lassen, wollte ich das heute wieder machen. das terminal war einfach zu klein&#8230;]]></description>
			<content:encoded><![CDATA[<p>hahaha&#8230; wie geil. weils so viel spass macht, <a href="http://ww.sd.vc/wp/2011/09/07/lecker-neuer-server/">sich von &#8220;top&#8221; die vielen cpu&#8217;s anzeigen zu lassen</a>, wollte ich das heute wieder machen. das terminal war einfach zu klein&#8230;</p>
<p><img src="http://ww.sd.vc/wp/wp-content/uploads/2011/09/201100908_small_terminal.jpg" alt="" title="201100908_small_terminal" width="466" height="160" class="alignnone size-full wp-image-4146" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/09/08/terminal-zu-klein/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lecker neuer server</title>
		<link>http://ww.sd.vc/wp/2011/09/07/lecker-neuer-server/</link>
		<comments>http://ww.sd.vc/wp/2011/09/07/lecker-neuer-server/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 20:59:52 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4141</guid>
		<description><![CDATA[so.. ein neues serverchen ist geboren. strom solls sparen und einige virtuelle maschinen hosten. dazu viel platz sowohl auf der platte als auch im hauptspeicher haben. die anzahl cpu&#8217;s ist schon beeindruckend und die 0815-festplatten machen ihren raid build auch schoen zackig:]]></description>
			<content:encoded><![CDATA[<p>so.. ein neues serverchen ist geboren. strom solls sparen und einige virtuelle maschinen hosten. dazu viel platz sowohl auf der platte als auch im hauptspeicher haben. </p>
<p>die anzahl cpu&#8217;s ist schon beeindruckend <img src='http://ww.sd.vc/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><img src="http://ww.sd.vc/wp/wp-content/uploads/2011/09/20110907_16cpu.png" alt="" title="20110907_16cpu" width="466" height="331" class="alignnone size-full wp-image-4142" /></p>
<p>und die 0815-festplatten machen ihren raid build auch schoen zackig:</p>
<p><img src="http://ww.sd.vc/wp/wp-content/uploads/2011/09/20110907_raid_rebuild.png" alt="" title="20110907_raid_rebuild" width="466" height="110" class="alignnone size-full wp-image-4143" /></p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/09/07/lecker-neuer-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uptime</title>
		<link>http://ww.sd.vc/wp/2011/09/04/uptime-2/</link>
		<comments>http://ww.sd.vc/wp/2011/09/04/uptime-2/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 21:20:29 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4138</guid>
		<description><![CDATA[heute nacht ist die dann hinfaellig: = 3,46 jahre]]></description>
			<content:encoded><![CDATA[<p>heute nacht ist die dann hinfaellig:</p>
<p><img src="http://ww.sd.vc/wp/wp-content/uploads/2011/09/20110904_uptime1262.png" alt="" title="20110904_uptime1262" width="465" height="41" class="alignnone size-full wp-image-4140" /></p>
<p>= 3,46 jahre <img src='http://ww.sd.vc/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/09/04/uptime-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>rkhunter meckert: application is out of date, and possibly a security risk</title>
		<link>http://ww.sd.vc/wp/2011/08/31/rkhunter-meckert-application-is-out-of-date-and-possibly-a-security-risk/</link>
		<comments>http://ww.sd.vc/wp/2011/08/31/rkhunter-meckert-application-is-out-of-date-and-possibly-a-security-risk/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 01:55:11 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4122</guid>
		<description><![CDATA[seit einiger zeit nervt der rkhunter auf einem debian lenny rum, dass ein paar appliktionen veraltet sind. dumm nur, wenn der paketmanager fuer die distribution keine neueren versionen im angebot hat. Warning: Application 'gpg', version '1.4.9', is out of date, and possibly a security risk. Warning: Application 'openssl', version '0.9.8g', is out of date, and [...]]]></description>
			<content:encoded><![CDATA[<p>seit einiger zeit nervt der rkhunter auf einem debian lenny rum, dass ein paar appliktionen veraltet sind. dumm nur, wenn der paketmanager fuer die distribution keine neueren versionen im angebot hat.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Warning: Application 'gpg', version '1.4.9', is out of date, and possibly a security risk.
Warning: Application 'openssl', version '0.9.8g', is out of date, and possibly a security risk.
Warning: Application 'sshd', version '5.1p1', is out of date, and possibly a security risk.</pre></div></div>

<p>das gemeckere bekommt man weg, in dem man diese zeile in die datei /etc/rkhunter.conf eintraegt:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">APP_WHITELIST=&quot;gpg:1.4.9 openssl:0.9.8g sshd:5.1p1&quot;</pre></div></div>

<p>und dann beanstandet er auch noch das:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Warning: Suspicious file types found in /dev:
/dev/shm/network/ifstate: ASCII text</pre></div></div>

<p>&#8230;ist aber ein anderes thema. die ursache ist wahrscheinlich, dass der speicherort von ifstate sich in der vergangenheit des oefteren geaendert hat. um diese meldung weg zu bekommen, muss man in die datei /etc/rkhunter.conf folgende zeile einzufuegen:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">ALLOWDEVFILE=/dev/shm/network/ifstate</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/08/31/rkhunter-meckert-application-is-out-of-date-and-possibly-a-security-risk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xen mini howto</title>
		<link>http://ww.sd.vc/wp/2011/08/29/xen-mini-howto/</link>
		<comments>http://ww.sd.vc/wp/2011/08/29/xen-mini-howto/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 17:50:02 +0000</pubDate>
		<dc:creator>sd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[virtualisierung]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://ww.sd.vc/wp/?p=4106</guid>
		<description><![CDATA[basierend auf dem testserverchen (debian lenny 64bit) hier ein echt kurzes xen (4.0.1) howto. und los gehts&#8230; die benoetigten pakete installieren: apt-get install xen-hypervisor xen-linux-system xen-utils xenstore-utils xenwatch xen-tools die config datei fuer die xentools bearbeiten. (theoretisch kann man den kram auch alles auf der commandline mitgeben) vi /etc/xen-tools/xen-tools.conf &#8230;das eintragen: lvm = vg0 dist [...]]]></description>
			<content:encoded><![CDATA[<p>basierend auf dem <a href="http://ww.sd.vc/wp/2011/08/26/ein-testserverchen/">testserverchen</a> (debian lenny 64bit) hier ein echt kurzes xen (4.0.1) howto. und los gehts&#8230;</p>
<p>die benoetigten pakete installieren:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xen-hypervisor xen-linux-system xen-utils xenstore-utils xenwatch xen-tools</pre></div></div>

<p>die config datei fuer die xentools bearbeiten. (theoretisch kann man den kram auch alles auf der commandline mitgeben)</p>

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

<p>&#8230;das eintragen:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">lvm = vg0
dist   = `xt-guess-suite-and-mirror --suite`
gateway    = 192.168.0.1
netmask    = 255.255.255.0
broadcast  = 192.168.0.255
passwd = 1
kernel = /boot/vmlinuz-`uname -r`
initrd = /boot/initrd.img-`uname -r`
mirror = `xt-guess-suite-and-mirror --mirror`
serial_device = hvc0
disk_device = xvda</pre></div></div>

<p>die xen(d) config anpassen:</p>

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

<p>und diese werte setzen bzw. aendern:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[...]
(network-script 'network-bridge antispoof=yes')
[...]
(vif-script vif-bridge)
[...]</pre></div></div>

<p>und <strong>nach einem abschliessenden reboot</strong> kann der erste virtuelle server installiert werden:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xen-create-image <span style="color: #660033;">--hostname</span>=vs.sd.vc <span style="color: #660033;">--size</span>=150Gb <span style="color: #660033;">--swap</span>=4Gb <span style="color: #660033;">--ip</span>=192.168.0.100 <span style="color: #660033;">--memory</span>=1Gb <span style="color: #660033;">--arch</span>=amd64 <span style="color: #660033;">--role</span>=udev</pre></div></div>

<p>dank der xen-tools config wird ein debian lenny installiert. andere kann man z.b. mit dem parameter &#8220;&#8211;dist=etch&#8221; instalieren. </p>
<p>die virtuelle kiste noch &#8220;anschalten&#8221; und gut is:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xm create <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>vs.sd.vc.cfg</pre></div></div>

<p>have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://ww.sd.vc/wp/2011/08/29/xen-mini-howto/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

