Setting up a virtual machine has become easier and easier, but there is still that “last mile” configuration when setting up the application itself, whether Drupal, WordPress, Joomla, or just a LAMP stack to experiment with.
There is another way: TurnKey Linux