Re: PeepCode screencast on Meet Chef
- Is the VM running? Try
vagrant up
- Can you connect to the VM? Try
vagrant ssh
- Did
chef-solo -j /etc/chef/node.json
run without error? - Did
chef-solo
install thenginx
package? You should seeRun List is [recipe[nginx]]
- Is Nginx running on the VM? Try
ps aux | grep nginx
- Does the webserver respond on the VM? Run
curl -I http://localhost
from inside the VM. You should seeServer: nginx
in the output. - Can you view http://33.33.33.10/ in your desktop browser? It will show a 404 error, but from Nginx (which proves that it's running).
- On your laptop, open the Virtual Box GUI and look at the settings. Does the Network tab show
Host-only Adapter
?