vagrant homestead 关闭启动更新

vagrant homestead 关闭启动更新

当你使用vagrant up启动的时候,

出现 ==> default: Checking if box 'laravel/homestead' is up to date...

总会去请求更新,非常的麻烦

所以我就想关闭掉这个更新

解决方案

编辑文件

~/.composer/vendor/laravel/homestead/scripts/homestead.rb

增加:

config.vm.box_check_update = false

vagrant

参考教程


Warning: Use of undefined constant wp_related_posts - assumed 'wp_related_posts' (this will throw an Error in a future version of PHP) in /var/www/html/afox/wp-content/themes/minty/functions.php on line 206

Warning: Use of undefined constant related_entries - assumed 'related_entries' (this will throw an Error in a future version of PHP) in /var/www/html/afox/wp-content/themes/minty/functions.php on line 207
分享到:

发表评论

昵称

This site uses Akismet to reduce spam. Learn how your comment data is processed.

沙发空缺中,还不快抢~