Skip to content

Private Chef Server Setup on RHEL7

  • Following is the guide to install & configure Private chef server 12.17.X on RHEL7.X.
  • Chef server is deployed and configured on the Google Cloud Platform
  • Chef Server minimum system requirements are as follows:
    • 64-bit architecture
    • 4 total cores (physical or virtual)
    • 8 GB of RAM or more
    • 5 GB of free disk space in /opt
    • 5 GB of free disk space in /var

 

sudo yum update -y && sudo yum upgrade -y
sudo timedatectl set-timezone Asia/Kolkata
wget https://packages.chef.io/files/stable/chef-server/12.17.33/el/7/chef-server-core-12.17.33-1.el7.x86_64.rpm
sudo rpm -Uvh chef-server-core-12.17.33-1.el7.x86_64.rpm
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
sudo vi /etc/hosts
    IP_ADDRESS chefserver.yebbare.com chefserver
https://FQDN
or
https://IP_ADDRESS
or
https://chefserver.yebbare.com

Shashi View All

A passionate devops and automation engineer

Leave a comment