<?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>Thomas Spycher</title>
	<atom:link href="http://tspycher.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tspycher.com</link>
	<description></description>
	<lastBuildDate>Tue, 08 May 2012 08:19:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Oneliner: find not committed changes in working copy</title>
		<link>http://tspycher.com/2012/05/oneliner-find-not-committed-changes-in-working-copy/</link>
		<comments>http://tspycher.com/2012/05/oneliner-find-not-committed-changes-in-working-copy/#comments</comments>
		<pubDate>Tue, 08 May 2012 08:19:20 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[changes]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[commit]]></category>
		<category><![CDATA[oneliner]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=742</guid>
		<description><![CDATA[TweetIt could be sometimes quite useful to know which changes you&#8217;ve not committed. The following oneliner does exactly this: $ find . -type d -name \.svn &#124; sed &#34;s/\.svn//&#34; &#124; xargs -L 1 svn status &#124; sort &#124; uniq]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton742" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D742&amp;via=tspycher&amp;text=Oneliner%3A%20find%20not%20committed%20changes%20in%20working%20copy&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2012%2F05%2Foneliner-find-not-committed-changes-in-working-copy%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>It could be sometimes quite useful to know which changes you&#8217;ve not committed. The following oneliner does exactly this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-type</span> d <span style="color: #660033;">-name</span> \.svn <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">&quot;s/\.svn//&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #660033;">-L</span> <span style="color: #000000;">1</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> status <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">uniq</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2012/05/oneliner-find-not-committed-changes-in-working-copy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure an central CakePHP Installation on own or Uberspace Server</title>
		<link>http://tspycher.com/2012/03/configure-central-cakephp-installation/</link>
		<comments>http://tspycher.com/2012/03/configure-central-cakephp-installation/#comments</comments>
		<pubDate>Mon, 19 Mar 2012 07:00:52 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centralized]]></category>
		<category><![CDATA[Uberspace]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=735</guid>
		<description><![CDATA[TweetIf you like to run several CakePHP Applications on one server and keep them up to date all the time, it makes sense to install CakePHP centralized. I&#8217;ve done this on my Ubuntu based Servers: apt-get upgrade apt-get install php5 php5-mysql a2enmod php5 rewrite service apache2 restart cd /usr/share/ wget https://github.com/cakephp/cakephp/zipball/2.1.0 unzip 2.1.0 mv cakephp-cakephp-b522a85/ [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton735" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D735&amp;via=tspycher&amp;text=Configure%20an%20central%20CakePHP%20Installation%20on%20own%20or%20Uberspace%20Server&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2012%2F03%2Fconfigure-central-cakephp-installation%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>If you like to run several <a href="http://cakephp.org" target="_blank">CakePHP</a> Applications on one server and keep them up to date all the time, it makes sense to install CakePHP centralized. I&#8217;ve done this on my Ubuntu based Servers:</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> upgrade
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php5 php5-mysql
a2enmod php5 rewrite
service apache2 restart
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> https:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>cakephp<span style="color: #000000; font-weight: bold;">/</span>cakephp<span style="color: #000000; font-weight: bold;">/</span>zipball<span style="color: #000000; font-weight: bold;">/</span>2.1.0
<span style="color: #c20cb9; font-weight: bold;">unzip</span> 2.1.0
<span style="color: #c20cb9; font-weight: bold;">mv</span> cakephp-cakephp-b522a85<span style="color: #000000; font-weight: bold;">/</span> cakephp-2.1.0
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>cakephp-2.1.0 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>cakephp
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> cakephp<span style="color: #000000; font-weight: bold;">/</span>app cakephp<span style="color: #000000; font-weight: bold;">/</span>.htaccess
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>cakephp<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>Cake<span style="color: #000000; font-weight: bold;">/</span>Console<span style="color: #000000; font-weight: bold;">/</span>cake <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>cake
<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>php5<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>php.ini
     include_path = <span style="color: #ff0000;">&quot;.:/usr/share/php:/usr/share/cakephp/lib&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php5<span style="color: #000000; font-weight: bold;">/</span>cli<span style="color: #000000; font-weight: bold;">/</span>php.ini
     include_path = <span style="color: #ff0000;">&quot;.:/usr/share/php:/usr/share/cakephp/lib&quot;</span>
service apache2 restart</pre></div></div>

<div>And finally configure your virtualHost configuration and let the documentRoot point to the app folder of your application.</div>
<div></div>
<div>If you are a proud <a href="http://uberspace.de/" target="_blank">Ueberspace</a> customer you can configure a Central CakePHP Environment in a similar way:</div>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>lib
<span style="color: #7a0874; font-weight: bold;">cd</span> ~<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> https:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>cakephp<span style="color: #000000; font-weight: bold;">/</span>cakephp<span style="color: #000000; font-weight: bold;">/</span>zipball<span style="color: #000000; font-weight: bold;">/</span>2.1.0
<span style="color: #c20cb9; font-weight: bold;">unzip</span> 2.1.0
<span style="color: #c20cb9; font-weight: bold;">mv</span> cakephp-cakephp-b522a85<span style="color: #000000; font-weight: bold;">/</span> cakephp-2.1.0
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">dirname</span> ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #000000; font-weight: bold;">`/</span>lib<span style="color: #000000; font-weight: bold;">/</span>cakephp-2.1.0<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">dirname</span> ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #000000; font-weight: bold;">`/</span>lib<span style="color: #000000; font-weight: bold;">/</span>cakephp
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> cakephp<span style="color: #000000; font-weight: bold;">/</span>.gitignore cakephp<span style="color: #000000; font-weight: bold;">/</span>.htaccess cakephp<span style="color: #000000; font-weight: bold;">/</span>app cakephp<span style="color: #000000; font-weight: bold;">/</span>build.<span style="color: #000000; font-weight: bold;">*</span> cakephp<span style="color: #000000; font-weight: bold;">/</span>index.php
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'PATH=$PATH:~/bin'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bashrc
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> ~<span style="color: #000000; font-weight: bold;">/</span>bin
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">dirname</span> ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #000000; font-weight: bold;">`/</span>lib<span style="color: #000000; font-weight: bold;">/</span>cakephp<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>Cake<span style="color: #000000; font-weight: bold;">/</span>Console<span style="color: #000000; font-weight: bold;">/</span>cake <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">dirname</span> ~<span style="color: #000000; font-weight: bold;">/</span>.<span style="color: #000000; font-weight: bold;">`/</span>bin<span style="color: #000000; font-weight: bold;">/</span>cake
php <span style="color: #660033;">--ini</span> <span style="color: #666666; font-style: italic;"># To check which php version you'r using</span>
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>package<span style="color: #000000; font-weight: bold;">/</span>host<span style="color: #000000; font-weight: bold;">/</span>localhost<span style="color: #000000; font-weight: bold;">/</span>php-5.3.5-<span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>php.ini ~<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">vi</span> ~<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php.ini
     <span style="color: #666666; font-style: italic;"># include_path = &quot;.:/package/host/localhost/php-5.3.5-2/lib/php:~/lib/cakephp/lib&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2012/03/configure-central-cakephp-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Posfix and SASL Unix Auth</title>
		<link>http://tspycher.com/2012/03/posfix-and-sasl-unix-auth/</link>
		<comments>http://tspycher.com/2012/03/posfix-and-sasl-unix-auth/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 09:29:59 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Postfix]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[sasl]]></category>
		<category><![CDATA[SMTP]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=730</guid>
		<description><![CDATA[Tweet/etc/postfix/main.cf Configure the Postfix MTA to support SASL smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = no smtpd_sasl_exceptions_networks = smtpd_sasl_local_domain = smtpd_sasl_path = smtpd smtpd_sasl_security_options = noanonymous smtpd_sasl_tls_security_options = noanonymous smtpd_sasl_type = cyrus /etc/postfix/master.cf Disable the run of the Postfix MTA in a chroot environment smtp inet n - n - - smtpd /etc/postfix/sasl/smtpd.conf Tell Postfix where he [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton730" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D730&amp;via=tspycher&amp;text=Posfix%20and%20SASL%20Unix%20Auth&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2012%2F03%2Fposfix-and-sasl-unix-auth%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><h2>/etc/postfix/main.cf</h2>
<p>Configure the Postfix MTA to support SASL</p>
<pre>
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = noanonymous
smtpd_sasl_type = cyrus
</pre>
<h2>/etc/postfix/master.cf</h2>
<p>Disable the run of the Postfix MTA in a chroot environment</p>
<pre>
smtp inet n - n - - smtpd
</pre>
<h2>/etc/postfix/sasl/smtpd.conf</h2>
<p>Tell Postfix where he finds the saselauthd socket file</p>
<pre>
pwcheck_method: saslauthd
saslauthd_path: /var/run/saslauthd/mux
mech_list: PLAIN LOGIN
</pre>
<h2>/etc/pam.d/smtp</h2>
<p>Configure PAM to support local unix Authentication for the SMTP Deamon</p>
<pre>
auth required pam_unix.so
account required pam_unix.so
password required pam_unix.so
session required pam_unix.so
</pre>
<p>Finally be sure saslauthd is running and is pointing to the right directory</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>saslauthd <span style="color: #660033;">-a</span> pam <span style="color: #660033;">-c</span> <span style="color: #660033;">-m</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>saslauthd <span style="color: #660033;">-n</span> <span style="color: #000000;">5</span></pre></div></div>

<p>Here a Python Script to Test the Auth</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/python</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> argparse
<span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">smtplib</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> __name__ == <span style="color: #483d8b;">'__main__'</span>:
    <span style="color: #dc143c;">parser</span> = argparse.<span style="color: black;">ArgumentParser</span><span style="color: black;">&#40;</span>description=<span style="color: #483d8b;">'Tests SASL'</span><span style="color: black;">&#41;</span>
    <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--username'</span>, <span style="color: #483d8b;">'-u'</span>, dest=<span style="color: #483d8b;">'username'</span>, action=<span style="color: #483d8b;">'store'</span>, <span style="color: #008000;">help</span>=<span style="color: #483d8b;">'Username'</span><span style="color: black;">&#41;</span>
    <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--password'</span>, <span style="color: #483d8b;">'-p'</span>, dest=<span style="color: #483d8b;">'password'</span>, action=<span style="color: #483d8b;">'store'</span>, <span style="color: #008000;">help</span>=<span style="color: #483d8b;">'Password'</span><span style="color: black;">&#41;</span>
    <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--host'</span>, <span style="color: #483d8b;">'-H'</span>, dest=<span style="color: #483d8b;">'host'</span>, action=<span style="color: #483d8b;">'store'</span>, <span style="color: #008000;">help</span>=<span style="color: #483d8b;">'SMTP Hostname'</span><span style="color: black;">&#41;</span>
    <span style="color: #dc143c;">parser</span>.<span style="color: black;">add_argument</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'--port'</span>, <span style="color: #483d8b;">'-P'</span>, dest=<span style="color: #483d8b;">'port'</span>, action=<span style="color: #483d8b;">'store'</span>, <span style="color: #008000;">help</span>=<span style="color: #483d8b;">'SMTP Port'</span>, default=<span style="color: #483d8b;">'25'</span><span style="color: black;">&#41;</span>
&nbsp;
    args = <span style="color: #dc143c;">parser</span>.<span style="color: black;">parse_args</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
    server = <span style="color: #dc143c;">smtplib</span>.<span style="color: black;">SMTP</span><span style="color: black;">&#40;</span>args.<span style="color: black;">host</span>, <span style="color: #008000;">int</span><span style="color: black;">&#40;</span>args.<span style="color: black;">port</span><span style="color: black;">&#41;</span><span style="color: black;">&#41;</span>
    server.<span style="color: black;">set_debuglevel</span><span style="color: black;">&#40;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span>
    server.<span style="color: black;">ehlo</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    server.<span style="color: black;">starttls</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    server.<span style="color: black;">ehlo</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    server.<span style="color: black;">login</span><span style="color: black;">&#40;</span>args.<span style="color: black;">username</span>, args.<span style="color: black;">password</span><span style="color: black;">&#41;</span>
    server.<span style="color: black;">quit</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
    exit<span style="color: black;">&#40;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2012/03/posfix-and-sasl-unix-auth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Icinga: Could not stat() command file</title>
		<link>http://tspycher.com/2012/03/icinga-could-not-stat-command-file/</link>
		<comments>http://tspycher.com/2012/03/icinga-could-not-stat-command-file/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 15:25:38 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Icinga]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[fix]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=715</guid>
		<description><![CDATA[TweetI&#8217;ve just installed Icinga 1.6x on a Ubuntu Box and was faced again with this annoying error: Error: Could not stat() command file &#8216;/var/lib/icinga/rw/icinga.cmd&#8217;! I&#8217;ve played around with chmod, chown, chgrp and with the icinga and apache user. Finally i figured out, that it could be a error in the ubuntu package. This solved the [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton715" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D715&amp;via=tspycher&amp;text=Icinga%3A%20Could%20not%20stat%28%29%20command%20file&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2012%2F03%2Ficinga-could-not-stat-command-file%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;ve just installed Icinga 1.6x on a Ubuntu Box and was faced again with this annoying error:</p>
<p><em>Error: Could not stat() command file &lsquo;/var/lib/icinga/rw/icinga.cmd&rsquo;!</em></p>
<p>I&#8217;ve played around with chmod, chown, chgrp and with the icinga and apache user. Finally i figured out, that it could be a error in the ubuntu package. This solved the error, even if you restart the service:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
service icinga stop
&nbsp;
dpkg-statoverride <span style="color: #660033;">--update</span> <span style="color: #660033;">--add</span> nagios www-data <span style="color: #000000;">2710</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>icinga<span style="color: #000000; font-weight: bold;">/</span>rw<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
dpkg-statoverride <span style="color: #660033;">--update</span> <span style="color: #660033;">--add</span> nagios nagios <span style="color: #000000;">751</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>icinga<span style="color: #000000; font-weight: bold;">/</span>
&nbsp;
service icinga start</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2012/03/icinga-could-not-stat-command-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting IP from Linux CLI with Bash</title>
		<link>http://tspycher.com/2012/03/getting-ip-from-linux-cli-with-bash/</link>
		<comments>http://tspycher.com/2012/03/getting-ip-from-linux-cli-with-bash/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 15:19:28 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=702</guid>
		<description><![CDATA[TweetI&#8217;ve just wrote a bash script for an automation and for this i needed the ip of my system. I&#8217;d like to share this little snipped with you: &#160; /bin/ip -f inet -o addr &#124; grep eth0 &#124; grep -oP '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}(?=/)' Do you know a better way? Feel free to comment.]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton702" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D702&amp;via=tspycher&amp;text=Getting%20IP%20from%20Linux%20CLI%20with%20Bash&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2012%2F03%2Fgetting-ip-from-linux-cli-with-bash%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;ve just wrote a bash script for an automation and for this i needed the ip of my system.</p>
<p>I&#8217;d like to share this little snipped with you:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ip <span style="color: #660033;">-f</span> inet <span style="color: #660033;">-o</span> addr <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> eth0 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-oP</span> <span style="color: #ff0000;">'[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}(?=/)'</span></pre></div></div>

<p>Do you know a better way? Feel free to comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2012/03/getting-ip-from-linux-cli-with-bash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JMeter/Java Exceptions with SSL secured websites</title>
		<link>http://tspycher.com/2012/02/jmeterjava-exceptions-with-ssl-secured-websites/</link>
		<comments>http://tspycher.com/2012/02/jmeterjava-exceptions-with-ssl-secured-websites/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 06:36:58 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Jmeter]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=694</guid>
		<description><![CDATA[TweetLast week i had to setup a JMeter Testsuite for performance measurement of an SSL Secured Website. No big deal I thought, but I was completely wrong! Finally it took about one day to get rid of this annoying error below. At this point i need to mention, the server is running with a selfsigned [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton694" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D694&amp;via=tspycher&amp;text=JMeter%2FJava%20Exceptions%20with%20SSL%20secured%20websites&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2012%2F02%2Fjmeterjava-exceptions-with-ssl-secured-websites%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>Last week i had to setup a JMeter Testsuite for performance measurement of an SSL Secured Website. No big deal I thought, but I was completely wrong! Finally it took about one day to get rid of this annoying error below. At this point i need to mention, the server is running with a selfsigned certificate and Apache 2.x</p>
<p>For each request the client throws either an NullPointerException or SSLPeerUnverifiedException.</p>
<h3>Java HTTP Client 4.0</h3>
<pre>javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:352)

at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)

at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)

at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)

at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)

at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)

at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)

at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)

at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)

at org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.java:277)

at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)

at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1054)

at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1043)

at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:416)

at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271)

