This is my lightweight vagrant setup for Drupal development on Mac OS X. It installs all the requirements, along with xdebug, drush, and drupal console. There's some server config too - clean URLs FTW.
Set up a project directory with a structure like:
/<your site files>
Edit the Vagrantfile to use a unique IP.
vagrant up from the project directory, and you're off!
You can access the site at the IP you specified.
Using it, extra stuff
Feel free to point a domain at that IP via your /etc/hosts file.
This is currently setup for D8. To use with D7 or D6, switch branches.
Caveats / Gotchas
You'll have to enter your password on
vagrant up to edit /etc/exports.
There are ways around this.
If you accidentally reuse an IP, you may get an error like 'WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED'. So, don't do that. But, you can also clean out your ~/.ssh/known_hosts.
This doesn't work with Windows, which doesn't support NFS. Learn more about synced folders.
You should take 30 minutes and go through Vagrant's getting started guide.
drupal-vm is a much larger and more powerful Drupal VM solution.
Check in on #vagrant on Freenode if you need help.
Move shell commands from bootstrap.sh into Vagrantfile, for even fewer files.