Introduction to Vagrant

Vagrant enables users to create and configure lightweight, reproducible, and portable development environments.”

cd $HOME
mkdir vm_ubuntu16
cd vm_ubuntu16
vagrant init ubuntu/xenial64
vagrant up
vagrant ssh
vagrant halt
# config.vm.synced_folder "../data", "/vagrant_data"
  1. Remove the comment mark (‘#’) from the beginning
  2. Set ../data to be the directory that we want to sync on the Host machine
  3. Set /vagrant_data to be the directory that we want to sync on the Guest machine

--

--

A software specialist passionate about elegant and efficient technology. I Love learning and sharing my knowledge.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Daniel Trugman

Daniel Trugman

A software specialist passionate about elegant and efficient technology. I Love learning and sharing my knowledge.