7

I am learning to use vagrant and I have recently a setup vagrant homestead system on my local machine.

my homestead.yaml is in scr/stubs/ folder.

It looks like 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 I run "vagrant up" it gives me errors like this.

amit@Amit:/var/www/myhomestead/homestead$ vagrant up

Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'base' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Adding box 'base' (v0) for provider: virtualbox default: Downloading: base An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.

Couldn't open file /var/www/myhomestead/homestead/base

7
  • See this Commented Dec 2, 2014 at 6:49
  • 1
    Thank you so much Ali Gajani. its work fine now. Commented Dec 2, 2014 at 6:54
  • Hope it helped. Always read the docs :) Commented Dec 2, 2014 at 6:59
  • yes its helped me a lot.do you have any link related to homestead setup with proper guidelines. because i have searched lots of sites and read lots of docs but i can't find proper solutions. i am just trying and trying and trying. Commented Dec 2, 2014 at 7:17
  • Have you seen Laracasts. Jeffrey will run you down on setting up Vagrant with Laravel. Commented Dec 2, 2014 at 7:19

1 Answer 1

8

You can try vagrant init hashicorp/precise32. This creates the box not just the project.

Then do vagrant up to get the ball rolling.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.