Created
March 3, 2020 17:58
-
-
Save rakibulinux/3150c75740ce0c9bd9e649707f1bbd37 to your computer and use it in GitHub Desktop.
How to Install Vagrant on Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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