<?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>SpaceFan &#187; IDE</title>
	<atom:link href="http://know-and-share.de/spacefan/tag/ide/feed/" rel="self" type="application/rss+xml" />
	<link>http://know-and-share.de/spacefan</link>
	<description>Hansjoerg&#039;s thoughts on space (outer-, knowledge-, development-) and related</description>
	<lastBuildDate>Sat, 24 Apr 2010 17:56:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Test and Deploy in virtual times</title>
		<link>http://know-and-share.de/spacefan/software-development/test-and-deploy-in-virtual-times/</link>
		<comments>http://know-and-share.de/spacefan/software-development/test-and-deploy-in-virtual-times/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 18:54:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[Opensolaris]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://know-and-share.de/spacefan/?p=24</guid>
		<description><![CDATA[An important part of any Software development is to ensure that deployment works as desired. While in previous times a developer was trying to get a separate server to test the deployment, this can now be done through virtualization on the very same system. So here is my journey and approach to it which I [...]]]></description>
			<content:encoded><![CDATA[<p>An important part of any Software development is to ensure that deployment works as desired. While in previous times a developer was trying to get a separate server to test the deployment, this can now be done through virtualization on the very same system.<br />
So here is my journey and approach to it which I prepared in order to do a further development of an internal project at Sun.</p>
<p><strong>The Goal</strong> which I&#8217;ve set myself for this is:<br />
Use Open Source Solution and latest Technology to create a Development and Deployment environment on one system (in my case: MacBook Pro).</p>
<p>Here is a summary of the steps I&#8217;m taking:</p>
<ul>
<li>Installation of IDE (Netbeans)</li>
<li>Installation of hypervisor software to run Opensolaris on the MacBook (VirtualBox)</li>
<li>Installation of OpenSolaris into VirtualBox</li>
<li>Installation and configuration of Deployment environment (MySQL and Glassfish)</li>
<li>Configuration of VirtualBox for secure network connection of Host-System and IDE towards MySQL/GLassfish</li>
<li>Configuration of Netbeans to Deploy to MySQL and Glassfish on Opensolaris within the VirtualBox</li>
<li>Test of the Development and Deployment environment with a simple application</li>
</ul>
<p><strong>Today&#8217;s part of the effort</strong>: Let&#8217;s start easy and first do the IDE installation and the pure VirtualBox install.</p>
<p><strong>Step 1:  Installation of NetBeans</strong><br />
This is straight-forward: Just go to the <a href="http://netbeans.org/">Netbeans Website </a>and download the <a href="http://www.netbeans.org/downloads/index.html">MacOS version of Netbeans</a>. The Website will recognize the browser of your system and propose the version for your Operating System.</p>
<p>Decide if you want the full version or a sub-version, that table on the website is quite helpful. If you are looking to do a full-featured development in Java, use the &#8220;Java-Bundle&#8221;. If you also want to do some work in Ruby or PHP, give it some extra space and use the &#8220;All-Bundle&#8221;.</p>
<p>The download will typically be a DMG-File, which will contain the installer and the application. While your system downloads the bits and bytes, you might as well check out the <a href="http://www.netbeans.org/community/news/">latest news from the community</a> or search in the <a href="http://www.netbeans.org/kb/index.html">Document section</a> which has a great repository of current tutorials and learning trails.</p>
<p>Once fully downloaded, open the DMG file. It will look similar to this:</p>
<div id="attachment_40" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-40" title="Netbeans-Install" src="http://know-and-share.de/spacefan/wp-content/uploads/2009/11/Netbeans-Install-300x191.jpg" alt="Window of downloaded DMG File for Netbeans" width="300" height="191" /><p class="wp-caption-text">Window of downloaded DMG File for Netbeans</p></div>
<p>It is quite easy to follow the steps of the installation. Just click on the package-like symbol and you will soon have Netbeans installed on your system.</p>
<p><strong>Step 2: Install Virtualbox</strong><br />
This also is quite seamless given the latest Version of <a href="http://www.virtualbox.org/">VirtualBox</a>. When you go to the VirtualBox <a href="http://www.virtualbox.org/wiki/Downloads">Download page</a> you can select the right version for your system. For the Macbook just select the latest one for &#8220;OS X Hosts&#8221; and download it. The downloaded DMG file again will have the installer and the app and you can install Virtualbox by clicking the installer in the opened DMG file:</p>
<div id="attachment_30" class="wp-caption alignnone" style="width: 502px"><img class="size-full wp-image-30 " title="VirtualBox-DMG-Window" src="http://know-and-share.de/spacefan/wp-content/uploads/2009/11/VirtualBox-DMG-Window.jpg" alt="Window of DMG File for VirtualBox, ready for install" width="492" height="308" /><p class="wp-caption-text">Window of DMG File for VirtualBox, ready for install</p></div>
<p>Again, as for the Netbeans install, simply click on the package-like symbol, follow the respective instructions and you&#8217;ll have VirtualBox installed.</p>
<p><strong>What have you got now and what&#8217;s next?</strong><br />
Well, you now have a fully installed IDE so you can already start with your development efforts. Go and explore Netbeans and test out it&#8217;s functionality</p>
<p>Next week we go and start the installation of <a href="http://www.opensolaris.com/">OpenSolaris</a>.</p>
<p>You want to prepare for that?  Well, then download the latest version of OpenSolaris. You can either go for <a href="http://www.opensolaris.com/get/index.jsp">the official release</a> (as of the writing of this post it is 2009.06)  or (same as I&#8217;ve done) go for the latest development. For that you might want to download from <a href="http://genunix.org/">genunix.org</a> which holds candidate builds and get the <a href="http://genunix.org./distributions/indiana/osol-1002-125-x86.iso">latest build as an ISO-file</a></p>
<p>Remember, these are large files (772MB for the candidate build and the official release is 677 MB ) but you only download them once and after the install you can use the much faster update mechanism of OpenSolaris</p>
<p><strong>See you at the next post <img src='http://know-and-share.de/spacefan/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://know-and-share.de/spacefan/software-development/test-and-deploy-in-virtual-times/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

