1. Ubuntu 18.04

参考:

  1. 如何在Ubuntu 18.04上安装使用Vagrant教程
  2. ubuntu 安装vagrant过程
  3. Ubuntu18.04安装VNC
  4. 测试-ubuntu上vnc安装配置记录

2. Centos 7

参考:

  1. CentOS7.6安装VirtualBox6.0
  2. 如何在CentOS 7.5上安装VirtualBox
  3. CentOS 7安装 VirtualBox
  4. CentOS 7 安装VirtualBox
  5. VirtualBox 5.1发布 - 在RHEL / CentOS / Fedora和Debian / Ubuntu / Linux Mint安装
  6. 如何在CentOS 7上安装Vagrant
  7. CentOS 7.5环境安装Vagrant详解

3. BUG汇总

3.1 No usable default provider could be found for your system. Vagrant relies on interactions with 3rd party systems, known as “providers”, to provide Vagrant with resources to run development environments. Examples are VirtualBox, VMware, Hyper-V. The easiest solution to this message is to install VirtualBox, which is available for free on all major platforms. If you believe you already have a provider available, make sure it is properly installed and configured. You can see more details about why a particular provider isn’t working by forcing usage with vagrant up --provider=PROVIDER, which should give you a more specific error message for that particular provider.

解决答案:
简单来说就是版本冲突,卸载Vagrant或者VirtualBox之后,更换对应的版本,再进行重装即可。

  1. Unable to vagrant up - how to set “providers”
  2. vagrant 安装记录
  3. vagrant up 失败,提示 No usable default provider,是什么原因?
  4. 执行vagrant up报错:No usable default provider could be found for your system. Vagrant relies on …