I start to get very tired and configure all my Dev tools every time I need to switch to a new machine, or get a laptop, or spoil my registry with constant installation and removal.
So, a new plan. I heard people virtualize their development environment, and that sounds like a great idea. The only problem is that I have little experience with virtual machines, so I do what I always do when I just don’t know, I ask stackoverflow.
Are you running a development environment in a virtual machine? What should I pay attention to? What are the unobvious benefits?
I have a free version of VMWare server installed on a Dell Optiplex 760 with XP, which is in my company’s Active Directory.
In it, I created a 25-gigabyte VM called Dev Tools with XP installed, this is not in any domain. Here come Visual Studio, TortoiseSVN, Git, Ruby, Toad, etc. I will also create a virtual disk for storing code files.
A few more questions:
- Do I have to browse the web daily on the host machine or do I need to deploy another virtual machine? What is the rule that should be used when deciding whether to install a non-dev application (such as GIMP) on a host or a new virtual machine?
- What about my development database? Should he get his own virtual machine?
- What is the best location for physical hard drives? Should I avoid placing the host and client virtual machines on the same one? I plan on getting an SSD - how can I optimize the speed this will offer?
- Developing .NET without administrator privileges is a pain in the ass, but should I worry about working as an administrator on my host machine?
- Any good backup solutions for my 25 gig dev tools machine? How often do you back up? I don’t want to restore it in a year, and I have to spend days updating every single application there.
source share