I wanted to capture the minimal steps required to install a Chef version 10 Server using RubyGems under Ruby 1.9 (1.9.3-p0) on Ubuntu 12.04.
Similar steps are also available on the Chef wiki, too.
This does not include any customization to the installation and takes everything as default. This will all change when Chef 11 is released.
These steps were performed on a default server install of Ubuntu 12.04.
Update apt sources.
Install required packages.
The config file should look like this:
1 2 3
Run chef-solo with the
The WebUI is not enabled by default. This can be done by setting an
attribute, see the
chef-server cookbook for more information.
Next, create a new API client that will be used to upload cookbooks.
chef_server_url to use the FQDN or IP address of the Chef
Server. Change the path for the validation key. The
file should look something like this:
1 2 3 4 5 6 7 8 9
Copy the validation key (
/etc/chef/validation.pem) to the
Verify that the API client and configuration file work.
1 2 3 4
The newly created API client should be listed. Mine is
Now the Chef Server is ready to use.