Skip to content

Instantly share code, notes, and snippets.

@ChrisMcKee
Forked from knu2xs/install_packer_vagrant.md
Last active February 13, 2018 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisMcKee/3303619edecf468325593f0c1661346c to your computer and use it in GitHub Desktop.
Save ChrisMcKee/3303619edecf468325593f0c1661346c to your computer and use it in GitHub Desktop.
Packer + Vagrant on Ubuntu 16.04.1 LTS

Install Packer

wget https://releases.hashicorp.com/packer/1.2.0/packer_1.2.0_linux_amd64.zip
unzip packer_1.2.0_linux_amd64.zip
sudo mv packer /usr/local/bin/

http://howtoprogram.xyz/2016/11/29/install-packer-ubuntu-16-04-1-lts-xenial-xerus/

Install Vagrant

Install VirtualBox

sudo touch /etc/apt/sources.list.d/virtualbox.sources.list
echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" >> sudo /etc/apt/sources.list.d/virtualbox.sources.list
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-5.1

http://tecadmin.net/install-oracle-virtualbox-on-ubuntu/#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment