Created
November 18, 2019 14:36
-
-
Save linuxfemale/c0f082f092494a1dc7fefb6207f80e54 to your computer and use it in GitHub Desktop.
Vagrant on Ubuntu 18.04LTS (Bionic Beaver)
This file contains hidden or 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
##Install VirtualBox | |
sudo apt install virtualbox | |
##Install Vagrant with apt-get | |
sudo apt install vagrant | |
#To make sure you’re running the latest version of Vagrant, open a web browser to https://www.vagrantup.com/downloads.html. | |
sudo wget https://releases.hashicorp.com/vagrant/2.2.6/vagrant_2.2.6_x86_64.deb | |
sudo dpkg –i vagrant_2.2.6_x86_64.deb | |
vagrant ––version | |
##Deploying Vagrant On Ubuntu 18.04 | |
sudo mkdir ~/vagrant-ubuntu | |
cd ~/vagrant-ubuntu | |
vagrant init ubuntu/bionic64 | |
vagrant up | |
vagrant ssh | |
##Other Vagrant Commands | |
#To stop the virtual machine: | |
vagrant halt | |
#To delete the virtual machine, use the command: | |
vagrant destroy | |
#This will also destroy any work you have done inside the virtual OS. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment