Skip to content

Instantly share code, notes, and snippets.

@initcron
Last active May 13, 2019 06:40
Show Gist options
  • Select an option

  • Save initcron/9dae5275b07a92fa54d2 to your computer and use it in GitHub Desktop.

Select an option

Save initcron/9dae5275b07a92fa54d2 to your computer and use it in GitHub Desktop.
Installing and configuring Open Source Chef Server 11.x on Ubuntu
Installing Chef Server
1. Download chef server installer
https://www.getchef.com/download-open-source-chef-server-11/
2. Install Chef Server using dpkg on ubuntu
$ dpkg -i chef-server_11.1.3-1_amd64.deb
3. Configure Chef Server
$ sudo chef-server-ctl reconfigure
Configurations (chef workstation)
1. Install chef-client using omnibus installer
$ curl -L https://www.opscode.com/chef/install.sh | sudo bash
2. Copy admin.pem and chef-validator.pem from /etc/chef-server on chef server host to ~/.chef on your workstation host.
mkdir ~/.chef
(copy admin.pem and chef-validator.pem to ~/.chef)
3. Do knife initial configurations
$ knife configure -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment