Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Configuration Management with Chef-Solo

You're reading from  Configuration Management with Chef-Solo

Product type Book
Published in Jun 2014
Publisher
ISBN-13 9781783982462
Pages 116 pages
Edition 1st Edition
Languages
Author (1):
Naveed ur Rahman Naveed ur Rahman
Profile icon Naveed ur Rahman
Toc

Installation on Linux and Ubuntu


Chef provides us with a number of ways to get started. We can get it working using different methods. Each method has certain advantages and disadvantages. Chef-Solo can be installed as a Ruby gem, or a Debian package and is not available as Red Hat Package Manager (RPM) packages for Red Hat based Linux.

The detailed installation methods are discussed in the following sections.

Installing Chef as a Ruby gem

Chef is written in Ruby, and before getting started with Chef-Solo, we have to install Ruby. The installation is simple enough and it requires only two packages to get started. Ruby developers may prefer this particular method to get started.

apt-get install Ruby1.9.3 Ruby1.9.3-dev build-essential

This will install Ruby Version 1.9.1 and also a few required extensions. After installation of Ruby, we can easily install Chef using it as a Ruby gem. We can install Ruby by using the following snippet:

gem1.9.3 install --no-ri --no-rdoc chef

Also, you can install...

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 $15.99/month. Cancel anytime