VM Setup (VMWare)

This tutorial includes the following topics:

  • Installing your VM
  • Setting up your VM
    • File sharing
    • Enable clipboard sharing

Installing and Configuring your VM:

  • Open VMware Workstation and select “Open a Virtual Machine”, select the “cloudera-quickstart-vm-5.12.0-0-vmware” you download earlier.
  • Select “cloudera-quicktart-vm-5.12.0-0-vmware” from the list after installation is completed, you will see an “edit virtual machine setting” option. The following screen shots are configurations of the successful configured VM:

Setting up your VM:

Now you can boot your VM. 

(1) File Sharing (HOST ←→VM)

Note that you will not need to share files or data between VM and host if you checkout your

SVN repo in VM so this is entirely optional.

  • Create a folder on the Host computer (your machine) that you would like to share, for example sharewithVM.
  • Select the virtual machine you will be using and click on Edit virtual machine settings.
  • On the Options tab, select Shared Folders and select Always enabled under Folder sharing.
  • Add the shared folder by clicking add and follow the steps, note that do not select read only for attributes. Click finish when done.
  • The shared folder now appears in the Folders list. The check box next to folder name indicates that the folder is being shared. You can deselect this check box to disable sharing for the folder.
  • Click OK to save your change. On Linux guests, shared folders should appear under /mnt/hgfs.
  • Open VM, open a terminal and run the following command:                                      sudo mount -t vmhgfs .host:/ /home/                                                 you will now see your shared folder under home directory, or you can change the path to mount the folder to another directory instead.  

(2) Clipboard Sharing (HOST ←→VM)           

Not like VirtualBox, VMware automatically enables clipboard sharing. VMware Tools also enables drag and drop between your host operating system and its virtual machines. Drag and drop files into or out of a virtual machine’s window to copy it between your host operating system and guest operating system.