php - vagrant up command fails -
this question has answer here:
- error when trying vagrant up 19 answers
i learning use vagrant , have setup vagrant homestead system on local machine.
my homestead.yaml
in scr/stubs/
folder.
it looks this.
ip: "192.168.10.10" memory: 2048 cpus: 1 authorize: /var/www/myhomestead/homestead/ssh/id_rsa.pub keys: - /var/www/myhomestead/homestead/ssh/id_rsa folders: - map: /var/www/sites/ to: /home/vagrant/sites/ sites: - map: homestead.app to: /home/vagrant/code/laravel/public databases: - homestead variables: - key: app_env value: local
when run "vagrant up" gives me errors this.
amit@amit:/var/www/myhomestead/homestead$ vagrant up
bringing machine 'default' 'virtualbox' provider... ==> default: box 'base' not found. attempting find , install... default: box provider: virtualbox default: box version: >= 0 ==> default: adding box 'base' (v0) provider: virtualbox default: downloading: base error occurred while downloading remote file. error message, if any, reproduced below. please fix error , try again.
couldn't open file /var/www/myhomestead/homestead/base
you can try vagrant init hashicorp/precise32
. creates box not project.
then vagrant up
ball rolling.
Comments
Post a Comment