4年前電腦,配置不太好了,現有的 Homestead 運行起來太吃內存。在修改了 Homestead.yaml 文件裏 memory 選項的內存配置爲 1024 後,應用最新配置重啓失敗。laravel
索性從新部署 Homestead,下載一個 3.0.0 版的 Box:數據庫
The box 'laravel/homestead' is not a versioned box. The box was added directly instead of from a box catalog.Vagrant can only check the versions of boxes that were added from a catalog such as from the public Vagrant Server.macos
在 laravel-VAGRANTSLASH-homestead 目錄下 touch 一個 metadata_url 文件,寫入如下內容:bash
https://vagrantcloud.com/laravel/boxes/homestead/
好比,個人是這樣的:ide
cd ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/ echo 'https://vagrantcloud.com/laravel/boxes/homestead/' > metadata_url
而後啓動 Homestead 便可。工具