Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!
We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!
Learn from Guru Rajesh Kumar and double your salary in just one year.
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.
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.