Skip to content

Instantly share code, notes, and snippets.

@rakibulinux
Created March 3, 2020 17:58
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 rakibulinux/3150c75740ce0c9bd9e649707f1bbd37 to your computer and use it in GitHub Desktop.
Save rakibulinux/3150c75740ce0c9bd9e649707f1bbd37 to your computer and use it in GitHub Desktop.
How to Install Vagrant on Ubuntu 18.04
#!/bin/sh
#Installing VirtualBox
sudo apt install virtualbox
#Installing Vagrant
sudo apt update
curl -O https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb
sudo apt install ./vagrant_2.2.6_x86_64.deb
#Verify the Version
vagrant --version
#Getting Started with Vagrant. Create the project directory and switch to it with.
mkdir ~/rakibulinux
cd ~/rakibulinux
vagrant init centos/7
vagrant up
vagrant ssh
vagrant halt
vagrant destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment