Installing Virtualbox
Author: Stu FeeserObjective:
- Set up VirtualBox so that we can launch VMs for Ansible to configure.
- Verify the download and install.
Tasks:
-
Set up a symlink to our VirtualBox directory to make managing commands easier. We will map downloads -> /mnt/c/Users/
/Downloads/. Replace with your user name of course! $
cd ~/
$
ln -s /mnt/c/Users/<username>/Downloads/ downloads
-
Now we can easily cd into our Windows 10 downloads directory.
$
cd downloads/
-
Create a
virtualbox
directory andcd
into it.$
mkdir virtualbox && cd virtualbox
-
IMPORTANT: Remain in this directory for all remaining steps.
/mnt/c/Users/<YOURUSERNAME>/Downloads/virtualbox
-
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
-
Now grab SHAMSUM256 from VirtualBox.org.
$
wget https://www.virtualbox.org/download/hashes/6.1.18/SHA256SUMS
-
Confirm there’s nothing fishy about your version of VirtualBox.
$
sha256sum --ignore-missing -c SHA256SUMS
HA256SUMS VirtualBox-6.1.18-142142-Win.exe: OK
-
Using File Explorer on your Windows 10 desktop, find the VirtualBox executable (VirtualBox-6.1.18-142142-Win.exe) and install VirtualBox.
-
That’s it for this lab!