<?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>Wes Kroesbergen&#039;s Portfolio &#187; linux</title>
	<atom:link href="http://www.kroesbergens.com/portfolio/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kroesbergens.com/portfolio</link>
	<description>my opinions, conjectures, and thoughts</description>
	<lastBuildDate>Tue, 10 Aug 2010 13:51:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Some Perspective on Google Ditching Windows</title>
		<link>http://www.kroesbergens.com/portfolio/2010/06/some-perspective-on-google-ditching-windows/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/06/some-perspective-on-google-ditching-windows/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 15:24:40 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/?p=396</guid>
		<description><![CDATA[Just a quick note regarding the Financial Times&#8217; report Monday1 about Google phasing out internal Windows client operating system usage, and Microsoft&#8217;s subsequent response2. Microsoft has retorted that Windows is indeed secure, and that the facts don&#8217;t support the assertion. Microsoft makes its defense by attacking its competitors, and highlighting a few things that Windows [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/more-on-client-platform-security/' rel='bookmark' title='Permanent Link: More on Client Platform Security'>More on Client Platform Security</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2009/11/google-wave/' rel='bookmark' title='Permanent Link: Google Wave'>Google Wave</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/03/on-the-security-of-client-platforms/' rel='bookmark' title='Permanent Link: On the Security of Client Platforms'>On the Security of Client Platforms</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just a quick note regarding the Financial Times&#8217; report Monday<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-396-1' id='fnref-396-1'>1</a></sup> about Google phasing out internal Windows client operating system usage, and Microsoft&#8217;s subsequent response<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-396-2' id='fnref-396-2'>2</a></sup>. Microsoft has retorted that Windows is indeed secure, and that the facts don&#8217;t support the assertion. Microsoft makes its defense by attacking its competitors, and highlighting a few things that Windows 7 &#8216;focuses&#8217; on.<span id="more-396"></span></p>
<p>The point I&#8217;d like to make here is that Google may be phasing out Windows 7, not because of any inherent security flaws, but that it&#8217;s possible that <strong><em>licensing</em></strong> and <strong><em>maintenance</em></strong> costs are the driving factor to phasing out Windows. Perhaps Google feels that it could spend less effort maintaining internal security by using a Linux or Unix-based OS.</p>
<div class='footnotes'><div class='footnotedivider'></div><ol><li id='fn-396-1'><a href="http://www.ft.com/cms/s/2/d2f3f04e-6ccf-11df-91c8-00144feab49a.html" onclick="pageTracker._trackPageview('/outgoing/www.ft.com/cms/s/2/d2f3f04e-6ccf-11df-91c8-00144feab49a.html?referer=');">http://www.ft.com/cms/s/2/d2f3f04e-6ccf-11df-91c8-00144feab49a.html</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-396-1'>&#8617;</a></span></li><li id='fn-396-2'><a href="http://bit.ly/cF3eNB" onclick="pageTracker._trackPageview('/outgoing/bit.ly/cF3eNB?referer=');">http://bit.ly/cF3eNB</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-396-2'>&#8617;</a></span></li></ol></div>

<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/more-on-client-platform-security/' rel='bookmark' title='Permanent Link: More on Client Platform Security'>More on Client Platform Security</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2009/11/google-wave/' rel='bookmark' title='Permanent Link: Google Wave'>Google Wave</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/03/on-the-security-of-client-platforms/' rel='bookmark' title='Permanent Link: On the Security of Client Platforms'>On the Security of Client Platforms</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/06/some-perspective-on-google-ditching-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</title>
		<link>http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/#comments</comments>
		<pubDate>Wed, 12 May 2010 13:45:12 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Nexenta]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[raidz]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/</guid>
		<description><![CDATA[UPDATE: It seems I may be re-evaluating my choice of OpenSolaris vs. Nexenta. I&#8217;ve experienced a lot of issues with SMB/CIFS authentication on OpenSolaris, and have not been able to get it to work properly. I&#8217;ve also had a reply from a commenter assuring me as to the stability of Nexenta 3. I&#8217;ll post again [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/' rel='bookmark' title='Permanent Link: VMWare ESXi as a Media Server'>VMWare ESXi as a Media Server</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>UPDATE:</strong> It seems I may be re-evaluating my choice of OpenSolaris vs. Nexenta. I&#8217;ve experienced a lot of issues with SMB/CIFS authentication on OpenSolaris, and have not been able to get it to work properly. I&#8217;ve also had a reply from a commenter assuring me as to the stability of Nexenta 3. I&#8217;ll post again once I&#8217;ve re-evaluated my choice of SAN OS.</p></blockquote>
<p>A few months ago I wrote<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-298-1' id='fnref-298-1'>1</a></sup> about a new home server I was setting up. I designed the server from ground up to handle VMware ESXi 4.0. When I built it I did not build in data redundancy, as I had two mismatched drives (a 1.5TB and a 1TB). Also, because I was relatively new to ESXi, I created the datastore with default block sizes, limiting me to 256GB virtual disk file sizes. I used Ubuntu Linux to link the virtual disks together with Logical Volume Manager (LVM), and create one big mount for my data storage. Unfortunately, the 2.5TB volume is now full. <span id="more-298"></span></p>
<p>With a full server volume, nothing would seem more obvious than to go out and buy more storage. So, I went out and bought two 1.5TB disks (I don&#8217;t believe that 2TB drive sizes have hit the optimal price point yet). On my way home however, I realized that I now have the capacity for almost 5.5TB of storage. If one physical drive were to crash, I would not only lose the data that was on that drive, I would also lose my entire dataset. LVM does not handle missing drives, so the entire logical volume, with all my data on it, would be gone. This is far too much risk, and I decided to build in data redundancy.</p>
<p>With that in mind, I began to consider various options. The motherboard&#8217;s BIOS supports RAID 1,0, 10, and 5. Of those options, I would prefer a RAID5 configuration, as it offers the best capacity/redundancy ratio. Unfortunately however, I&#8217;ve already got ESXi installed on the existing 1.5TB drive, and the data between it and the second drive must remain intact. I don&#8217;t know how well ESXi would handle a sudden BIOS change to a RAID configuration. Also, after some reading, I found that it was likely that drivers would be required in the OS install to support the RAID configuration. There are too many unknown variables to risk my data with a BIOS RAID configuration change. </p>
<p>The next option I considered was a software level RAID5 implementation, one where I&#8217;d have a virtual machine handle the RAID5 control. Unfortunately however, this approach also has its drawbacks. RAID5 requires 3 drives of the same size to setup. I have 3 1.5TB drives right now, but one of them is full of data, including my ESXi host install. I would have to create a deteriorated RAID5 array with two drives, install another physical drive for the ESXi host install, import my original ESXi host configuration to the new host install, move my data to the new array, then move the actual client OS virtual disk to the new physical drive. After that point I could wipe the original 1.5TB and add it to the RAID5 array. I would be left with the 1TB to use for other purposes. During this whole process praying that something does not mess up the LVM i  the Linux install. All in all, a very messy endeavor. Too much risk, both with the data itself as well as with the host/client OS installations.</p>
<p>Since a RAID configuration seemed to be out, I looked for other &#8216;outside-the-box&#8217; solutions. Obviously it would have to be a disk/file level solution, as LVM with virtual disks wasn&#8217;t going to cut it. Then I remembered looking at ZFS<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-298-2' id='fnref-298-2'>2</a></sup> (a file system format) a couple years ago. ZFS offers great data redundancy for little disk cost, flexibility, compression, good performance, and a host of other things (things most non-technical people wouldn&#8217;t care about). The stability of the filesystem has come a long way since I first looked at it (it was more proof of concept at the time), to the point where I would trust my data with it. ZFS seemed to fit my current needs and network conditions perfectly.</p>
<p>Now that I&#8217;d decided on ZFS as my new network storage solution, I had to decide how I was going to implement it. Because it was developed by SUN Microsystems, there are licensing quirks that have kept it from being incorporated into the Linux kernel. There is however, an implementation via the FUSE project. I could potentially install it into my Ubuntu media server virtual machine, and have a relatively easy transition. After some investigation however, I felt that ZFS-fuse was still too much of a hack for me to trust my data with.</p>
<p>The only other real ZFS options were FreeBSD, OpenSolaris, and a project called Nexenta<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-298-3' id='fnref-298-3'>3</a></sup>. Nexenta is a Gnome (Ubuntu-like) user land built around the OpenSolaris kernel. This initially attracted me quite a bit, as it seemed to perhaps be the easiest way forward. Two things kept me back however. One, the version of Nexenta that offers deduplication support for ZFS is currently labeled beta. Two, because it was built around the OpenSolaris kernel, there would be a lot more hacking required if I was going to try to replicate my Ubuntu media serving services. At this point I realized that it would be easiest to keep my Ubuntu media server, and just point its data volumes to another VM&#8217;s network share, as though the other VM was a SAN. So, I decided that Nexenta was more than I needed, and that it was targeting a different person than I. Add to that the lack of deduplication, and Nexenta was out.</p>
<p>The other two ZFS options were OpenSolaris and FreeBSD. Since I&#8217;m a Max OS X (built around BSD Unix) power user, it seemed the most attractive option. On doing some analysis however, it seemed that OpenSolaris had better support and a better-performing ZFS implementation. Consequently, I&#8217;ve decided to go the OpenSolaris route for my virtual SAN.</p>
<p>I&#8217;ll post Part 2 over the next week or so. Part 2 will cover the actual implementation (still in progress), and some of the challenges encountered.</p>
<div class='footnotes'><div class='footnotedivider'></div><ol><li id='fn-298-1'><a href="http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server">http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-298-1'>&#8617;</a></span></li><li id='fn-298-2'><a href="http://en.wikipedia.org/wiki/ZFS" onclick="pageTracker._trackPageview('/outgoing/en.wikipedia.org/wiki/ZFS?referer=');">http://en.wikipedia.org/wiki/ZFS</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-298-2'>&#8617;</a></span></li><li id='fn-298-3'><a href="http://www.nexenta.org" onclick="pageTracker._trackPageview('/outgoing/www.nexenta.org?referer=');">http://www.nexenta.org</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-298-3'>&#8617;</a></span></li></ol></div>

<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/' rel='bookmark' title='Permanent Link: VMWare ESXi as a Media Server'>VMWare ESXi as a Media Server</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>More on Client Platform Security</title>
		<link>http://www.kroesbergens.com/portfolio/2010/03/more-on-client-platform-security/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/03/more-on-client-platform-security/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 15:51:20 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[risk]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/?p=279</guid>
		<description><![CDATA[As I wrote the other day, anything the mind of man can make, the mind of man can break. The piece I wrote earlier was relating directly to the security of the client operating system. However, there is another aspect to consider, specifically the human factor. While an OS itself can be secure as a [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/on-the-security-of-client-platforms/' rel='bookmark' title='Permanent Link: On the Security of Client Platforms'>On the Security of Client Platforms</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/google-wave-robots/' rel='bookmark' title='Permanent Link: Google Wave Robots'>Google Wave Robots</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/extracting-exchange-contacts-from-iphone/' rel='bookmark' title='Permanent Link: Extracting Exchange Contacts from iPhone'>Extracting Exchange Contacts from iPhone</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As I wrote the other day, anything the mind of man can make, the mind of man can break. The piece I wrote earlier was relating directly to the security of the client operating system. However, there is another aspect to consider, specifically the human factor.</p>
<p>While an OS itself can be secure as a rock, there is always a human factor involved. Even the most intelligent individual makes foolish decisions and actions at times. It is very difficult to protect the user from him/herself. It is very difficult to explain that some emails requesting their information are legitimate, and others are not. Or that some website popups only look like an application window, and are not to be clicked on. <span id="more-279"></span></p>
<p>These days, attackers find information more valuable than random destruction and wreaking havoc among systems. Consequently, the majority of attacks are designed to infiltrate and recover information, while doing their best not to alert the user. After all, why turn off the information hose as long as it&#8217;s producing information?</p>
<p>Consequently, one of our primary concerns should be the interaction the user makes with their computing device. If it is not possible to easily educate them on legitimate activities or requests vs. illegitimate ones, make it easy for them to understand how to control what is happening. For instance, even when they provide an administrator password to a seemingly legitimate prompt, there should be no lasting, hard to control activity. For example, an application editing the Windows Registry should not be permitted to alter settings outside the application scope (sandboxing). An educated user is a safer user. We need to do more to educate our users on the safe usage of computers, and teach them how to discern legitimate activity from illegitimate. I also believe that the OS has a place in educating the user to an extent, and providing them with easy to understand control over changes they&#8217;ve made/approved.   </p>
<p>Windows 7 has improved the control over this particular example, but unfortunately at the expense of user understanding and interaction. Linux, Unix, and OS X on the other hand, sandbox applications and their configurations, requiring minimal administrator level permissions. Consequently, the user has to very explicitly and conscientiously make a decision whenever an application requires an administrator permission level. The controls to manage any permanent changes are very easy to use in OS X. A user deletes an application, and it no longer is capable of executing. There are no core registry changes that the user needs to be concerned about removing. Configurations are in individual text files, specific to each application. I digress however. </p>
<p>I do not run antivirus on my Macs. However, I run a network firewall (LittleSnitch) that informs me of network traffic going in &#038; out. Just because my OS provides fewer attack venues, and is fairly secure, does not protect me from accidentally/foolishly approving a change which will transmit my personal information.      </p>


<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/on-the-security-of-client-platforms/' rel='bookmark' title='Permanent Link: On the Security of Client Platforms'>On the Security of Client Platforms</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/google-wave-robots/' rel='bookmark' title='Permanent Link: Google Wave Robots'>Google Wave Robots</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/extracting-exchange-contacts-from-iphone/' rel='bookmark' title='Permanent Link: Extracting Exchange Contacts from iPhone'>Extracting Exchange Contacts from iPhone</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/03/more-on-client-platform-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On the Security of Client Platforms</title>
		<link>http://www.kroesbergens.com/portfolio/2010/03/on-the-security-of-client-platforms/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/03/on-the-security-of-client-platforms/#comments</comments>
		<pubDate>Mon, 29 Mar 2010 16:34:55 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/?p=274</guid>
		<description><![CDATA[Anything the mind of man can make, the mind of man can break. Realizing this, one needs to shift their perception of how to view client platform security. Theoretical analysis is good. However, practical application is what should define security evaluation. Which platform is more secure in practice? Anyone can justify any OS&#8217;s security. However, [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/more-on-client-platform-security/' rel='bookmark' title='Permanent Link: More on Client Platform Security'>More on Client Platform Security</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/06/some-perspective-on-google-ditching-windows/' rel='bookmark' title='Permanent Link: Some Perspective on Google Ditching Windows'>Some Perspective on Google Ditching Windows</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/03/linux-alternatives-to-the-ipad/' rel='bookmark' title='Permanent Link: Linux Alternatives to the iPad'>Linux Alternatives to the iPad</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Anything the mind of man can make, the mind of man can break.</p>
<p>Realizing this, one needs to shift their perception of how to view client platform security. Theoretical analysis is good. However, practical application is what should define security evaluation. Which platform is more secure in practice? Anyone can justify any OS&#8217;s security. However, the proof is in the pudding. For example, Unix has been used for government/financial servers for a long time. Windows Server has been used, and I would argue that the Windows servers have proved themselves much more vulnerable over an extended period. Just ask any system administrator. <span id="more-274"></span></p>
<p>Take a look at Linux. If there is any platform with serious potential vulnerability, it would be Linux. Since the code is so open, and written by so many uncoordinated, imperfect people, there is vast potential for holes. However, in practical usage, it is one of the most secure platforms available. When holes are found, they are quickly patched by the open source community. Most Linux users are reasonably tech-savvy, and don&#8217;t fall for many of the same social engineering tricks that Windows users do. It is arguably a secure platform.</p>
<p>This also leads to another point. The bigger the target, the more attackers will aim at it. Just because you are a smaller target does not mean you are less secure. Even if you are more vulnerable, the fact that you are being attacked less provides security. I for one do not want to be the tank shot at on the battlefield. I&#8217;d prefer to be the sniper, vulnerable, but inconspicuous and hardly fired upon.</p>
<p>Articles such as the recent PCWorld piece<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-274-1' id='fnref-274-1'>1</a></sup> hyping how the iPhone was first to fall in the PWN2OWN contest, and how the Macs and iPhones are no less vulnerable than Windows, are worthless drivel. One needs to accept that everything can be broken. Even RSA1024 was recently broken<sup class='footnote'><a rel="nofollow" target="_blank" href='#fn-274-2' id='fnref-274-2'>2</a></sup>. However, the fact that a platform was broken/hacked (by methods devised in the months prior) does not mean it is less secure in practical usage. I have yet to have one of my Mac installations infected or broken, while the Windows 7 install (which I only use to manage home servers or test a site in IE) has been attacked twice, and infected once.</p>
<p>Let&#8217;s stop defending our idealistic points and accept reality shall we? Mac, Linux, and Unix are all platforms that can be violated. However, in practical usage, they are more secure than the Microsoft Windows platform. </p><div class='footnotes'><div class='footnotedivider'></div><ol><li id='fn-274-1'><a href="http://www.pcworld.com/article/189760/hacking_impresario_windows_safer_than_mac.html" onclick="pageTracker._trackPageview('/outgoing/www.pcworld.com/article/189760/hacking_impresario_windows_safer_than_mac.html?referer=');">http://www.pcworld.com/article/189760/hacking_impresario_windows_safer_than_mac.html</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-274-1'>&#8617;</a></span></li><li id='fn-274-2'><a href="http://www.ns.umich.edu/htdocs/releases/story.php?id=7551" onclick="pageTracker._trackPageview('/outgoing/www.ns.umich.edu/htdocs/releases/story.php?id=7551&amp;referer=');">http://www.ns.umich.edu/htdocs/releases/story.php?id=7551</a>  <span class='footnotereverse'><a rel="nofollow" target="_blank" href='#fnref-274-2'>&#8617;</a></span></li></ol></div>

<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/03/more-on-client-platform-security/' rel='bookmark' title='Permanent Link: More on Client Platform Security'>More on Client Platform Security</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/06/some-perspective-on-google-ditching-windows/' rel='bookmark' title='Permanent Link: Some Perspective on Google Ditching Windows'>Some Perspective on Google Ditching Windows</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/03/linux-alternatives-to-the-ipad/' rel='bookmark' title='Permanent Link: Linux Alternatives to the iPad'>Linux Alternatives to the iPad</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/03/on-the-security-of-client-platforms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Alternatives to the iPad</title>
		<link>http://www.kroesbergens.com/portfolio/2010/03/linux-alternatives-to-the-ipad/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/03/linux-alternatives-to-the-ipad/#comments</comments>
		<pubDate>Mon, 22 Mar 2010 01:57:40 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/?p=268</guid>
		<description><![CDATA[I was recently reading an article from LXer, entitled &#8216;Linux alternatives for the iPad &#8211; and the future of netbooks, tablets and smartbooks&#8217;. The author hypes up Linux on tablet devices, concluding that 2010 is the year of Linux on the tablet, most of which will be Android flavored. He attempts to put down the [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/02/microsoft-vs-ipad/' rel='bookmark' title='Permanent Link: Microsoft vs. iPad'>Microsoft vs. iPad</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/apple-ipad/' rel='bookmark' title='Permanent Link: Apple iPad'>Apple iPad</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/04/thoughts-on-the-ipad/' rel='bookmark' title='Permanent Link: Thoughts on the iPad'>Thoughts on the iPad</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was recently reading an article from LXer, entitled <a rel="nofollow" target="_blank" href="http://lxer.com/module/newswire/view/131294/" onclick="pageTracker._trackPageview('/outgoing/lxer.com/module/newswire/view/131294/?referer=');">&#8216;Linux alternatives for the iPad &#8211; and the future of netbooks, tablets and smartbooks&#8217;.</a> The author hypes up Linux on tablet devices, concluding that 2010 is the year of Linux on the tablet, most of which will be Android flavored. He attempts to put down the iPad and the would-be iPad users, saying that <em>&#8216;Probably most Apple users don&#8217;t care [about System-on-Chip design] just as they don&#8217;t care about the hardware of their iPhones. The iPad is a closed device that&#8217;s supposed to just work and cater to fashion minded people, not to &#8216;tweakers&#8217; and hackers.&#8217;</em> (In the eyes of a computer geek, this statement is designed as an insult.) The author also refers to the iPad as an iTab, again intended to provoke, rather than inform.<span id="more-268"></span></p>
<p>The article makes a number of interesting observations, particularly about hardware manufacturers and suppliers. It also makes mention of a number of upcoming hardware designs and the features they will bring. I&#8217;d recommend reading the piece, even if just for the factual knowledge it contains.</p>
<p>I&#8217;m afraid however, that I have to disagree with the author. In my opinion, I don&#8217;t believe that 2010 is the year of the Linux tablet. As a matter of fact, I don&#8217;t think that any Linux device will ever out-iPad the iPad. Linux aficionados have been proclaiming the &#8216;year of Linux&#8217; on desktops for as far back as I can remember. Every year, every distribution, Linux fans rejoice and proclaim that the end is nigh for Microsoft and Apple domination, and that Linux is going to take over the world. Why? Because they believe that &#8216;free&#8217; will triumph over commercial. </p>
<p>The author summarizes my perspective exactly (though completely unintended) in a later paragraph, where he says <em>&#8216;In my opinion, Linux won&#8217;t offer this kind of magic. To bring magic like Apple does, Linux and the companies bringing Linux have to act like Apple. That means secrecy, a closed development model, a one-size-fits-all solution and one and only one manufacturer / organization which oversees hardware, software, marketing and the developer community. Not going to happen for free software and Linux!&#8217;</em> If we break down this statement meaningfully, we see that that in order to bring an almost perfect user experience, one needs to have a closed development model, and a single manufacturer designing both the hardware AND software. He continually pushes Android, an flavor of Linux being driven by a company (Google) with a lot of money behind it, and a development structure (management) that is not available in a community driven environment. </p>
<p>The author highlights another perspective I share (again, unintentionally I&#8217;m sure), when he states that <em>&#8216;Android is much more popular, and the magic comes from Google, Google marketing Android at big device manufacturers and the platform being &#8216;pretty open&#8217;. Also, in contrary to my limited view, Google understood the issue about marketing and education. That&#8217;s why, in advent of the ballot screen, they ran huge adds outside on busstops, along highways and buildings at least in NL and UK and they even bought their own front page add on free newspapers read by millions of Dutch readers.&#8217;</em> It&#8217;s funny how advertising is so important even for something free. He realizes that the idealistic nature of Linux (free) is not merely enough to make people want it. Money (and lots of it) must be spent in order for something to be adopted. Nothing in life is free, and unfortunately, the majority of the Linux community seem to miss that fact.</p>
<p>The author concludes with a short(sighted) paragraph, stating that <em>&#8216;Android on the tablet will be what Windows was on the desktop. But it will be easier for other Linux to co-exist with Android than with Windows, so for those who like to tinker the feature is pretty bright.&#8217;</em> But I thought that Linux by its very nature was supposed to be open, so that it can coexist easily with everything? Therefore, it shouldn&#8217;t be easier to code for Linux rather than Windows. Unfortunately, developers tend to code more for the platforms that make them money (but hey, everything in life should be free right? <img src='http://www.kroesbergens.com/portfolio/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), and the majority of developers will tend to code for the Windows desktop OS. Also, I think it is very short-sighted to conclude that Microsoft will not be targeting the tablet market as well.</p>
<p>This post may come across a little bit harsh toward Linux. However, the fact remains that without proper guidance/direction in the development of a Linux tablet OS, and proper marketing, Linux will never succeed. For this &#8216;free&#8217; operating system to succeed, money, and lots of it, must be spent. The only problem is that it is not the general Linux community who will pay for it. Rather, it will be (is) big corporations (see Google) who fork out tons of money. It just seems that the Linux community does not get this fact, or, if they do, do not care about freeloading the money to support their dream of a &#8216;free&#8217; OS.</p>


<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/02/microsoft-vs-ipad/' rel='bookmark' title='Permanent Link: Microsoft vs. iPad'>Microsoft vs. iPad</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/01/apple-ipad/' rel='bookmark' title='Permanent Link: Apple iPad'>Apple iPad</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/04/thoughts-on-the-ipad/' rel='bookmark' title='Permanent Link: Thoughts on the iPad'>Thoughts on the iPad</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/03/linux-alternatives-to-the-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESXi as a Media Server</title>
		<link>http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/</link>
		<comments>http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 14:53:28 +0000</pubDate>
		<dc:creator>Wes Kroesbergen</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.kroesbergens.com/portfolio/?p=235</guid>
		<description><![CDATA[In the last little while, I&#8217;ve begun to work a lot more with VMware ESXi, in an attempt to understand virtualization better. Along with the benefits it brings to larger companies, I began to see some benefits that it would bring to my personal life. At home, I am constantly developing or experimenting with new [...]


Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/' rel='bookmark' title='Permanent Link: ESXi, ZFS, and Home Server Data Storage &#8211; Part 1'>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/04/thoughts-on-the-ipad/' rel='bookmark' title='Permanent Link: Thoughts on the iPad'>Thoughts on the iPad</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In the last little while, I&#8217;ve begun to work a lot more with VMware ESXi, in an attempt to understand virtualization better. Along with the benefits it brings to larger companies, I began to see some benefits that it would bring to my personal life. At home, I am constantly developing or experimenting with new technologies in an attempt to understand them and build my skills. The problem is that I tend to do a lot of my experimentation on our home server (an old Dell 5150, with lots of extra hard drives). Since we are using this as a media server, things tend to become difficult for those using the media or data when I need to reboot/install something new. This resulted in much of our data being scattered among our other machines (two MacBook Pro&#8217;s and an iMac). All in all, a very messy setup.<span id="more-235"></span></p>
<p>Enter ESXi. Virtualized machines brings me the ability to leave a media server up and running while I add, build, or reconfigure other machines, without the expense of all the hardware. It also brings all those machines into a single console, making it really convenient for me to manage. Along with that, I can now easily allocate more storage to the virtual machine as I have need!</p>
<p>Of course, this presented a problem. There is a <strong>lot</strong> of data that needed to be migrated. 1TB on the iMac, 320GB + 500GB + 160GB + 160GB on the existing media server, 160GB on the other MacBook Pro, and ~100GB on my MacBook Pro. How do you migrate all this data over? I budgeted for 1 new hard drive, but not more than one.</p>
<p>I purchased new server components (see below) on Boxing Day, and spent about ~$600 on what would have been an ~$830 server.</p>
<p>Components:</p>
<ul>
<li>Motherboard: Asus P5Q Pro Turbo</li>
<li>CPU: Intel E7500 Boxed (mid-late 2009 versions have VT-x, a requirement for 64bit host VM&#8217;s)</li>
<li>Ram: 4GB OCZ DDR2 800</li>
<li>Hard-drive: WD 1.5TB</li>
<li>Case: Antec P183</li>
<li>PSU: Antec TruePower 650 New</li>
<li>Video Card: Asus EAH4350 (Asus motherboard doesn&#8217;t have on-board video)</li>
<li>NIC: Intel EXPI9301CT (Required, as ESXi 4 didn&#8217;t support the integrated Atheros-based NIC)</li>
</ul>
<p>I began the new ESXi build by assembling the new hardware. As I wasn&#8217;t installing from USB and instead opted for the lower-hassle CD installation method, I borrowed a CD drive from my spare hardware box (I also borrowed keyboard/mouse/monitor). When I tried to boot ESXi for the first time, it informed me that the integrated NIC was not compatible. I nipped out to Canada Computers and purchased a new one, and the installation proceeded smoothly from that point on. Once installation was completed, I enabled SSH to ESXi by doing the following:</p>
<ol>
<li>alt-f1 (Note: As pointed out below, you will not see your typing on this screen, just trust us, it is there).</li>
<li>unsupported</li>
<li>root pw</li>
<li>vi /etc/inetd.conf</li>
<li>delete the “#” from ssh</li>
<li>services.sh restart</li>
</ol>
<p>I rebooted the machine, and went to my Windows box (no Mac ESXi/vSphere client yet) to manage the server. (If you haven&#8217;t installed the vSphere client yet, you can download it by going to your ESXi installation&#8217;s IP in your web browser) I setup a new VM for Ubuntu Linux 9.10, allocating 16GB to the VM hard drive, and configuring it with thin provisioning (dynamically expands). All my data would be on a second virtual drive. I then proceeded to install Ubuntu and install all the updates. Now it was time to add space for my data.</p>
<p>It was at this point that I hit a snag. VMware ESXi only supports 256GB virtual disks. I have terabytes of data, so how am I supposed to store all this information? </p>
<p>Enter LVM (Logical Volume Manager). LVM is a great technology that has seen a lot of use in Linux, allowing you to create volumes that span multiple hard-drives/partitions. I added 5 256GB thin provisioned disks to the Ubuntu installation, and proceeded to mount them as a single ext3 volume under /mnt/Shares. I set the volume to auto-mount on reboot in my /etc/fstab file, and proceeded to create the directories inside /mnt/Shares that would serve up my data. You can see a list of my shares below.</p>
<ul>
<li>Backup (To be used for Time Machine)</li>
<li>Data (To be used for miscellaneous data, like eBooks)</li>
<li>Movies</li>
<li>Music</li>
<li>Photos (Will contain an rsync-ed folder of my Adobe Lightroom photos, as well as a folder for miscellaneous images (scans, etc))</li>
<li>Software (Will contain a copy of my software. I have directories created Windows and Mac, and the respective software in each)</li>
<li>TV</li>
</ul>
<p>The next interesting bit. How to actually share these shares. Obviously I don&#8217;t want to just open everything up to the world, and I also happen to have a multi-platform environment here, with Windows clients, Mac clients, and my landlord&#8217;s Linux clients. I elected to share all the shares using AFP (for my Macs), and the Movies, TV, and Software directories via SMB (for my Windows clients and the Linux clients). I created a user account called &#8216;main&#8217; for my use, &#8216;kidd&#8217; for my landlord, and &#8216;visitor&#8217; for any guests that may be over. All three are password protected. &#8216;main&#8217; has access to all shares, &#8216;kidd&#8217; has access to Movies, TV, and Software, and &#8216;visitor&#8217; has access to Movies and TV.</p>
<p>I shared the AFP shares to my Macs using a custom-compiled version of netatalk, following the great tutorial <a rel="nofollow" target="_blank" href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/" onclick="pageTracker._trackPageview('/outgoing/www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/?referer=');">here</a>. SMB configuration was fairly straightforward, and everything went well. I copied over as much data as possible (from the old server), before running out of disk space. At this point, I copied over data from the iMac 1TB into the now-empty old server, and popped the 1TB drive into the server. At this point I ran into the second snag. ESXi did not want to format the drive! I did some digging, and found that it was due to having been formatted as GUID before (in the Mac). I used dd to wipe out the first and last sectors of the drive, and tried to create a new partition via fdisk as per <a rel="nofollow" target="_blank" href="http://www.vm-help.com/esx/esx3i/ESXi_35_common_issues.php#unable_to_read_partition_information" onclick="pageTracker._trackPageview('/outgoing/www.vm-help.com/esx/esx3i/ESXi_35_common_issues.php_unable_to_read_partition_information?referer=');">these</a> instructions. Again, no go. After several attempts, I discovered that immediately after creating the partition table with fdisk, I had to reboot before using the vmkfstools command to create a datastore. After rebooting the server, I was able to format the drive appropriately. I logged into the Windows GUI console and deleted the new datastore. I then added the drive to the existing datastore, and fired up Ubuntu. I created several more 256GB thin-provisioned disks, and added them to the LVM. </p>
<p>I&#8217;ve installed &#8216;forked-daapd&#8217; as a service on Ubuntu. This allows me to open Front Row and select the server as a source. I&#8217;ve also &#8216;tightvncserver&#8217; set to run on startup, and have advertised the service in Avahi/Bonjour. This allows me to see the &#8216;Share Screen&#8230;&#8217; button in OS X finder, and control the MediaServer via Screen Sharing, rather than a dedicated VNC client.</p>
<p>It&#8217;s been a great experiment, and now a great production home-media server. I&#8217;m looking forward to setting up my lab environment in other VM&#8217;s on ESXi. Feel free to leave me any questions/comments below that you might have on the process.</p>


<p>Related posts:<ol><li><a href='http://www.kroesbergens.com/portfolio/2010/05/esxi-zfs-and-home-server-data-storage-part-1/' rel='bookmark' title='Permanent Link: ESXi, ZFS, and Home Server Data Storage &#8211; Part 1'>ESXi, ZFS, and Home Server Data Storage &#8211; Part 1</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/08/update-re-esxi-zfs-storage/' rel='bookmark' title='Permanent Link: Update re: ESXi &#038; ZFS Storage'>Update re: ESXi &#038; ZFS Storage</a></li>
<li><a href='http://www.kroesbergens.com/portfolio/2010/04/thoughts-on-the-ipad/' rel='bookmark' title='Permanent Link: Thoughts on the iPad'>Thoughts on the iPad</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.kroesbergens.com/portfolio/2010/01/vmware-esxi-as-a-media-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
