Homestead 安装生产环境失败

在本地window环境安装成功。在centos的VPS上安装的时候,vagrant安装成功,virtulbox安装成功。但是vagrant up 提示

Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase

网上找了一些方法,更改了config.vm.boot_timeout的值,还是失败,还有的说是cup的虚拟化没有打开,但是没有找到打开的方法,而且VPS好像也不支持虚拟化。

所以想问一下各位,在生产环境是怎么部署homestead的? 谢谢

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
讨论数量: 7
lijinma

生产环境也要用 homestead 吗?可能有点浪费资源,我觉得。我们只是在本地的时候用用 homestead

7年前 评论

@lijinma 生成环境自己部署phphup?

7年前 评论
lijinma

@polandeme 恩,我是这么干的。。

7年前 评论

@lijinma 有没有相关的文档,只查到了使用homestead方式部署的文档了,谢谢

7年前 评论
lijinma

开发环境按照提示部署:

运行环境

  • Nginx 1.8+
  • PHP 5.6+
  • Mysql 5.7+
  • Redis 3.0+
  • Memcached 1.4+
7年前 评论

@lijinma 明白了,感谢

7年前 评论
lijinma

@polandeme 客气。

7年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!