Skip to content

Detailed steps of setting up environment

seanhalle edited this page Dec 26, 2021 · 12 revisions

Getting started

Below are the steps of getting the hypervisor, and the OS image, and then creating a VM and installing the required tools inside that VM.

Get VirtualBox from here: https://www.virtualbox.org/wiki/Downloads

Get Mint 18 from here: https://www.linuxmint.com/edition.php?id=217

Install Virtualbox, and create a VM (choose "Ubuntu 64bit" as the type), at least 40GB of virtual disk, and install Mint into that VM

  • Select the new VM,
  • click "settings" then "system" then "motherboard" to configure it with a large amount of RAM (at least 2GB), then "Processor" to configure with at least half of the CPUs on your machine, then "Acceleration" to turn on VT-x and nested paging.
  • click "Display"->"screen" and set video memory to 64MB and enable 3D acceleration
  • click "Storage" -- you should see "Controller IDE" and to the right of that are little icons with + sign. One of those will allow selecting the .iso file of the Linux distribution that you downloaded.
  • (double check that the virtual hard disk size is larger than 40GB).
  • click "save" or "ok"
  • at the top, is a settings icon, click on that, then click on tab labelled "shared folders". In the dialog, on the left you'll see a folder with a "+" on it.. click on that and choose a folder that is outside of the VM. Check Auto-Mount field. You will use this folder for transferring files between VM and your host. On your host side, that shared folder should have appropriate permission level. If your host OS is Windows, right-click on the folder -> share with -> specific people -> select Everyone from drop-down menu and click on Add. Permission level should be set to Read. Finally, click Share -> Done. You can find more details in this video.

Then start the VM. This will cause it to boot into the Linux install disk. Go through the linux install procedure.

In the window where the VM is running:

  • click "Devices"->"shared clipboard" and select "bidirectional"
  • select "Devices"->"drag and drop"->"bidirectional"

If the machine still seems a bit slow, some extra tweaks can be found here.

Install the Guest Additions and git and add permissions for shared folder in the Linux Mint that is installed inside the VM:

Restart the VM (important!) then enable clipboard copy-paste:

in the VM manager, click the settings button for the VM. Under General, select Advanced tab, select bi-directional. https://www.liberiangeek.net/2013/09/copy-paste-virtualbox-host-guest-machines/

Finally, run the setup script.

Clone this wiki locally