Laravel Homestead 安装中遇到的问题

本文详细介绍了在安装 Laravel Homestead 并配置 SSH 时遇到的问题,包括虚拟机配置错误、心理错误和 COM 创建失败等,并提供了相应的解决方案。此外,文章还讨论了在使用过程中遇到的其他技术挑战及其解决方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

12月7日 下载
box: Downloading:
https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.3.3/providers/virtualbox.box

12月9日

D:\HashiCorp\Vagrant\bin\vagrant
D:\cd\box9f2d9710a8e8d856bfe1f18a2aa065f430373a7c

virtualbox


使用git-bash 配置 SSH 


配置 Homestead.yaml
路径:C:\Users\HP\.homestead

问题1 
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine.  Please fix
the following errors and try again:

vm:
* The host path of the shared folder is missing: ~/Code
Enter your choice: 1
==> box: Adding box 'laravel/homestead' (v0.3.3) for provider: virtualbox
The box you're attempting to add already exists.  Remove it before
adding it again or add it with the `--force` flag.

Name: laravel/homestead
Provider: virtualbox
Version: 0.3.3

解决 修改配置


问题 
C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in `parse': (<unknown>
): found a tab character that violate intendation while scanning a plain scalar
at line 17 column 11 (Psych::SyntaxError)
        from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:205:in `parse
_stream'
        from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/psych.rb:153:in `parse

解决: 缩进问题

问题 创建COM失败 
解决: 兼容性 2008 并 管理员运行。

问题  vt -x is disabled in in the BIOS

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值