<?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>Breo Media Labs &#187; ubuntu</title>
	<atom:link href="http://labs.breomedia.com/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.breomedia.com</link>
	<description>Researching a better way.</description>
	<lastBuildDate>Sun, 30 May 2010 04:09:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting up VirtualBox Guest VM Server Networking via NAT</title>
		<link>http://labs.breomedia.com/2009/11/05/setting-up-virtualbox-guest-vm-server-networking-via-nat/</link>
		<comments>http://labs.breomedia.com/2009/11/05/setting-up-virtualbox-guest-vm-server-networking-via-nat/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 04:26:20 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://labs.breomedia.com/?p=67</guid>
		<description><![CDATA[I recently took Atlassian up on their Starter Pak deal to help manage some personal projects I&#8217;m hoping to kick off.  I&#8217;m a big fan of their work, and their entire suite has performed extremely well for us at work for the last 3 years.
While I could run the software directly off of my [...]]]></description>
			<content:encoded><![CDATA[<p>I recently took Atlassian up on their <a href="http://www.atlassian.com/starter/all.jsp">Starter Pak</a> deal to help manage some personal projects I&#8217;m hoping to kick off.  I&#8217;m a big fan of their work, and their entire suite has performed extremely well for us at work for the last 3 years.</p>
<p>While I could run the software directly off of my iMac, my preference (and the environment I&#8217;m ultimately most comfortable in) is to run them under Linux.  To accomplish this, I downloaded the latest version of <a href="http://www.xubuntu.org/">Xubuntu</a> and installed it within <a href="http://www.virtualbox.org/">VirtualBox</a> for OS X.  Being the lazy man that I am, I did a plain-vanilla VirtualBox install.</p>
<p>After a quick apt-get to install OpenSSHd (and trying to connect via the host OS back to the guest), I realized that the default network settings would not allow me to see back into the guest OS (Xubuntu) from the host (OS X) (The other way around works fine, btw).</p>
<p><span style="background-color: #ffffff;">The <a href="http://www.virtualbox.org/manual/UserManual.html#networkingdetails">VirtualBox documentation</a> presents a few different ways to resolve this (NAT, Bridged and Host-Only).  Once again, I decided to take the path of least resistance&#8230;which is to do simple port-forwarding from the host OS to the guest OS.  The result is that when a resource is requested on host OS port, it just forwards the request to the mapped guest OS port. </span></p>
<p><span style="background-color: #ffffff;">I have 3 primary services that I&#8217;m looking to forward: SSHd (22), Apache (80) and Tomcat (8080)&#8230;.so my mappings look like this:</span></p>
<p><span style="background-color: #ffffff;">Host OS Port 2222 &#8211;&gt; Guest OS Port 22 (SSHd)<br />
Host OS Port 10080 &#8211;&gt; Guest OS Port 80 (Apache)<br />
Host OS Port 18080 00&gt; Guest OS Port 8080 (Tomcat)</span></p>
<p><span style="background-color: #ffffff;">When VirtualBox is installed, it places a few command line utilities on the host OS.  The command that is needed to setup port-forwarding is <strong>VBoxManage</strong>.  There are 3 values that must be set for port-forwarding to work: Protocol, HostPort and GuestPort.  Below are the commands I executed to setup SSH port-forwarding:</span></p>
<pre>VBoxManage setextradata "Xubuntu"
  "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP

VBoxManage setextradata "Xubuntu"
  "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22

VBoxManage setextradata "Xubuntu"
  "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222</pre>
<p><span style="background-color: #ffffff;">The value &#8220;guestssh&#8221; is somewhat arbitrary&#8230;it just needs to be the same for all 3 values.  The other difference you might have is if you have chosen a different virtual network adapter (pcnet) when you setup your VM.  When in doubt, check the VirtualBox documentation.</span></p>
<p>That&#8217;s basically it&#8230;just rinse and repeat for any other services that you want to run on the guest OS and have visible from the host.</p>
<p><span style="background-color: #ffffff;"><br />
</span></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Flabs.breomedia.com%2F2009%2F11%2F05%2Fsetting-up-virtualbox-guest-vm-server-networking-via-nat%2F';
  addthis_title  = 'Setting+up+VirtualBox+Guest+VM+Server+Networking+via+NAT';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://labs.breomedia.com/2009/11/05/setting-up-virtualbox-guest-vm-server-networking-via-nat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OSCON 2008 &#8211; Day 1</title>
		<link>http://labs.breomedia.com/2008/07/23/oscon-2008-day-1/</link>
		<comments>http://labs.breomedia.com/2008/07/23/oscon-2008-day-1/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 05:36:57 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[oscon2008]]></category>

		<guid isPermaLink="false">http://labs.breomedia.com/?p=9</guid>
		<description><![CDATA[Technically, it&#8217;s day 2&#8230;but it&#8217;s day 1-ish for me.
I got into Portland around 2PM local time.  Checked-in to the hotel, then ran over to the convention center to check-in for the conference.  Probably the worst conference bag I&#8217;ve ever got.  That said, I think I have 5 computer backpacks lying around by now&#8230;so I&#8217;m definitely [...]]]></description>
			<content:encoded><![CDATA[<p>Technically, it&#8217;s day 2&#8230;but it&#8217;s day 1-ish for me.</p>
<p>I got into Portland around 2PM local time.  Checked-in to the hotel, then ran over to the convention center to check-in for the conference.  Probably the worst conference bag I&#8217;ve ever got.  That said, I think I have 5 computer backpacks lying around by now&#8230;so I&#8217;m definitely on overload.  Tech conferences need to move on to something else.</p>
<p>Not being familiar with the area and having not eaten in about 10 hrs, I went the path of least resistance and stopped by the mexican restuarant in the hotel (come to find out later it&#8217;s named &#8220;Eduardo&#8217;s Cantina&#8221;&#8230;if I&#8217;d known that, I probably would have just moved along).  I ended up chatting for a good long while with <a href="http://weblogs.java.net/blog/joshy/">Josh Marinacci</a> from the <a href="http://www.javafx.com/">JavaFX</a> team at Sun&#8230;which was cool because we&#8217;ve been working with JavaFX for well over a year now at work (I don&#8217;t think many people can say that&#8230;and even less could say they have an app in production using JavaFX).</p>
<p>Later in the night, they had an &#8220;Extravaganza&#8221; back over at the convention center.  There where 3 main parts (that I stayed for):</p>
<p>Mark Shuttleworth: Founder of the <a href="http://www.ubuntu.com">Ubuntu</a> project, as well as the commercial company supporting Ubuntu, <a href="http://www.canonical.com/">Canonical</a>.</p>
<p>He spoke about the economics of open source, software development methodologies (specifically Agile/Scrum/XP) and building software that encourages others to extend.  I&#8217;m sure my synopsis doesn&#8217;t do it justice, but overall a good talk.</p>
<p>Next, O&#8217;Reilly/Google gave out some Open Source awards.  I&#8217;m sure you can check out <a href="http://en.oreilly.com/oscon2008">their site</a> for the low-down</p>
<p>Finally (for me), <span class="description">Robert Lefkowitz gave a talk about software development methodologies.  The theme of Agile/XP came up yet again.  It definitely feels like (at least from attending conventions) that we&#8217;re at a tipping point on Agile methodoligy acceptance.  One thought I hadn&#8217;t had until tonite is that this is closely tied to the rise of open source.  In most open source projects, there aren&#8217;t a lot of requirements made up front..people either use (and by extension, like) what you&#8217;ve built, or they don&#8217;t and go elsewhere.  If they do like your product, instead of creating &#8220;requirements&#8221; for new features, they just submit bug reports&#8230;which get triaged appropriately.  Sounds pretty efficient.<br />
</span></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Flabs.breomedia.com%2F2008%2F07%2F23%2Foscon-2008-day-1%2F';
  addthis_title  = 'OSCON+2008+%26%238211%3B+Day+1';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://labs.breomedia.com/2008/07/23/oscon-2008-day-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Ubuntu Server Setup</title>
		<link>http://labs.breomedia.com/2008/06/03/quick-ubuntu-server-setup/</link>
		<comments>http://labs.breomedia.com/2008/06/03/quick-ubuntu-server-setup/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 01:31:08 +0000</pubDate>
		<dc:creator>eric</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://labs.breomedia.com/?p=4</guid>
		<description><![CDATA[I&#8217;m amazed at how easy it is to get a server up and running these days. From a fresh HD (or VM image if that&#8217;s your thing) to a fully functional LAMP+ server in just under an hour (depending on the size of your pipe).
Here&#8217;s a good HOWTO.

  addthis_url    = 'http%3A%2F%2Flabs.breomedia.com%2F2008%2F06%2F03%2Fquick-ubuntu-server-setup%2F';
 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m amazed at how easy it is to get a server up and running these days. From a fresh HD (or VM image if that&#8217;s your thing) to a fully functional LAMP+ server in just under an hour (depending on the size of your pipe).</p>
<p>Here&#8217;s a good <a href="http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p6" target="_blank">HOWTO</a>.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Flabs.breomedia.com%2F2008%2F06%2F03%2Fquick-ubuntu-server-setup%2F';
  addthis_title  = 'Quick+Ubuntu+Server+Setup';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>
]]></content:encoded>
			<wfw:commentRss>http://labs.breomedia.com/2008/06/03/quick-ubuntu-server-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
