Laravel Homestead的版本及其与Vagrant的关系等 [英] Laravel Homestead's versions and how it relates to Vagrant, etc

查看:436
本文介绍了Laravel Homestead的版本及其与Vagrant的关系等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢Laravel Homestead并每天使用它,但是我对某些术语感到困惑.

I love Laravel Homestead and use it every day, but I'm confused about some terminology.

有人可以用基本的术语解释一下这些是什么,然后将它们组合在一起吗?

Can someone please explain in basic terms what each of these are and then how they fit together?

  • VirtualBox
  • 流浪者
  • 宅基地(以及为什么这在"laravel"保护伞下 ...仅仅是包含Laravel需要的所有东西的食谱吗?)
  • VirtualBox
  • Vagrant
  • Homestead (and why is this under the "Laravel" umbrella... is it just a recipe that contains everything that Laravel needs?)

我仍然不明白为什么最新发行版(当前为 v7.6.0 )与Homestead的最新VirtualBox版本(当前为v6)不匹配.0.0,位于 6.0.0/providers/virtualbox.box ).

I still don't understand why the latest release number (currently v7.6.0) doesn't match the latest VirtualBox version of Homestead (currently v6.0.0 at 6.0.0/providers/virtualbox.box).

两个不同的数字指的是什么?

What do the 2 different numbers refer to?

(即,为什么Github中每个新的Homestead版本/标签都没有新的.box?)

(I.e. Why would there not be a new .box for every new release/tag of Homestead in Github?)

P.S.如果需要的话,我使用Windows 10,这就是为什么我喜欢Homestead的原因,因为在Windows上管理PHP版本和其他依赖项是一场噩梦.非常感谢@joepferguson!

P.S. In case it's relevant, I use Windows 10, which is why I love Homestead, since managing versions of PHP and other dependencies on Windows is a nightmare. Thank you very much, @joepferguson!

推荐答案

很好的问题,但是我觉得它们会被认为不适合堆栈溢出.但看到我渴望获得声誉,以下是我的答案:

Good questions but I have a feeling they will be found inappropriate for stack overflow. but seeing as how I crave reputation, heres my answer:

  • Virtualbox:这是在系统上运行的管理程序软件. 这将托管您的VM并分配资源(CPU,内存,网络 等)

  • Virtualbox: this is the hypervisor software running on your system. This hosts your VMs and allocates resources (cpu, memory, network etc)

Vagrant:这是与您选择的虚拟机管理程序交互的软件 快速创建,启动/停止,销毁VM.它使用一个配置 文件来管理VM的各个方面(命名,联网等). 考虑到这是您和您的虚拟机管理程序之间的中介, 简化了处理虚拟机的过程.

Vagrant: this is software that interacts with your chosen hypervisor to swiftly create, start/stop, destroy VMs. It uses a configuration file to manage various aspects of the VMs (naming, networking etc). Consider this an intermediate between you and your hypervisor that simplifies the process of handling VMs.

Homestead:这是Laravel的创造者开发的软件.它包含一个预先配置了所有依赖项的无所事事的VM(php, MySQL等),Laravel需要. Homestead还具有一些帮助程序功能,可以将主机系统(运行管理程序)上的目录映射到laravel流浪VM,

Homestead: this is software by the creators of Laravel. It includes a vagrant VM that comes preconfigured with all of the dependencies (php, mysql etc) that Laravel needs. Homestead also has some helper functions to map directories on your host system (that runs the hypervisor) to your laravel vagrant VMs,

宅基发行版本号与它们附带的Laravel版本无关.它们是单独的github仓库中的单独项目.

Homestead release numbers are not tied to the Laravel versions they ship with. They are separate projects in separate github repos.

无聊的盒子'laravel/homestead'同样具有自己的版本.

The vagrant box 'laravel/homestead' similarly has its own versioning.

关于您的问题为什么Github中每个新的Homestead版本/标签都没有一个新的.box?" -我认为每个laravel版本实际上都可能有一个新版本.请记住,laravel/settler于2017年2月发布,因此它与Laravel没有相同的历史...

as to your question 'Why would there not be a new .box for every new release/tag of Homestead in Github?' - I think there might actually be a new release for every laravel release. Bear in mind that laravel/settler was released Feb 2017, so it doesnt have the same history as Laravel...

这篇关于Laravel Homestead的版本及其与Vagrant的关系等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