Installing Virtualbox

Author: Stu Feeser

Objective:

  1. Set up VirtualBox so that we can launch VMs for Ansible to configure.
  2. Verify the download and install.

Tasks:

  1. Set up a symlink to our VirtualBox directory to make managing commands easier. We will map downloads -> /mnt/c/Users/<username>/Downloads/. Replace with your user name, of course!

    $ cd ~/

    $ ln -s /mnt/c/Users/<username>/Downloads/ downloads

  2. Now we can easily cd into our Windows 10 downloads directory.

    $ cd downloads/

  3. Create a virtualbox directory and cd into it.

    $ mkdir virtualbox && cd virtualbox

  4. IMPORTANT: Remain in this directory for all remaining steps.

    /mnt/c/Users/<YOURUSERNAME>/Downloads/virtualbox

  5. Download VirtualBox! Don’t do this from the browser, do it here:

    $ wget https://download.virtualbox.org/virtualbox/6.1.18/VirtualBox-6.1.18-142142-Win.exe

  6. Now grab SHAMSUM256 from VirtualBox.org.

    $ wget https://www.virtualbox.org/download/hashes/6.1.18/SHA256SUMS

  7. Confirm there’s nothing fishy about your version of VirtualBox.

    $ sha256sum --ignore-missing -c SHA256SUMS

    HA256SUMS
    VirtualBox-6.1.18-142142-Win.exe: OK
  8. Using File Explorer on your Windows 10 desktop, find the VirtualBox executable (VirtualBox-6.1.18-142142-Win.exe) and install VirtualBox.

  9. That’s it for this lab!

← Previous Next →