Vagrant for Software Development

I came across Vagrant a while back at a bookstore. After browsing it, I didn’t get my hands dirty with it until recently. I started to play with it because one of my clients uses it in setting up development environment for convenience and consistency.

Instead of VMware, I used VirtualBox ( which is an equivalent VMware Workstation from Oracle, but totally free as open source. Anyway, that doesn’t matter much because after install VirutalBox, I hardly notice that I am using VirtualBox. Most of the time, I just use Vagrant to ssh to my Linux virtual machine. As I read, Vagrant also supports Windows virtual machines, but I haven’t played with Windows.

Lost VMs or Containers? Too Many Consoles? Too Slow GUI? Time to learn how to "Google" and manage your VMware and clouds in a fast and secure HTML5 App.

To get started, just select and download the Vagrant installer from its download page ( Installing it on my MacBook is pretty straightforward and I don’t remember any details after a couple of days. :)

In a typical use case, I just need the following commands to get a working Linux machine working and ready for software development. That is an experience that is too easy to believe.

$ vagrant init precise64
$ vagrant up
$ vagrant ssh

If you want to install additional software into the virtual machine, you can edit the vagrant file, which is more or less like a blue print for the virtual machine. By default, it’s created automatically with many different options commented out. You can uncomment some of these lines to install additional software.

$ vi Vagrantfile

After an extremely easy start, you may find more advanced features to learn and explore.

This entry was posted in Applications & Tools, Software Development and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Comment

  1. Posted January 12, 2015 at 9:16 pm | Permalink

    Something really new for me I’ll try vagrant on Windows, let’s see how it works.

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


    My company has created products like vSearch ("Super vCenter"), vijavaNG APIs, EAM APIs, ICE tool. We also help clients with virtualization and cloud computing on customized development, training. Should you, or someone you know, need these products and services, please feel free to contact me: steve __AT__

    Me: Steve Jin, VMware vExpert who authored the VMware VI and vSphere SDK by Prentice Hall, and created the de factor open source vSphere Java API while working at VMware engineering. Companies like Cisco, EMC, NetApp, HP, Dell, VMware, are among the users of the API and other tools I developed for their products, internal IT orchestration, and test automation.