Opscode

Table Of Contents

Install Chef Server 11.x

The Chef Server acts as a hub for configuration data. The Chef Server stores cookbooks, the policies that are applied to cookbooks, and metadata that describes each registered node in the infrastructure. Nodes use the chef-client to ask the Chef Server for configuration details, such as recipes, templates, and file distributions. The chef-client then does as much of the configuration work as possible on the nodes themselves (and not on the Chef Server). This scalable approach distributes the configuration effort throughout the organization.

The steps below describe the process for installing Chef Server 11.x.

Steps

To install Chef Server 11.x, do the following:

  1. Go to http://www.opscode.com/chef/install.

  2. Click the Chef Server tab.

  3. Select the operating system, version, and architecture.

  4. Select the version of Chef Server 11.x to download, and then click the link that appears to download the package.

  5. Install the downloaded package using the correct method for the operating system on which Chef Server 11.x will be installed.

  6. Configure Chef Server 11.x by running the following command:

    $ sudo chef-server-ctl reconfigure
    

    This command will set up all of the required components, including Erchef, RabbitMQ, PostgreSQL, and all of the cookbooks that are used by chef-solo to maintain Chef Server 11.x.

  7. Verify the installation of Chef Server 11.x by running the following command:

    $ chef-server-ctl test
    

    This will run the chef-pedant test suite against the installed Chef Server 11.x and will report back that everything is working and installed correctly.

  8. Set up a workstation.

  9. From the workstation, verify the install by running the following commands to ensure that every chef-client and user was registered correctly.

    $ knife client list
    

    and:

    $ knife user list