Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Databases Networking Programming Software Upgrades Hardware IT

Setting Up a Home Dev/Testing Environment? 136

An anonymous reader writes "I'm a Project Manager (hold the remarks) who recently decided that I want/need to get my dev skills more up-to-date, as more projects are looking for their PM's to be hands-on with the development. Looking around my house, I have quite the collection of older (read: real old — it's been a while) PCs — it's pretty much a PC graveyard. Nothing that would really help me set up a nice dev infrastructure for developing web/database apps. So, my question is as follows: Should I buy a number of cheaper PC's, or should I buy one monster machine and leverage (pick your favorite) virtual machine technology?"
This discussion has been archived. No new comments can be posted.

Setting Up a Home Dev/Testing Environment?

Comments Filter:
  • Virtual Machines (Score:4, Interesting)

    by morgan_greywolf ( 835522 ) on Friday November 21, 2008 @04:35PM (#25850317) Homepage Journal

    Virtual Machines are GREAT for Dev/Testing. You can setup machines with several different configurations, operating systems, etc., for testing and development. Plus, for N-tier web/database apps, you often want to be able to test a variety of different infrastructure choices for scalability and performance testing.

    Nothing really beats the way you can change things around on-the-fly with virtual machines. It really gives you the ultimate in flexibility.

  • by tcopeland ( 32225 ) <tom&thomasleecopeland,com> on Friday November 21, 2008 @04:43PM (#25850471) Homepage

    If you do go the VM route, consider using puppet [reductivelabs.com] to define your machine configurations. That'll make it much easier to build out more than one of each machine.

    Along the same lines, if you don't want to run a bunch of machines or VMs yourself you could spin up new EC2 instances as needed, point them to your Puppet server, and have them built out - consistently and correctly - in short order. Good times.

  • by jfinke ( 68409 ) on Friday November 21, 2008 @04:46PM (#25850513) Homepage
    I agree.

    I have an Intel Mac with fusion. With 4 GB of ram, which is pretty cheap these days, I can run OSX, Vista, Linux, and Solaris at the same time. Put each box on a different Spaces window and you can flip around them easily.

    Now fusion is not a power user friendly setup, but it is certainly usable.

  • Re:Personally... (Score:3, Interesting)

    by lgarner ( 694957 ) on Friday November 21, 2008 @04:55PM (#25850645)

    ESXi is also free. That's what I'm using for Linux, FreeBSD and OpenSolaris VM's at the moment.

  • Re:Another thought. (Score:3, Interesting)

    by juiceboxfan ( 990017 ) on Friday November 21, 2008 @05:08PM (#25850871)
    I second that! Been using it on my Linux laptop for over a year to have an XP machine available for the few Windows only apps that I can't avoid.

    Even the closed source version (added USB support?) is available for free to anyone who is willing to install it themselves. From the licensing FAQ [virtualbox.org];

    Personal use is when you install the product on one or more PCs yourself and you make use of it (or even your friend, sister and grandmother). It doesn't matter whether you just use it for fun or run your multi-million euro business with it. Also, if you install it on your work PC at some large company, this is still personal use.

    I like those terms;-)

  • Re:Virtual Machines (Score:4, Interesting)

    by Bill, Shooter of Bul ( 629286 ) on Friday November 21, 2008 @05:17PM (#25851055) Journal
    They will probably work for what he's trying to do. I always worry about running virtual machines in tests when the timing of the action is critical. If you have more virtual machines than cores, there are a lot of scenarios that I don't feel comfortable simulating in that environment. But maybe the graveyard pc's would help alleviate the situation for those scenarios as long as they can boot Linux and live on the network.
  • Not what I've done (Score:4, Interesting)

    by vux984 ( 928602 ) on Friday November 21, 2008 @05:36PM (#25851375)

    Simple... Get an Intel based Apple...

    Yeah, if you want OSX you'll need one.. but which one?

    If OSX is going to be your primary OS, and you want to mostly work in OSX and virtualize everything else on top of it... by all means get a powerful mac, ideally a pricey tower so you can get some extra hard drives inside it etc, which makes multi-booting a lot less of a hassle for when you don't want to access linux/windows in VM.

    You can setup multiple boot or VM environments for Windows, Linux, and of course Mac OS X.

    Except you can't VM OSX desktop edition, and buying an ADDITIONAL copy of OSX Server for each VM is expensive, and doesn't really help you since, as an OSX developer you want to test your software on OSX client, and probably both 10.4, and 10.5, possibly even 10.3 -- DESKTOP editions, since that's what most users use.

    So, my approach has been to buy a powerful PC, and do all the linux/solaris/bsd/windows stuff on that, and then to have an Apple laptop. You can get a very serviceable PC tower for the fraction of the price of a Mac tower, and if OSX isn't going to be your 'primary' OS its much more flexible way to go.

    The money you save by buying a PC tower instead of a Mac one can then be thrown at at a Mac Mini and a cheap KVM... or in my case, I have an Apple laptop.

  • Re:Virtual Machines (Score:3, Interesting)

    by try_anything ( 880404 ) on Friday November 21, 2008 @07:48PM (#25853231)

    Noob question: can you simulate high network latency and other network performance problems between VMs?

  • by Anthony_Cargile ( 1336739 ) on Friday November 21, 2008 @11:23PM (#25854957) Homepage
    You forgot the OS x86 project, so you CAN run Mac OS X Leopard in a virtual machine. I personally triple boot Ubuntu 8.10, Solaris 10, and Mac OS X (iAtkos hack) on my gateway, with every version of windows, solaris, and others in virtual machines (created with fusion, played with player), and it is a really nice setup if you keep the virtual machines on a spare partition so they're writable by all hardware-bootable operating systems.

    This is mostly for device driver and web development, in addition to general OS curiosity, and makes for a great development environment.

    As far as IDEs go, XCode is (just) alright, Eclipse is excellent, DevC++ is a blessing, and when it comes down to it even good old vim is great (I've heard about Emacs, but it really needs a text editor ;).

    But thats just my humble setup.
  • Re:Personally... (Score:1, Interesting)

    by Anonymous Coward on Saturday November 22, 2008 @09:37AM (#25857189)

    I use Xen but frankly to run Windows it's a major pain in the ar*e. My home SVN server is a Xen para-virtualized domU, running on an old P4. I also have Xen running on recent hardware, supporting hardware virtualization. Sadly the "free" Xen is wwaayy ssslllooowwweeerrr than, say, the free VMWare vmplayer to run Windows.

    What do yo mean by "the one system with Virtualization" ? MacOS X running parallels blows VMWAre's vmplayer speedwise that itself blows Xen's Windows virtualization speed...

    Regarding old hardware... I'd throw these old energy-inneficient and slow garbage and buy cheap Core 2 Duo's (say Mac Minis).

Today is a good day for information-gathering. Read someone else's mail file.

Working...