How to install chef server on CentOS-6.2 using yum
I posted how to set up chef server on ubuntu-11.10. CentOS is a popular Linux distributions. I'll describe how to set it up step by step, too.
Install chef-solr as root.
su - yum install gcc make ruby ruby-devel rubygems gem install --no-rdoc --no-ri chef-solr
You can run chef-solo to install.
$ chef-solo -c solo.rb -j ~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz
Important And, you may need to retry the same command because the 1st execution will be failed due to an error which says yum locking. If failed, re-run it. And also, it takes so much time in order to compile geocode.
chef-solo -c solo.rb -j ~/chef.json -r http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz
In case finishing without error, open http://localhost:4000 with your browser.
If you can see above, installation is succeeded!