首先是vagrant工具,用于对虚拟环境的管理:
遇到的问题
vagrant failed to initialize at a very early stage:
The home directory you specified is not accessible. The home
directory that Vagrant uses must be both readable and writable.
You specified: /Users/xxx/.vagrant.d
解决方案:ls + whoami
ls -dlah /Users/xxx/.vagrant.d
然后chown:
sudo chown -R xxx /Users/xxx/.vagrant.d
2.虚拟环境:virtualbox安装