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.jsonrun without error? - Did
chef-soloinstall thenginxpackage? 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://localhostfrom inside the VM. You should seeServer: nginxin 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?
