<?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>semioticpixels &#187; vms</title> <atom:link href="http://www.semioticpixels.com/tag/vms/feed/" rel="self" type="application/rss+xml" /><link>http://www.semioticpixels.com</link> <description></description> <lastBuildDate>Thu, 12 Jan 2012 08:43:04 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Don&#8217;t Make Me Think: Infrastructure for Web Development</title><link>http://www.semioticpixels.com/linux-server-administration/dont-make-me-think-infrastructure-for-web-development/</link> <comments>http://www.semioticpixels.com/linux-server-administration/dont-make-me-think-infrastructure-for-web-development/#comments</comments> <pubDate>Thu, 13 Dec 2007 17:24:03 +0000</pubDate> <dc:creator>chris</dc:creator> <category><![CDATA[linux server administration]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[virtual machines]]></category> <category><![CDATA[vms]]></category><guid isPermaLink="false">http://www.semioticpixels.com/?p=5</guid> <description><![CDATA[When I was in college, my fellow classmates and I whined to each other about the gyrations it took to just get our development environments configured so we could do our homework &#8230; building a development environment was not the &#8230; <a href="http://www.semioticpixels.com/linux-server-administration/dont-make-me-think-infrastructure-for-web-development/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>When I was in college, my fellow classmates and I whined to each other about the gyrations it took to just get our development environments configured so we could do our homework  &#8230; building a development environment was not the assignment.<span id="more-5"></span></p><p>Working as a web developer or web designer isn&#8217;t much different. Setting up an infrastructure and development environment is not billable time but sometimes it seems I spend an inordinate amount of effort creating an infrastructure that supports getting my work done with less distraction.</p><p>The past couple years, infrastructure has gotten easier and more cost effective  using <a href="http://en.wikipedia.org/wiki/Virtual_machine">virtual machine</a> environments combined with free Linux distributions such as Ubuntu that strive to be more user friendly. So now seemed like a good time re-evaluate how I&#8217;m doing things and how I might do things differently to both increase productivity and reduce the environmental impact of my office.</p><h2>My General Infrastructure Requirements:</h2><ol><li>A Linux development and test server for programming projects.</li><li>A Windows webserver for .NET development</li><li>Windows workstations for IE browser testing <sup><a href="http://www.semioticpixels.com/linux-server-administration/dont-make-me-think-infrastructure-for-web-development/#footnote_0_5" id="identifier_0_5" class="footnote-link footnote-identifier-link" title="you can use various hacks for running multiple versions of IE on one machine &amp;#8230; but the risks are:they may not behave the same way as an installed version a Microsoft update will break them they don&amp;#8217;t work consistently across Windows 2000, XP or Vista when testing javascript behavior, I need to trust any errors are the javascript, not the browser install.">1</a></sup></li><li>A design station: Apple computers have superior system-level image rendering and have long been the standard for design stations.</li><li>A workhorse: this can double as ymy design station. If you need to run the many Windows-only business applications, this might be a Windows PC.</li><li>A server for internal applications &#8211; this should be more stable than the development/test server.</li><li>A router, preferably that combines wireless and print networking.</li><li>And last, but certainly not least, I want to become more productive while reducing environmental impact of my office &#8230; which is a whole different topic I&#8217;ll cover another time.</li></ol><p>my starting point was</p><ol><li>A year ago, my computer was desperately old but I was too busy with work to really think through what my ideal infrastructure should be. So I quickly built 2 computers from scavenged parts with the intent of using them for a year. Now that year is up</li><li>1 Ubuntu machine which was my workhorse, running  VMware with multiple installs of Windows and Linux for testing. I had built this a year ago reusing a cpu from a Dell</li><li>1 Windows server for .NET development. I had built this machine a year ago reusing another old cpu from a Dell.</li><li>1 linux server (a 5 year old Dell sc600) chugging noisily away in the closet. This was my development server</li><li>1 power pc used as a design station.</li></ol><p>Functionally, what I needed was a multi-core computer that would let me run multiple virtual machines simultaneously for testing and development. I&#8217;ve subscribed to <a href="http://www.browsercam.com">browsercam</a> for years to test websites which is expensive.  I need to be able to test websites on Windows, Mac and Linux and in multiple versions.  When Apple switched over to the Intel processor, I decided to get an Intel-based Mac as soon as VMware released a mac version.  So, the end result is:</p><ul><li>I kept my PowerPC design station with Adobe Creative Suite, professional fonts and font manager, and various other design and multimedia tools.</li><li>I purchased an Intel Apple and migrated from my Ubuntu workstation to the Apple. This is experimental for me and is what prompted me to write this. I have to admit that I really miss my Ubuntu desktop but I&#8217;ll give the mac a fair try. I installed VMware Fusion on my mac, and created a number of VMs:<ul><li>A standard LAMP+RoR+Plone installation (replacing my ancient Dell sc600)</li><li>A Windows workhorse install for mostly business applications such as QuickBooks, Microsoft Office, etc</li><li>Multiple installs of Windows for website testing in different versions of Internet Explorer</li><li>multiple installs of Ubuntu for various client projects that require different versions and packages installed on the server.<sup><a href="http://www.semioticpixels.com/linux-server-administration/dont-make-me-think-infrastructure-for-web-development/#footnote_1_5" id="identifier_1_5" class="footnote-link footnote-identifier-link" title="Although in most cases multiple versions of software can be run side by side in Linux, I find that it&amp;#8217;s less time consuming and less fraught with weird errors that must be resolved to just run a separate VM for those special cases rather than running 4 different versions of Python, for example, on the same machine&amp;#8230;">2</a></sup></li></ul></li><li>Most of my internal knowledge management and productivity tools are php, java and ruby on rails web applications. I spent more time than I thought was reasonable setting up hosting on my mac (Leopard), so I ended up creating a separate Ubuntu VM which took about 15 minutes to setup. This is fine since with a quad core, I can comfortably run multiple VMs and all my internal knowledge management is browser based anyway so the vm just has to be on and have an IP address.</li><li>Anyhoo &#8230; right before I switched over to the Intel Apple my old Linksys router went belly up. I&#8217;ve been pretty loyal to the Cisco-owned Linksys over the years despite the Windows-only admin interface. But I didn&#8217;t want to waste money on obsolete technology like G-band so I bought the wireless N Linksys router &#8230;.. and promptly returned it.<br /> I did more research and discovered that with the Apple Airport Extreme, I&#8217;d get not only a wireless-N router that I could administrate from my macs, but also a built-in print server which was something else I&#8217;d never been satisfied with in my infrastructure (well, dissatisfied isn&#8217;t really accurate. I was never able to get my old linksys print server to work nicely with my mac).<br /> So, the upshot is I got the Apple Airport Extreme and it works great &#8211; absolutely no complaints. Both macs can print, I can print from my linux and Windows VMs and, most importantly, I don&#8217;t have to think about it.</li></ul><p>The end result?  pretty good! I replaced 3 older, noisy, energy consuming computers with 1 for a grand total of 2 computers in my office. Which is nice since there are only 2 of us who work in this particular office. This should save me some maintenance time, means I&#8217;m consuming less energy and the office is quieter  now. I put away my KVM switch and cleared my desk of cables. I put the router and printer in the closet<sup><a href="http://www.semioticpixels.com/linux-server-administration/dont-make-me-think-infrastructure-for-web-development/#footnote_2_5" id="identifier_2_5" class="footnote-link footnote-identifier-link" title="laser printers release some nasty particulates when printing largish documents. So it&amp;#8217;s a good idea to place them in another room or enclosure. See &amp;#8220;SF Gate article&amp;#8221; Here&amp;#8217;s a link to the Particle Emission Characteristics of Office Printers">3</a></sup> and rarely have to power cycle the router.</p><p>VMware Fusion isn&#8217;t perfect yet &#8211; I&#8217;ll write about the trade offs in a separate post</p><h3>Update</h3><p>The above article was written in 2007.  It&#8217;s now 2011 and I&#8217;ve replaced all computers with a Mac Book Pro and some external harddrives to host VMs.  Easy!</p><ol class="footnotes"><li id="footnote_0_5" class="footnote">you can use various hacks for running multiple versions of IE on one machine &#8230; but the risks are:<ul><li>they may not behave the same way as an installed version</li><li>a Microsoft update will break them</li><li> they don&#8217;t work consistently across Windows 2000, XP or Vista</li><li>when testing javascript behavior, I need to trust any errors are the javascript, not the browser install.</li></ul><p></li><li id="footnote_1_5" class="footnote">Although in most cases multiple versions of software can be run side by side in Linux, I find that it&#8217;s less time consuming and less fraught with weird errors that must be resolved to just run a separate VM for those special cases rather than running 4 different versions of Python, for example, on the same machine&#8230;</li><li id="footnote_2_5" class="footnote">laser printers release some nasty particulates when printing largish documents. So it&#8217;s a good idea to place them in another room or enclosure. See <a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2007/08/01/PRINTERS.TMP&amp;tsp=1">&#8220;SF Gate article&#8221;</a> Here&#8217;s a link to the <a href="http://pubs.acs.org/cgi-bin/abstract.cgi/esthag/2007/41/i17/abs/es063049z.html">Particle Emission Characteristics of Office Printers</a></li></ol>]]></content:encoded> <wfw:commentRss>http://www.semioticpixels.com/linux-server-administration/dont-make-me-think-infrastructure-for-web-development/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/44 queries in 0.013 seconds using disk: basic
Object Caching 371/422 objects using disk: basic

Served from: www.semioticpixels.com @ 2012-02-04 23:02:48 -->
