2016-05-04
流浪漢 Vagrant 下載
https://www.vagrantup.com/downloads.html
流浪漢 Vagrant
https://github.com/mitchellh/vagrant
專為研發者量身打造的,以虛擬機為中心的研發環境。
或許作者想讓這個工具的使用者,能像流浪漢、游民一樣,浪跡天涯,隨遇而安;不受限於機器的實體位置,能在任何一台電腦上,模擬出任何一種遠端主機的可程式化環境,讓研發人員的日子更好過。
安裝
wget https://releases.hashicorp.com/vagrant/1.8.1/vagrant_1.8.1_x86_64.rpm
rpm -Uvh vagrant_1.8.1_x86_64.rpm
測試
[root@localhost ~]# vagrant -v
Vagrant 1.8.1
[root@localhost ~]# vagrant -h
Usage: vagrant [options] <command> [<args>]
-v, --version Print the version and exit.
-h, --help Print this help.
Common commands:
box manages boxes: installation, removal, etc.
connect connect to a remotely shared Vagrant environment
destroy stops and deletes all traces of the vagrant machine
global-status outputs status Vagrant environments for this user
halt stops the vagrant machine
help shows the help for a subcommand
init initializes a new Vagrant environment by creating a Vagrantfile
login log in to HashiCorp's Atlas
package packages a running vagrant environment into a box
plugin manages plugins: install, uninstall, update, etc.
port displays information about guest port mappings
powershell connects to machine via powershell remoting
provision provisions the vagrant machine
push deploys code in this environment to a configured destination
rdp connects to machine via RDP
reload restarts vagrant machine, loads new Vagrantfile configuration
resume resume a suspended vagrant machine
share share your Vagrant environment with anyone in the world
snapshot manages snapshots: saving, restoring, etc.
ssh connects to machine via SSH
ssh-config outputs OpenSSH valid configuration to connect to the machine
status outputs status of the vagrant machine
suspend suspends the machine
up starts and provisions the vagrant environment
version prints current and latest Vagrant version
For help on any individual command run `vagrant COMMAND -h`
Additional subcommands are available, but are either more advanced
or not commonly used. To see all subcommands, run the command
`vagrant list-commands`.
[root@localhost ~]#
(完)
沒有留言:
張貼留言