improve installer for running via vagrant

I've tweaked it to cope better with people who have a fresh VM with no apt-cache, and who are too lazy, as I am, to fill in the .config.sh file (whereupon the original script hangs if you lack mysql-server)