Problems encountered in installing Homestead

1. The version of vagrant does not match the version of this VM VirtualBox. Try to follow the version combination provided by the official document. The software is either the latest or the best.

Both use the latest software mismatch solution: https://blog.csdn.net/qq_39436397/article/details/99739403

2. The version of windows powershell is too low, which will cause vagrang up to report an error. If the version of powershell is too low, upgrade to the latest level of the current system;

Link reference: https://docs.microsoft.com/zh-cn/powershell/scripting/getting-started/starting-windows-powershell?view=powershell-6

3. Incorrect naming error; just modify it

For example:

      1. Open the Homestead\scripts\homestead.rb file
      2. Find: config.vm.box = settings ["box"] ||= "lc/homestead"
      3. Change to: config.vm.box = settings ["box "] ||= "laravel/homestead"

Guess you like

Origin blog.csdn.net/qq_39436397/article/details/99824449