Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps for Web Development

You're reading from   DevOps for Web Development Achieve the Continuous Integration and Continuous Delivery of your web applications with ease

Arrow left icon
Product type Paperback
Published in Oct 2016
Publisher Packt
ISBN-13 9781786465702
Length 408 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Getting Started – DevOps Concepts, Tools, and Technologies 2. Continuous Integration with Jenkins 2 FREE CHAPTER 3. Building the Code and Configuring the Build Pipeline 4. Installing and Configuring Chef 5. Installing and Configuring Docker 6. Cloud Provisioning and Configuration Management with Chef 7. Deploying Application in AWS, Azure, and Docker 8. Monitoring Infrastructure and Applications 9. Orchestrating Application Deployment

Installing and configuring a Chef workstation


Before installing a Chef client for preparing a workstation, let's try to verify whether the Chef client has been installed:

  1. Execute the chef-client -version command to verify whether the Chef client has been installed:

                [mitesh@devops1 Desktop]$ chef-client -version
                bash: chef-client: command not found
    

  2. As you can see in the output of the previous command, the Chef client is not installed. Now, navigate to the directory where the Chef client installable is stored using the cd command:

                [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
    

  3. Run the downloaded Chef client RPM using rpm -ivh chef-<version>.rpm:

                [mitesh@devops1 chef]$ rpm -ivh chef-12.9.41-1.el6.x86_64.rpm
                warning: chef-12.9.41-1.el6.x86_64.rpm: Header V4DSA/SHA1 Signature,                 key ID 83ef826a:...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image