I used an Oracle Virtual Box to setup my system inside a mac.
Follow the guidelines in this link. Its pretty complete and easy to follow.
Couple of things to mention :