O'Reilly logo

DevOps Bootcamp by Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and configuring a Chef workstation

Let's verify whether the Chef client has been installed on the system or virtual machine where we want to configure the Chef workstation:

  1. Execute the chef-client -version command; if we get the command not found error, then it means that the Chef client is not installed. If the Chef client is installed, then it will give the version number:
        [mitesh@devops1 Desktop]$ chef-client -version        bash: chef-client: command not found
  1. Go to the directory where the Chef client installable is downloaded:
        [mitesh@devops1 Desktop]$ cd chef/        [mitesh@devops1 chef]$ ls        chef-12.9.41-1.el6.x86_64.rpmchefdk-0.13.21-        1.el6.x86_64.rpm
  1. Run the Chef client RPM using rpm -ivh chef-<version>.rpm:
 [mitesh@devops1 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required