Home >Backend Development >PHP Tutorial >Ubuntu添加 Vagrant 盒子 Homestead失败

Ubuntu添加 Vagrant 盒子 Homestead失败

WBOY
WBOYOriginal
2016-06-06 20:09:081038browse

最近想跟着教程学习用laravel写博客。在环境配置时需要下载Vagrant盒子Homestead。
我使用如下命令下载 Vagrant盒子 Laravel Homestead

<code>vagrant box add laravel/homestead</code>

由于家里网速不好,辛辛苦苦等了数个小时后总会报错。

<code>An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

transfer closed with 383819387 bytes remaining to read</code>

估计就是下载失败了。但这不是办法啊。所以想问:ubuntu下要如何成功添加homestead?有没有详细点的教程。

回复内容:

最近想跟着教程学习用laravel写博客。在环境配置时需要下载Vagrant盒子Homestead。
我使用如下命令下载 Vagrant盒子 Laravel Homestead

<code>vagrant box add laravel/homestead</code>

由于家里网速不好,辛辛苦苦等了数个小时后总会报错。

<code>An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

transfer closed with 383819387 bytes remaining to read</code>

估计就是下载失败了。但这不是办法啊。所以想问:ubuntu下要如何成功添加homestead?有没有详细点的教程。

使用在线安装Homestead的方式太慢,简直龟速,还是使用迅雷吧。但是下载地址怎么获取?有个办法,在终端输入vagrant box add Laravel/homestead它会自动查找镜像并下载,这个时候在终端会显示从哪个url下载,复制这个url到迅雷即可。

有用的链接:

Mac上安装Homestead

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn