

The VMs are also portable: you can copy the virtual machine file to a USB drive and take it to work. I'm personally partial to Oracle's VirtualBox it's completely free, has enough features to keep me interested and is very simple to use. Your host machine will be invisible to apps running within your VM. Personally, I'm much less worried that an app I'm testing will maliciously delete something than I am that it will silently steal it and upload it somewhere. Testing in a VM also mitigates the risk of data leakage through malware. You could even diff the snapshots to see what changed.Īdditionally, the network adapter on my VM of choice NATs the VM, forcing you to manually configure port forwarding for the VM to access it, let alone detect that it exists. No problem! Revert your VM to the latest snapshot and away you go. Imagine you have improperly configured permissions and a script you're testing executes a hidden system('rm -Rf some_dir'). It's not as daunting as it might sound at first, though it may be overkill if all you're doing is developing your own code.Ī VM effectively sequesters whatever happens to your server (the guest) from propagating to your home computer running the virtual machine (the host).
XAMPP FOR MAC REVIEW INSTALL
You can - and arguably ought to - install your server software, whatever that might be (from XAMPP / WAMP in Windows to Ubuntu Server), in a virtual machine.
