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的? 谢谢

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 7
lijinma

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

8年前 评论

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

8年前 评论
lijinma

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

8年前 评论

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

8年前 评论
lijinma

开发环境按照提示部署:

运行环境

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

@lijinma 明白了,感谢

8年前 评论
lijinma

@polandeme 客气。

8年前 评论

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