Trying to configure laravel 5.1.
Cloned laravel / homestead
After cloning to a directory Home. A throw error while trying to run the tramp command at the top:
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.
At first I tried with vagrant box add laravel/homestead
This command was not invoked properly. The help for this command is
available below.
Usage: vagrant box add <name> <url> [
-c,
-f,
Also tried passing the URL as shown, still failed. Atlast cloned of git repo
1. vagrant -v: Vagrant 1.4.3
2. vagrant box add laravel / homestead https://atlas.hashicorp.com/laravel/boxes/homestead
Error:
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. farmstead:
Laravel Homestead version 2.0.17
Usage:
command [options] [arguments]
Options:
-h,
-q,
-V,
-n,
-v|vv|vvv,
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
What am I doing wrong?
source
share