at java.lang.Thread.run(Thread.java:680)</pre>
<h3>Java HTTP Client 3.1</h3>
<pre>javax.net.ssl.SSLException: java.lang.NullPointerException

at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1731)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1692)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1675)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1601)

at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:93)

at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)

at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)

at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)

at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)

at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)

at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)

at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)

at org.apache.jmeter.protocol.http.sampler.HTTPHC3Impl.sample(HTTPHC3Impl.java:249)

at org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamplerProxy.java:62)

at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1054)

at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1043)

at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:416)

at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:271)

at java.lang.Thread.run(Thread.java:680)

Caused by: java.lang.NullPointerException

at org.apache.jmeter.util.keystore.JmeterKeyStore.getAlias(JmeterKeyStore.java:139)

at org.apache.jmeter.util.JsseSSLManager$WrappedX509KeyManager.chooseClientAlias(JsseSSLManager.java:380)

at com.sun.net.ssl.internal.ssl.AbstractWrapper.chooseClientAlias(SSLContextImpl.java:262)

at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:639)

at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:238)

at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)

at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:925)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1170)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:637)

at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:88)

... 16 more</pre>
<p>I spent the main time of investigation on the JMeter/Java side. I&#8217;ve played around with the Java Keystore, created new certificates and searched trough internet forums.</p>
<p>From one to the other second i had the solution. The Website is running in a virtualHost container in the apache. The server is configured to serve sites as namebased virtualhosts. The SSL configuration has been done also inside the virtualhost configuration. Browsers do support this configuration without any problems. Its hard to point to any error at this point. I know from my previous employer, we configured a single separate ip for each SSL secured virtualHost in apache.</p>
<p>After configuring the website as a standalone site, outside an virtualhost container, everything worked perfectly.</p>
<p>If anyone has an idea how this problem could be solved from java side or has en explanation why this is as it is, i would be interested!</p>
<h3>Update:</h3>
<p>There is a technologie called <a href="http://en.wikipedia.org/wiki/Server_Name_Indication" target="_blank">SNI (Server Name Indication)</a> which is responsible to make an handshake between client and server with TLS on a hostname basis possible. I looks like Java7 will support SNI. Is there no way to support SNI with Java versions below 7?</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2012/02/jmeterjava-exceptions-with-ssl-secured-websites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Performance Test: Python, Perl, PHP, Java, Ruby, Bash and C</title>
		<link>http://tspycher.com/2012/01/performance-test-python-perl-php-and-c/</link>
		<comments>http://tspycher.com/2012/01/performance-test-python-perl-php-and-c/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 14:39:08 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Gedanken]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=679</guid>
		<description><![CDATA[TweetI&#8217;ve had just some time to do some performance test and compare different languages. I&#8217;ve created scripts in each language which does the following: for 1&#8217;000&#8217;000 lines     &#8220;line&#8221; is empty     for 150 chars         add char &#8220;c&#8221; to the &#8220;line&#8221;     print out the &#8220;line&#8221; Running the [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton679" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D679&amp;via=tspycher&amp;text=Performance%20Test%3A%20Python%2C%20Perl%2C%20PHP%2C%20Java%2C%20Ruby%2C%20Bash%20and%20C&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2012%2F01%2Fperformance-test-python-perl-php-and-c%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>I&#8217;ve had just some time to do some performance test and compare different languages. I&#8217;ve created scripts in each language which does the following:</p>
<p>for 1&#8217;000&#8217;000 lines</p>
<p>    &ldquo;line&rdquo; is empty</p>
<p>    for 150 chars</p>
<p>        add char &ldquo;c&rdquo; to the &ldquo;line&rdquo;</p>
<p>    print out the &ldquo;line&rdquo;</p>
<p>Running the script and pipe the output to a file creates a 145MB file. And the most interesting result is the time each script took to run:</p>
<p>Shell$ time python createRandomFile.py &mdash;rows 1000000 &mdash;chars 150 > bigfile.py.txt</p>
<p>real    0m56.207s</p>
<p>user    0m55.348s</p>
<p>sys 0m0.607s</p>
<p>Shell$ time perl createRandomFile.pl -r 1000000 -c 150 > bigfile.pl.txt</p>
<p>real    0m37.742s</p>
<p>user    0m37.147s</p>
<p>sys 0m0.488s</p>
<p>Shell$ time php createRandomFile.php -r 1000000 -c 150 > bigfile.php.txt</p>
<p>real    1m9.357s</p>
<p>user    1m5.165s</p>
<p>sys 0m3.542s</p>
<p>Shell$ time java createRandomFile 1000000 150 > bigfile.java.txt</p>
<p>real    1m18.791s</p>
<p>user    1m0.689s</p>
<p>sys 0m11.133s</p>
<p>Shell$ time ruby createRandomFile.rb -r 1000000 -c 150 > bigfile.ruby.txt</p>
<p>real    1m44.118s</p>
<p>user    1m39.672s</p>
<p>sys 0m0.967s</p>
<p>Shell$ time ruby createRandomFile.sh 1000000 150 > bigfile.bash.txt</p>
<p>real    <strong>78m46.334s</strong></p>
<p>user    56m30.018s</p>
<p>sys 3m5.280s</p>
<p>Shell$ time ./createRandmonFile -r 1000000 -c 150 > bigfile.c.txt</p>
<p>real    0m2.159s</p>
<p>user    0m1.339s</p>
<p>sys 0m0.425s</p>
<p><img src="http://tspycher.com/wp-content/upload/2012/01/Screen-Shot-2012-01-06-at-16.43.51-.png" alt="myWPEditImage Image" width="388" height="318"  /></p>
<p>For me personally there are some unexpected new experiences:</p>
<ul>
<li>
<p>Python takes &ldquo;much&rdquo; longer than perl. After performance optimizing the Python script its much faster, but still slower than the perl script. Thats really sad&hellip;</p>
</li>
<li>
<p>Not a big surprise is the fact, that the C program is the fastest. But that it is so much faster than all others is impressive.</p>
</li>
<li>
<p>Using echo instead print in the php script gets the script one second faster.</p>
</li>
<li>
<p>And the fact, java is one of the most slowest language of all competitors used here.</p>
</li>
<li>
<p>Ruby is damn slow</p>
</li>
<li>
<p>Finally, Bash IS the slowest&hellip; Damn slow! I mean, SLOOOWWW!!!</p>
</li>
</ul>
<p>This are really interesting results!</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2012/01/performance-test-python-perl-php-and-c/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Getting in contact with OpenStack</title>
		<link>http://tspycher.com/2011/12/getting-in-contact-with-openstack/</link>
		<comments>http://tspycher.com/2011/12/getting-in-contact-with-openstack/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 07:47:05 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Openstack]]></category>
		<category><![CDATA[Automation]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[Virtualisierung]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=673</guid>
		<description><![CDATA[TweetTill now, i was only able to deploy some vm&#8217;s on my MacMini Server with VMware Fusion on it. This worked oukay so far&#8230; Due to the mac mini is reaching its second birthday, it does not power vm&#8217;s very well. Also to keep the vm powered on, i need always stay logged in with [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton673" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D673&amp;via=tspycher&amp;text=Getting%20in%20contact%20with%20OpenStack&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2011%2F12%2Fgetting-in-contact-with-openstack%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p><a href="http://tspycher.com/wp-content/upload/2011/12/openstack-logo512.png" rel="lightbox[673]"><img class="alignleft size-thumbnail wp-image-674" title="openstack-logo512" src="http://tspycher.com/wp-content/upload/2011/12/openstack-logo512-150x150.png" alt="" width="150" height="150" /></a>Till now, i was only able to deploy some vm&#8217;s on my MacMini Server with VMware Fusion on it. This worked oukay so far&#8230; Due to the mac mini is reaching its second birthday, it does not power vm&#8217;s very well. Also to keep the vm powered on, i need always stay logged in with the user and of course the management is only possible trough vnc directly on the server.</p>
<p>That was the reason for me to rent some virtual machines by rackspacecloud.com. Seriously, rackspacecloud is impressive! But keeping two or more vm&#8217;s up and running for more than a month is a really expensive playground! Moving to Amazon&#8217;s EC2 wasn&#8217;t an option too. So i decided to buy a extreme low-end cheap virutalisation capable server. After some research (Hardware should be compatible with ESXi in case of whatever) i&#8217;ve build the following server for me:</p>
<p><strong>Case:</strong> Asus Vintage V8-P8H67E, Intel H67, Socket 1155, USB 3.0 (about 170$)</p>
<p><strong>CPU: </strong>Intel Core i5 2500 BOX, 3.3GHz, LGA 1155, 4C/4T (about 200$)</p>
<p><strong>RAM: </strong>Kingston ValueRAM, 3&#215;4 GB, DDR3-1333, CL9 (about 60$)</p>
<p><strong>Raid (optional):</strong> Adaptec RAID 2405, 4-Channel SAS/SATA, low profile (about 200$)</p>
<p><strong>Additional Network:</strong> Intel PWLA8391GTBLK Pro 1000GT Gigabit Adapter PCI, Bulk (about 30$)</p>
<p><strong>VLAN Gigabit Switch: </strong>HP ProCurve Switch V1810G-8 8 Port 10/100/1000 Mbps, SFP (about 110$)</p>
<p><strong>Harddisk:</strong> got some at home</p>
<p>The Result is a Box with 100% Virtualisation Support (vPro, VT-x, VT-d, 64bit), 12GB RAM and small in form and silent too.</p>
<p>In the past i&#8217;ve landed several times on openstack.org during some research in automating virtualisation infrastructures. Openstack is a framework for building private clouds. Openstack promises an virtualisation ecosystem with all needed components to build a perfect world. The project looks very mature and there are a lot of partners supporting them. Openstack supports also a wide range of Hypervisors though they&#8217;r strongly recommending to use KVM for virtualistion. I will give the project a try&#8230;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2011/12/getting-in-contact-with-openstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Safari 5.1 does not like https sites</title>
		<link>http://tspycher.com/2011/07/safari-5-1-does-not-like-https-sites/</link>
		<comments>http://tspycher.com/2011/07/safari-5-1-does-not-like-https-sites/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 08:53:48 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Application Review]]></category>
		<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[10.7]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=654</guid>
		<description><![CDATA[TweetAfter the update to OSX 10.7 Lion which ships Safari 5.1 i could no more open any HTTPS Sites with Safari. After googling around i found the Solution. You have just to delete the following file: ~/Library/Preferences/com.apple.security.revocation.plist Thats all&#8230; Since i&#8217;ve updated to 10.7 i&#8217;m faced with several bugs! Huge Bugs, which prevent me from [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton654" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D654&amp;via=tspycher&amp;text=Safari%205.1%20does%20not%20like%20https%20sites&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2011%2F07%2Fsafari-5-1-does-not-like-https-sites%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>After the update to OSX 10.7 Lion which ships Safari 5.1 i could no more open any HTTPS Sites with Safari. After googling around i found the Solution. You have just to delete the following file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Preferences<span style="color: #000000; font-weight: bold;">/</span>com.apple.security.revocation.plist</pre></div></div>

<p>Thats all&#8230;</p>
<p>Since i&#8217;ve updated to 10.7 i&#8217;m faced with several bugs! Huge Bugs, which prevent me from working productive!</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2011/07/safari-5-1-does-not-like-https-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes sharing over VPN</title>
		<link>http://tspycher.com/2011/07/itunes-sharing-over-vpn/</link>
		<comments>http://tspycher.com/2011/07/itunes-sharing-over-vpn/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 09:56:50 +0000</pubDate>
		<dc:creator>Thomas Spycher</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Gedanken]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Netzwerk]]></category>
		<category><![CDATA[Technisches]]></category>
		<category><![CDATA[Beacon]]></category>
		<category><![CDATA[Homesharing]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Sharing]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://tspycher.com/?p=649</guid>
		<description><![CDATA[TweetIf your are one of those people who have VPN access to their home IT infrastructure you may have wonder why iTunes sharing does not work while connected the the VPN. This is due to a limitation of VPN which does not forward any broad/multicast messages. But there is help! With the tool Network Beacon [...]]]></description>
			<content:encoded><![CDATA[<div id="tweetbutton649" class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftspycher.com%2F%3Fp%3D649&amp;via=tspycher&amp;text=iTunes%20sharing%20over%20VPN&amp;related=tspycher&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Ftspycher.com%2F2011%2F07%2Fitunes-sharing-over-vpn%2F" class="twitter-share-button"  style="width:55px;height:22px;background:transparent url('http://tspycher.com/wp-content/plugins/wp-tweet-button/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;">Tweet</a></div><p>If your are one of those people who have VPN access to their home IT infrastructure you may have wonder why iTunes sharing does not work while connected the the VPN. This is due to a limitation of VPN which does not forward any broad/multicast messages. But there is help! With the tool <a href="http://www.chaoticsoftware.com/" target="_blank">Network Beacon</a> you are able to send self created beacons over the VPN connection to a remote device. I&#8217;ve tried it, and its working like a charm !<span id="more-649"></span></p>
<p>Use the follwing Settings to set up the Beacon</p>
<p><a href="http://tspycher.com/wp-content/upload/2011/07/Screen-shot-2011-07-19-at-11.46.25.png" rel="lightbox[649]"><img class="aligncenter size-medium wp-image-650" title="Screen shot 2011-07-19 at 11.46.25" src="http://tspycher.com/wp-content/upload/2011/07/Screen-shot-2011-07-19-at-11.46.25-200x168.png" alt="" width="200" height="168" /></a></p>
<p>You just have to replace the proxy settings with your own IP and Hostname.</p>
<p>Next i gonna to do is to figure out the settings for turning on HomeSharing over VPN.</p>
]]></content:encoded>
			<wfw:commentRss>http://tspycher.com/2011/07/itunes-sharing-over-vpn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

