Introduction to Vagrant: Development environments made easy

Vagrant is a flexible, reproducible server.

Using Vagrant, you can set up a complete LAMP server in about 30 minutes
-          If you are working with a team and you want to ensure that each team member has the exact same server configuration, you can use Vagrant.
-          If you are working on custom PHP or Drupal core patches and you want to make sure that the recurring error message is from a code error and not a server configuration error, you can use Vagrant.

Jeff Eaton of Lullabot.com has created a chef script that you can download and use to install your own local development environment in as little as 30 minutes. It all depends on your download speed since the Ruby script downloads all the software and sets up the configuration for you. It includes Drush, Git, Drupal 7 and  a LAMP stack including Ubuntu. It works on Windows and Mac computers and runs under Oracle VirtualBox. (http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html)

Experienced Drupal developers, Jeff Eaton and Emma Jane Hogbin use Vagrant to set up a unique server instance for each Drupal project. This is overkill for my needs. I like to use one server instance for all my Drupal projects. I used Jeff Eaton’s chef script to install a Vagrant server. The default setup is for one Drupal instance or a multi-site configuration. I added VirtualMin in order to set up virtual hosts so I can use Vagrant for more than one Drupal project.

You can download the script here: You just need to have Git (version control) setup on your local computer.
https://github.com/eaton/vagrant-chef-dlamp

Notes:
-          A script written to install Vagrant is called a chef script
-          Git version control is easy to install. See GitHub.com
-          DLAMP is an acronym that stands for Drupal Linux Apache MySQL PHP

For more information, visit: http://www.vagrantup.com

Related articles:
1. Part 1: Getting Started with Vagrant on Windows 7 PC
2. Part 2: Installing Vagrant DLAMP server on Windows 7 PC

Comments

Web design Rotherham

There are many business owners that have been tremendously benefited by redesigning their website with the help of Web Design Rotherham, as they keep SEO perspective in mind while providing the new look to a cooperate website.