How to create a virtual machine