Timed out while waiting for the machine to boot in vagrant

If you see the following error message, this post shows how to fix the problem.

Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

Naturally, the first thing that would come to your mind would be to increase config.vm.boot_timeout value. This would work if the bottleneck is the boot_timeout. However, if something is hanging, the boot will never complete regardless of the timeout value you set.

Getting started with Git

A version control system keeps track of changes in code. It keeps track of every change made by every developer. It allows code bases to be branched and then merged back. You can also go back in time to a point before you introduced something in the code. Version control is absolutely essential for software development.

How to modify your host file

Your host file enables your system to override the DNS setting for a domain. This change only affects your system.

The syntax of a host file entry is as follows

# this is a comment molecularsciences.org

Basically you specify an IP followed by a domain. All lines beginning with # sign are comments.

Host files should only be edited with plain text editors like notepad, notepad++, sublime, etc. Following are the locations of host files on different systems:

NoSQL Overview

NoSQL is not one technology. It refers to a wide variety of different database technologies that address scale and agility challenges of today's applications. These problems include:

Creating a view that lists nodes tagged by a taxonomy term

Following is what we will be creating. A view that will create a page with a list of nodes (titles + teasers) and a block (with node titles only) of all nodes tagged by a taxonomy term.

Assumption: - You have multiple nodes tagged with term "PHP" - The nodes are of type Article

Go to Structure > Views > Add a new view and fill in the form as follows:

View name: PHP Show Content of type Article tagged with PHP sorted by Newest first check Create a page check Create a block Save & Exit

Then go to Structure > Blocks to enable the block.

Nginx webroot

Following are default locations of nginx webroot with standard installations:

  • Ubuntu 12.04: /usr/share/nginx/www
  • Ubuntu 14.04: /usr/share/nginx/html
  • Mac OS (brew): /usr/local/var/www

On Ubuntu 14.04, the webroot is defined in


You should something like:

Installing Nginx on Ubuntu

Nginx is a powerful web server which is rapidly taking market share from Apache. Here you will see how easy it is to install and use Nginx.

sudo apt-get update
sudo apt-get install nginx

Installation complete! Type the IP of your web host in the browser to test it. If you don't know your IP, run the following command

ip addr show | grep inet

It will list several IPs, use the one attached to eth0 or eth1.

Starting, Stopping, Restarting Nginx

Provisioning vagrant

This article shows you how to provision your vagrant. We will start with a very simple dumb box and add features incrementally.


You need to have virtualbox and vagrant installed on your system before following this article.

Basic box

Lets begin by creating the most basic vagrant box.