Table of Contents

vagrant

A easy tool to setup the linux development environment and deploy on different platform.

Seems to create the special VirtualMachine. But it is cool, I like it.

http://www.vagrantup.com/

http://www.vagrantbox.es/

https://vagrantcloud.com/

Vagrant start...

mkdir ubuntu
cd ubuntu
vagrant init
vagrant box list
vim Vagrantfile
// set to hashicorp/precise64
vagrant up
vagrant ssh

Usage

git clone https://github.com/pjq/vagrant.git
cd vagrant/openwrt
vagrant up
vagrant ssh

vagrant reload
vagrant halt
vagrant up

vagrant box add pengjianqing/gentoo

Vagran with VMWare

As company doesn't not allow to install the VirtualBox, but the VMWare is OK, so I need to follow up the guideline for using vagrant with VMWare

Steps:

Search the “gentoo” box which has the vmware provider

My Vagrant github

git clone https://github.com/pjq/vagrant.git
cd vagrant
vagrant up --provider=vmware_desktop
vagrant ssh