Homestead 安装配置教程?
vagrant box 的hometead.box安装好了没问题,
使用 git clone
git clone https://github.com/laravel/homestead.git Homestead
Homestead git:(master) ✗ vagrant up
Bringing machine 'homestead-7' up with 'virtualbox' provider...
==> homestead-7: Checking if box 'laravel/homestead' is up to date...
==> homestead-7: There was a problem while downloading the metadata for your box
==> homestead-7: to check for updates. This is not an error, since it is usually due
==> homestead-7: to temporary network problems. This is just a warning. The problem
==> homestead-7: encountered was:
==> homestead-7:
==> homestead-7: Illegal characters found in URL
==> homestead-7:
==> homestead-7: If you want to check for box updates, verify your network connection
==> homestead-7: is valid and try again.
==> homestead-7: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> homestead-7: flag to force provisioning. Provisioners marked to run always will still run.
使用vagrant provision
vagrant provision
==> homestead-7: Running provisioner: file...
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: /var/folders/8j/wsmdl1p5003__pt5gdchl3d40000gn/T/vagrant-shell20170427-6116-1wiu6qr.sh
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Creating Certificate: homestead.app
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Creating Site: homestead.app
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Checking for old Schedule
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Restarting Nginx
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Creating MySQL Database: homestead
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Creating Postgres Database: homestead
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Clear Variables
==> homestead-7: Running provisioner: shell...
homestead-7: Running: script: Update Composer
==> homestead-7: Updating to version 1.4.1 (stable channel).
==> homestead-7:
==> homestead-7: Downloading: Connecting...
==> homestead-7:
==> homestead-7: Downloading: 100%
==> homestead-7:
==> homestead-7:
==> homestead-7: Failed to decode response: zlib_decode(): data error
==> homestead-7: Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
==> homestead-7: Downloading: Connecting...
==> homestead-7:
==> homestead-7: Downloading: 100%
==> homestead-7:
==> homestead-7:
==> homestead-7:
==> homestead-7: [ErrorException]
==> homestead-7: zlib_decode(): data error
==> homestead-7:
==> homestead-7:
==> homestead-7: self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--] [<version>]
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
找了很多文档搜索 找不到原因
推荐文章: