wiki:GECTutorialVMInstructions

Version 2 (modified by divyashri.bhat@gmail.com, 11 years ago) (diff)

--

Where can I find the GEC15 tutorial VM image?

Installing the VM

  1. Install VirtualBox

Download the VirtualBox software from http://www.virtualbox.org.

If you already have VirtualBox installed on your machine, make sure it is version 4.1.18 or above.

  1. Download VirtualBox VM image for tutorials

Download the VirtualBox VM image (GEC15_Tutorials.ova) from the website [ http://www.planet-lab.org/GEC16/GEC16-Tutorials-Final.ova.]

  1. Install the GEC15_Tutorials.ova virtual machine image

Start up VirtualBox, select File->Import Appliance..., and follow the instructions. Accept the default VM settings during the import.

To run the virtual machine, go to the Oracle VM VirtualBox Manager window, select the VM and click the green arrow labeled Start at the top of this window.

If the install was successful, you should see the logon screen for the Ubuntu OS.

Using Shared Folders

If you need to transfer files from your host machine/laptop, the easiest way is typically using Shared Folders. Follow these steps to set up a shared folder on your VM.

  1. Go to the VirtualBox "Devices" menu and select "Shared Folders..."
  1. Click on the "Add" button on the right (looks like a folder with a plus sign).
  1. Select the path of the folder you would like to share with your VM.
  1. Enter the name you would like to give this shared folder in "Folder Name:" (e.g. myshared)
  1. Click on "OK" in the Add Shares window
  1. Click on "OK" in the Shared Folders window
  1. Create the directory where you would like you shared folder mounted (e.g. /media/shared):
    sudo mkdir /media/shared
    
  1. Mount the shared folder:
    sudo mount -t vboxsf myshared /media/shared
    

You should now be able to access your folder at /media/shared.