Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
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 A comprehensive guide to get you up and running with Chef-Solo.

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783982462
Length 116 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Naveed ur Rahman Naveed ur Rahman
Author Profile Icon Naveed ur Rahman
Naveed ur Rahman
Arrow right icon
View More author details
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 AU $24.99/month. Cancel anytime