A primer to Vagrant

Today I used vagrant for the very first time and I must say, I was impressed by the simplicity and power of vagrant.

So what is vagrant? Yes, Yet Another Wrapper!!  According to wikipedia, Vagrant is free and open-source software for creating and configuring virtual development environments.It can be considered a wrapper around virtualization software such as VirtualBox and configuration management software such as Chef, Salt and Puppet.

Keeping it simple, you can run headless VM inside virtualbox using this vagrant wrapper without even the need for running virtualbox GUI. so, simply just download the wrapper, put some configuration and fire your own cloud like environment to create disposable VM’s. 

Up and Running

$ vagrant init hashicorp/precise32
$ vagrant up

You can also check and alter the configuration file by just vim Vagrantfile.

By default, the very first instance is named default.

SSH into the vm : vagrant ssh
Destroy the vm: vagrant destroy
Halt the vm: vagrant halt






মন্তব্য করুন

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  পরিবর্তন )

Google+ photo

You are commenting using your Google+ account. Log Out /  পরিবর্তন )

Twitter picture

You are commenting using your Twitter account. Log Out /  পরিবর্তন )

Facebook photo

You are commenting using your Facebook account. Log Out /  পরিবর্তন )


Connecting to %s

%d bloggers like this: