Assignment 1

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Chef: Chef is an automation tool that provides a way to define infrastructure as a code. It managing infrastructure by writing code rather than using manual processes.

Advantages of Chef:

1.Managing servers with ease.

2.Automation of cloud server.

3.Deployment of servers with faster pace.

4.Best consistency – all the machines have same cloud running.

5.Scalability

6.Speed and accuracy.

7.Integrating cloud technology.

8.Effective risk management.

9.Speed s/w delivery.

10.Best rectification factor.

Installation of chef workstation:

vi first.rb

file ‘/opt/first.txt’

file ‘/opt/first.txt’ do
action :delete
end

file ‘/opt/content.txt’ do
content “This is my first program of chef”
mode 755
owner “root”
end

chef-apply first.rb

1.Go the Chef workstation page

2.signup into the page

3.Click on the package for window/ Linux or any other version we want.

4.After clicking on download, we will get a link.

5.wget https://packages.chef.io/files/stable/chef-workstation/22.5.923/el/7/chef-workstation-22.5.923-1.el7.x86_64.rpm

6.rpm -ivh chef-workstation-22.5.923-1.el7.x86_64.rpm

7.Copy this to the putty, download the packages of the chef.

8.Workstation will be installed automatically

9.use chef version command to find the version that is installed in your Linux.

10.use which chef command to find the version.

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x