How Do You Troubleshoot the Vagrant Error “No usable default provider could be found for your system.”?

Problem scenario
On a Linux server you get “No usable default provider could be found for your system.” What should you do?

Solution
Install VirtualBox. On an Ubuntu server with 0.5 GB of RAM, you can simply run this command:

sudo apt-get -y install virtualbox

 » Read more..

How Do You Get Vagrant Working on a Debian/Ubuntu Server in AWS?

Problem scenario
You are using Ubuntu 16.x in AWS.  You want to get Vagrant working to create VMs in AWS.  What do you do?

Solution
1.  Install Vagrant.  If you need assistance see this link.

2.  Install gem and various other dependencies.  To do this run these three commands:

How Do You Troubleshoot the Vagrant Error “default: Waiting for SSH to become available.”?

Problem scenario
You run “vagrant up” and you see things stop at this stage:  “==default: Waiting for SSH to become available…”

What should you do?

Possible Solutions
1.  Run the command again with ” –debug” at the end.  This provides verbose output.  

2.  You may want to review your Vagrantfile settings.  This page helps with such a review (i.e.,

 » Read more..

How Do You Install Vagrant on an AWS Instance of SUSE?

Problem scenario
You are using a Linux SUSE server in AWS.  You want to install Vagrant. What do you do?

Solution
Run these commands:
cd /tmp
sudo curl https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm > vagrant_1.8.1_x86_64.rpm 

sudo zypper -n install vagrant_1.8.1_x86_64.rpm
To verify the installation, run this command: vagrant version

 » Read more..

How Do You Install Vagrant on an AWS Instance of RedHat Linux?

Problem scenario
You are using a RHEL (RedHat Enterprise Linux) server in AWS.  You want to install Vagrant. What do you do?

Solution
Assume the root user by issuing this command: sudo su –
Run these commands:
yum -y install wget
cd /tmp
wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm 
yum -y localinstall vagrant_1.8.1_x86_64.rpm

To verify the installation, run this command: vagrant version

Alternative Solution
If you do not want to install wget and curl commands will work for retrieving https locations,

 » Read more..

How Do You Install Vagrant on an Ubuntu Linux Server?

Problem scenario
You have Ubuntu 14.04 or 16.x, and you want to install Vagrant 1.x. (If you have Ubuntu 16.0x or higher and want to install Vagrant 2.x, go to the very bottom.)  How do you do it?

Solution
1. Run this command: sudo find / -name sources.list #find the file that governs Debian packages

3.  Ignore /usr/share/doc/apt/examples/sources.list.  Make a copy of the other sources.list as a back up (in case you need to rollback).

 » Read more..