我是家庭新手,我在安装时遇到了问题我无法使用
流浪汉
下载远程文件时发生错误 . 错误消息(如果有)在下面重现 . 请修复此错误,然后重试 . 所以我尝试安装 Cloud 基,因为我使用Fedora 25 64位https://atlas.hashicorp.com/fedora/boxes/25-cloud-base现在我'm able to up my vagrant but once I try to ping my homestead.app all packets are lost and also I can' t访问它
-
我正在运行xampp,以防它产生任何差异
-
这是我的/ etc / hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 192.168.10.10 homestead.app :: 1 localhost localhost.localdomain localhost6 localhost6.localdomain6
- 这是我的homestead.yaml
ip:“192.168.10.10”内存:2048 cpus:1提供者:virtualbox授权:〜/ .ssh / id_rsa.pub密钥: - 〜/ .ssh / id_rsa文件夹: - map:〜/ projects to:/ home / vagrant / projects sites: - map:homestead.app to:/ home / vagrant / projects / demo / public databases: - demo
1 回答
我建议你不要使用xampp和Homestead . Homestead附带一个完整的开发环境,包括nginx服务器 .
按照本指南安装Homestead Laravel Homestead
安装并正确配置后,运行vagrant,然后流浪ssh . 千万不要错过configure your nginx server为您的申请服务 .
希望能帮助到你 .