试图configurationlaravel 5.1。
克隆laravel /宅基地
将其克隆到Home
目录后。 试图运行vagrant up命令时出现错误,如下所示:
user@user:~/laravel/homestead$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... There are errors in the configuration of this machine. Please fix the following errors and try again: vm: * The box 'laravel/homestead' could not be found.
我第一次尝试与
vagrant box add laravel/homestead
- 在升级到Ubuntu 13.10之后,Apache为arara项目添加了403错误
- 从ubuntu上的laravel开始
- 用php + nginx执行shell脚本
- Laravel 5.1 – HHVM – 在WrappedHttpHandler.php第152行中发生S3Exception
- 所有的Laravel路由在nginx上都没有find
This command was not invoked properly. The help for this command is available below. Usage: vagrant box add <name> <url> [--provider provider] [-h] --checksum VALUE Checksum --checksum-type VALUE Checksum type -c, --clean Remove old temporary download if it exists. -f, --force Overwrite an existing box if it exists. --insecure If set, SSL certs will not be validated. --cacert certfile CA certificate --cert certfile The client SSL cert --provider provider The provider that backs
还尝试传递URL作为错误显示,仍然失败。 Atit从git repo克隆
1. vagrant -v: Vagrant 1.4.3
2.stream浪者的箱子加laravel /宅基地https://atlas.hashicorp.com/laravel/boxes/homestead
错误:
Downloading box from URL: https://atlas.hashicorp.com/laravel/boxes/homestead Extracting box...e: 0/s, Estimated time remaining: --:--:--) The box failed to unpackage properly. Please verify that the box file you're trying to add is not corrupted and try again. The output from attempting to unpackage (if any): bsdtar: Error opening archive: Unrecognized archive format
3.宅基地:
Laravel Homestead version 2.0.17 Usage: command [options] [arguments] Options: -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Available commands: destroy Destroy the Homestead machine edit Edit the Homestead.yaml file halt Halt the Homestead machine help Displays help for a command init Create a stub Homestead.yaml file list Lists commands provision Re-provisions the Homestead machine resume Resume the suspended Homestead machine run Run commands through the Homestead machine via SSH ssh Login to the Homestead machine via SSH status Get the status of the Homestead machine suspend Suspend the Homestead machine up Start the Homestead machine update Update the Homestead machine image
我究竟做错了什么?
更新你的流浪者。 流浪云是在1.5 IRC中引入的,因此你的vagrant
不知道如何处理命令,如vagrant box add laravel/homestead
正确的命令下载它来添加完整的URL
你可以使用这个虚拟机的最新版本,直到现在
https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.4.1/providers/virtualbox.box
如果你想改变到另一个版本或更新的版本,只需更改它的数量
所以命令应该是这样的
vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.4.1/providers/virtualbox.box