编程学习网 > PHP技术 > php中级 > Vagrant入门——其他虚拟机(Providers)
2014
11-07

Vagrant入门——其他虚拟机(Providers)

In this getting started guide, your project was always backed with VirtualBox. But Vagrant can work with a wide variety of backend providers, such as VMware Fusion,AWS, and more. Read the page of each provider for more information on how to set them up.

Once you have a provider installed, you don't need to make any modifications to your Vagrantfile, just vagrant up with the proper provider and Vagrant will do the rest:

$ vagrant up --provider=vmware_fusion
...

Ready to move that to the cloud? Take it to AWS:

$ vagrant up --provider=aws
...

Once you run vagrant up with another provider, every other Vagrant command doesn't need to be told what provider to use. Vagrant can automatically figure it out. So when you're ready to SSH or destroy or anything else, just run the commands like normal, such as vagrant destroy. No extra flags necessary.

For more information on providers, read the full documentation on providers.

想要了解更多,参阅Vagrant官方文档:http://docs.vagrantup.com/v2/

扫码二维码 获取免费视频学习资料

Python编程学习

查 看2022高级编程视频教程免费获取