下载一个学习包node
knife cookbook site download learn_chef_httpdbootstrap
解压下ssh
tar -zxvf learn_chef_httpd-0.2.0.tar.gzcurl
上传下ide
knife cookbook upload learn_chef_httpd学习
knife bootstrap 192.168.10.142 --ssh-user root --ssh-password 12345.com --node-name chefnode --run-list 'recipe[learn_chef_httpd]' url
curl 192.168.10.142 803d
node 80端口被httpd启动blog
网页访问下ip