1.运行Vagrant up 我们常见的两个错误信息,这是网络问题引起
https://stackoverflow.com/questions/45912076/error-openssl-ssl-read-ssl-error-syscall-errno-10054
2.官网下载:
https://www.vagrantup.com/downloads.html%20download
最新版本是2.0.3,我用的是2.0.1
Virtualbox版本是5.2.8
https://www.virtualbox.org/wiki/Downloads
3.What is Vagrant
Vagrant是用来建立、管理虚拟机环境。
Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the “works on my machine” excuse a relic of the past.
Vagrant并不是从零做起,而是借助了很多现有的虚拟机软件,如VMware,AWS,Virtualbox等。
因为Virtualbox是免费的,所以用这个进行练习比较合适。
可参考教程:
https://www.jianshu.com/p/61c2b1e341ed
这里要强调一下、国内网站访问下载:ttps://vagrantcloud.com/hashicorp/boxes/precise64/versions/1.1.0/providers/virtualbox.box
如果页面访问不了可能要翻墙下载!