Skip to content

Instantly share code, notes, and snippets.

@hakatashi
Created December 13, 2017 01:34
Show Gist options
  • Select an option

  • Save hakatashi/b123976e02cfb0a4fc48057a3fc9e980 to your computer and use it in GitHub Desktop.

Select an option

Save hakatashi/b123976e02cfb0a4fc48057a3fc9e980 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get upgrade -y
wget https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb
sudo dpkg --install vagrant_2.0.1_x86_64.deb
echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib" | sudo tee -a /etc/apt/sources.list
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install virtualbox-5.2 -y
sudo /sbin/vboxconfig
vagrant box add --provider virtualbox --box-version 1710.01 centos/7
mkdir vagrant
cd vagrant/
vagrant init centos/7 --box-version v1710.01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment