To achieve its magic, Vagrant stands on the shoulders of giants. Machines are provisioned on top of VirtualBox, VMware, AWS, or any other provider. Then, industry-standard provisioning tools such as shell scripts, Chef, or Puppet, can be used to automatically install and configure software on the machine.
Installing Vagrant on ubuntu 14.04
Download Vagrant from here .Once you have .deb package run the following command
sudo dpkg -i vagrant_1.6.3_x86_64.deb
The getting started guide will use Vagrant with VirtualBox, since it is free, available on every major platform, and built-in to Vagrant.
Vagrant UP and Running
You need to run the following two commands from the terminal
$ sudo vagrant init hashicorp/precise32
$sudo vagrant up
After running the above two commands, you'll have a fully running virtual machine in VirtualBox running Ubuntu 12.04 LTS 32-bit. You can SSH into this machine with vagrant ssh.
Vagrant Command Line Options
Almost all interaction with Vagrant is done through the command-line interface.
The interface is available using the vagrant command, and comes installed with Vagrant automatically. The vagrant command in turn has many subcommands, such as vagrant up, vagrant destroy, etc.
If you run vagrant by itself, help will be displayed showing all available subcommands. In addition to this, you can run any Vagrant command with the -h flag to output help about that specific command. For example, try running vagrant init -h. The help will output a one sentence synopsis of what the command does as well as a list of all the flags the command accepts.
In depth documentation and use cases of various Vagrant commands is available by reading the appropriate sub-section available in the left navigational area of this site.
Check more CLI Options from here
Incoming search terms:
- vagrant ubuntu 14 04
- ubuntu install vagrant
- vagrant ubuntu14 04
- ubuntu 14 04 vagrant
- vagrant ubuntu 14 install
- Vagrant deb 包安装
- vagrant ubuntu install
- vagrant to install ubuntu
- vagrant deb
- ubuntu14 04 vagrant