views:

59

answers:

2

Is there an easy way to integrate with VirtualBox such that I could develop under the host, Windows, and deploy and run scripts via a mounted folder in a guest linux system?

I'm looking to develop for Linux under Windows, kind of.

+1  A: 

You can use VirtualBox's Shared Folders feature to enable your Ubuntu virtual machine to mount a directory of your Windows host. However, you're likey to be deal with some impedance mismatches like different line endings. I hope that is the least of your worries.

Adam Crossland
I work in IDEs which either autocorrect line endings or use whatever line endings the file has.
Stefan Kendall
Shouldn't be much of a problem then. Good luck.
Adam Crossland
+1  A: 

You might want to check out vagrant http://vagrantup.com/

It provides a nice and easy system to create a VM from a template in Virtual Box, and will automatically mount the project folder in the guest VM. The config can also easily be included in your project so others can use it.

lstoll
While useful, this is probably HUGE overkill for my purposes, although it might be nice to setup a company-wide base linux image with all the database/dev environments setup.
Stefan Kendall