Open VirtualBox and see if it's actually on?
Trouble Installing Laravel on Windows 7 with Vagrant / Virtual Box
I've been following the Laravel tutorial found here: https://laracasts.com/series/laravel-5-from-scratch/episodes/3
I'm having trouble getting Laravel up and running, so maybe someone here can help me out. I don't know very much about setting up dev environments in general, so please try to explain what you can in layman's terms.
To begin, I guess I'll copy in my Homestead.yaml file:
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: C:\laravel_code
to: /home/vagrant/code
sites:
- map: learn.app
to: /home/vagrant/Code/my-first-app/public
variables:
- key: APP_ENV
value: local
c:\laravel_code is where the Homestead folder exists, so I think that's what I need to map the folders to. I set up my private key with Git for a past Rails project, so I'm guessing that is okay. I'm not sure I fully understand the code under sites, as the narrator of the tutorial never created a my-first-app folder and the only reference to learn.app is right there in Homestead.
I'm running into trouble when I run the vagrant up command. The command seems to launch the virtual machine fine; it turns on and looks like it's running successfully. However, in my command prompt, I see:
C:\laravel_code\Homestead>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 => 8000 (adapter 1)
default: 3306 => 33060 (adapter 1)
default: 5432 => 54320 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
and the last line repeats itself until it eventually gives up. I'm not really sure what potential problem areas could be. When I run the command, I get a prompt from Windows Firewall, but I can "Allow Access" so I don't think that's necessarily the problem. I've run virtual machines on this PC before, so I don't think I need to reconfigure anything in BIOS like many other Windows users that have trouble with installation. Can anyone identify even potential trouble spots with my code?
Please or to participate in this conversation.