Vagrant in Ubuntu 16.04 (Xenial)
Decided I needed to keep cleaner dev environments using vagrant today, so did a quick install. Easy:
-
Download Virtualbox
-
Download Vagrant (debian package works perfectly for ubuntu)
-
Realize that virtualization stuff isn’t enabled by default on my motherboard…
sudo apt-get install cpu-checker sudo kvm-ok
-
Enable VT-d and VMX (under CPU settings) so that virtualization works. Hard reboot system to make sure it’s enabled, run
sudo kvm-ok
again to double check things are good. -
Try it out!
mkdir -p ~/vagrants/precise64 && cd ~/vagrants/precise64 vagrant init hashicorp/precise64 vagrant up