How to Configure Chef Server in Centos 7

How to Configure Chef Server in Centos 7
image link
We will learn How to Configure Chef Server
in
Centos 7. Chef is Open Source tool to manage to your chef client or chef nodes from a centralised location in cloud and local Intranet.

1. Install Packages of Linux :--  (requirement)
 yum install -y wget curl

Now Set the Hostname of your Chef Server :-
hostnamectl set-hostname chefserver.linuxhilinux.com


2. Download the Chef Server Package Link.
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
rpm -ivh chef*.rpm
rpm -ivh chef-server-core-12.17.33-1.el7.x86_64.rpm

3. After the install chef server package Restart the Service :--
chef-server-ctl reconfigure

4. Create Administrator User Account :-
chef-server-ctl user-create surender singh bhandari linuxhilinux@gmail.com 'redhat' --filename /etc/chef/surender.pem


5. Create Organization :-
chef-server-ctl org-create surenderlinux 'linuxhilinux' --association_user surender --filename /etc/chef/surender.pem

6. Install Chef Manage Console :-
Two type installation

  • Command line
  • Download the package and install it.

Command line :-
chef-server-ctl install chef-manage

Download package and install it :- link
wget https://packages.chef.io/files/stable/chef-manage/2.5.4/el/7/chef-manage-2.5.4-1.el7.x86_64.rpm
rpm -ivh chef-manage-2.5.4-1.el7.x86_64.rpm
7. Now Reconfiguration the Chef Server :-
chef-server-ctl reconfigure
chef-manage-ctl reconfigure


Username :- surender
Password :- redhat

Reference of Installation link.

Now, We will Configure Chef Workstation and Chef Client or Chef Node.
How to Configure Chef Server in Centos 7 How to Configure Chef Server in Centos 7 Reviewed by Unknown on September 06, 2018 Rating: 5

No comments:

Scribe

http://feeds.feedburner.com/LinuxAndAws
Powered by Blogger.
X

Get Updates On

Linux Tutorial

AWS Tutorial

Devops Tutorial

We are going to send you our resources for free. To collect your copy at first, join our mailing list. So don't miss any updates, stay connected!