How to download and Install Chef in Amazon EC2 Linux Instance

Share via:

Download and Install Chef in Amazon EC2 Linux Instance

In this article,we will see Download and Install Chef in Amazon EC2 Linux Instance.

Steps to follow Download and Install Chef

  1. Launch Linux EC2 Instance.
  2. Connect to Linux EC2 Instance through Putty.
  3. Switch to root user.
  4. Update Server Packages.
  5. Download and Install chef package.
  6. Verify chef package and Version.

Launch Linux EC2 Instance 

Please check below link to Launch Linux Server.

Launch Linux EC2 Instance

We can see Linux Server “Chef-Workstation” which was created earlier.

Connect to Linux EC2 Instance through Putty

Open Linux EC2 Instance Terminal

Switch to root user

Update Server Packages

By using “yum update” command.

Download and Install chef package

Download Chef Package

First we need to go chef official website by using below link.

https://www.chef.sh/

Click on DOWNLOADS.

Click on Get it.

Copy Chef package URL from website

Copy URL  https://packages.chef.io/files/stable/chef-workstation/0.13.35/el/7/chef-workstation-0.13.35-1.el7.x86_64.rpm

 

Paste URL which was copied from website in Linux EC2 Terminal

The chef package has been downloaded successfully.

Install chef package

Verify chef package and Version

Verify chef package

To see the version of Chef

using chef -v command

using chef -version command

Thank you for giving your valuable time to read the above information. Please click here to subscribe for further updates

KTEXPERTS is always active on below social media platforms.

 

Facebook : https://www.facebook.com/ktexperts/
LinkedIn : https://www.linkedin.com/company/ktexperts/
Twitter : https://twitter.com/ktexpertsadmin
YouTube : https://www.youtube.com/c/ktexperts
Instagram : https://www.instagram.com/knowledgesharingplatform

 

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 3.33 out of 5)
Loading...

4 thoughts on “How to download and Install Chef in Amazon EC2 Linux Instance

  1. Very use full content ..
    every thing in step by step..
    with proper screenshots..i am saving lot of time fallowing these steps and also did not face any errors.
    thankq so much

Add Comment