Skip to content

Chef Server Installation

Installing Chef server on Ubuntu 16.04 LTS. Cloud platform used is google cloud platform. Make sure you have proper FQDN

sudo apt update && sudo apt upgrade -y
sudo locale-gen en_GB.UTF-8
export LANGUAGE=en_US.UTF-8 && export LC_ALL=en_US.UTF-8 && export LANG=en_US.UTF-8 && export LC_TYPE=en_US.UTF-8
sudo timedatectl set-timezone Asia/Kolkata
sudo dpkg -i chef-server-core_12.16.14-1_amd64.deb
sudo chef-server-ctl reconfigure
sudo chef-server-ctl install chef-manage
sudo chef-server-ctl reconfigure
sudo chef-manage-ctl reconfigure --accept-license
sudo chef-server-ctl user-create USER_NAME FIRST_NAME LAST_NAME EMAIL 'PASSWORD' --filename FILE_NAME.pem
sudo chef-server-ctl org-create short_name 'full_organization_name' --association_user user_name --filename ORGANIZATION-validator.pem
sudo mkdir -p ~/.chef
sudo mv admin.pem skydevops-validator.pem ~/.chef

Shashi View All

A passionate devops and automation engineer

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: