Welcome!

Linux Authors: Carmen Gonzalez, John Wetherill, Pat Romanski, Elizabeth White, Mike Kavis

Related Topics: Linux

Linux: Article

Essential Linux and Open Source Books

Compile your reading list

In keeping with our "Best of..." theme for this month, I'd like to provide some of the essential titles for learning Linux and open source.

These titles were gathered with feedback from our readers as well as other professionals in the field. We've divided the books into subject areas and gathered as much of a consensus as possible. The list of subject areas does not encompass all areas that an individual might need. For that reason I've included a new category, Best Linux and Open Source Publisher.

Best Linux and Open Source Publisher
Tie: O'Reilly & Associates and Addison-Wesley/Prentice Hall PTR
Honorable Mention: APress

There are a lot of publishers who put forth titles on Linux and open source technologies. Some of these titles are excellent but many are simply knock-offs of already-successful titles from other publishers. Too often publishers won't take risks on new subject areas until other books are successful, only to lament the lack of sales for their late-coming knock-off titles.

When you look for a title on a particular subject and can't choose between the different offerings in that area, it's helpful to note that titles published by O'Reilly & Associates and Addison-Wesley/Prentice Hall PTR generally have the longest useful life. It's for this reason, along with O'Reilly's willingness to take risks in new subject areas, that the two publishers are the Best Linux and Open Source Publishers. It's not surprising that many of the essential titles throughout this article are either O'Reilly or Addison-Wesley/Prentice Hall PTR books.

O'Reilly has long been the leader in Linux and open source publishing. The name O'Reilly has become synonymous with the definitive title in a given subject area and you can sometimes hear "Did you get the O'Reilly?" as a question posed from one reader to another. Even without knowing the exact title, simply buying the O'Reilly in a subject area is usually met with approval from your peers.

O'Reilly also offers a unique Internet-based library called Safari. Using Safari (http://safari.oreilly.com), you can read full versions of books published by not only O'Reilly but also New Riders, Addison-Wesley, Prentice Hall PTR, Syngress, Sams, Cisco Press, Microsoft Press, and others. The books are fully searchable and, with an enhanced subscription, entire chapters can be downloaded as PDFs.

Addison-Wesley/Prentice Hall PTR enjoys a special place in the market for these two subject areas. Within these subject areas, Addison Wesley/Prentice Hall PTR clearly has the definitive title. For example, TCP/IP Illustrated Volume 1 by W. Richard Stevens is the first and last source necessary for learning IP, TCP, UDP, ICMP, and other related protocols. The Unix Network Programming series by W. Richard Stevens, et al, from Addison-Wesley is the standard by which other programming titles are judged.

An honorable mention in this category could go to many publishers but Apress now stands out as having a catalog that is quickly growing with Linux and open source titles including some new subject areas. Apress is up and coming in the area of Linux and open source publishing and we'll be excited to see their new titles over the next year.

Command Reference
Essential Title: Linux in a Nutshell by Ellen Siever and the staff of O'Reilly & Associates (O'Reilly)
Honorable Mention: None

Linux in a Nutshell has gone through a number of revisions and continues to add value with each new revision. It's one of the few titles that includes comprehensive coverage of the available commands while being far more than a simple rehash of the main pages. Chapters in this 900+ page volume include a chapter on Linux commands that's over 400 pages, and chapters on boot loaders, shells, vi, sed, and others.

Linux in a Nutshell is an essential title for the administrator who can't recall every variation and nuance of every command on the system and wants a one-stop source for day-to-day assistance with Linux. O'Reilly also has Nutshell books in other categories that are worth a look if you're working in that field.

Shell Scripting
Essential Title: Wicked Cool Shell Scripts by Dave Taylor (No Starch Press)
Honorable Mention: None

What we consider to be one of the best books on Linux shell scripting ever written, and one that is a must for any new- or intermediate-level Linux administrator, is Wicked Cool Shell Scripts. This is the book that every other publisher tries to imitate. Unless you know shell inside and out, this book should be on your bookshelf.

Most of the reviewers for this article are comfortable on the command line and we have written more than our share of scripts, yet these same admins find this book to be handy when we simply want the answer without having to develop and debug the entire script ourselves. We only wish that this book had been out back in the early 1990s so we could have learned scripting quicker.

An honorable mention cannot be made in this category since Wicked Cool Shell Scripts is so far above anything else available in this area.

E-Mail
The e-mail subject area is split into a few different categories due to the varied software available in this area.

Sendmail
Essential Titles: Sendmail by Bryan Costales and Eric Allman (O'Reilly)
Sendmail Cookbook by Craig Hunt (O'Reilly)
Honorable Mention: None

Two O'Reilly titles serve everyone's Sendmail administrator's needs. The aptly titled Sendmail is the quintessential O'Reilly title, providing everything necessary to learn the application while at the same time diving deep into the application. For some, the Sendmail book is simply too much. For that reason, O'Reilly's Sendmail Cookbook gives you all of the common tasks in recipe-style format for quick and easy reference.

If you're searching for a book on Sendmail, don't look any further than either (or both) of these books.

Postfix
Essential Titles: Postfix: The Definitive Guide by Kyle D. Dent (O'Reilly)
Postfix by Richard Blum (Sams)
Honorable Mention: None

Both titles under consideration for this category were good in their own respect as they provide the reader with the basics of Postfix. Someone new to Postfix might find Postfix to be more at their level but Postfix: The Definitive Guide also has basic information and a little more. In short, neither title stands largely above the other.

Procmail
Essential Title: The Procmail Companion by Martin McCarthy (Addison-Wesley)
Honorable Mention: None

Though not an SMTP server like Sendmail, Postfix, or Qmail, Procmail is quite popular for processing e-mail. If you're looking to perform advanced processing of e-mail, check out The Procmail Companion. It provides a great learning tool as well as a handy reference for creating Procmail recipes.

Perl
Essential Titles: Look for O'Reilly
Honorable Mention: None

Perl encompasses quite a wide array of possibilities, from Web development to system administration to powerful programs that can do just about anything. Including a review of individual Perl books in this article would be impossible; luckily, there's no need to review individual books on Perl. O'Reilly has long been a leader in Perl publications, which means that not only will they have book on a given area of Perl development, but the book will also be excellent.

However, with so many titles it may be easy to choose an inappropriate title for your level of Perl knowledge. For readers new to Perl, O'Reilly's Learning Perl by Randal L. Schwartz and Tom Phoenix is always a good choice. The Perl Cookbook by Tom Christiansen and Nathan Torkington is another essential title in this area. O'Reilly also has a Perl CD Bookshelf that includes both Learning Perl and Perl Cookbook as well as Perl in a Nutshell by Ellen Siever, et al; Mastering Regular Expressions, Programming Perl by Larry Wall, et al; and Learning Perl Objects, References, and Modules by Randal L. Schwartz and Tom Phoenix on CD-ROM. They also throw in a hard copy of Perl in a Nutshell to round out the package.

Development in Linux
Essential Titles: Addison-Wesley/Prentice Hall PTR books
Honorable Mention: None

Just as O'Reilly enjoys special status in the area of Perl books, Addison-Wesley/Prentice Hall PTR also has special status when it comes to Linux programming titles. Unix Network Programming by W. Richard Stevens, et al, is the classic title in this area and other titles from Addison-Wesley/Prentice Hall PTR keep up the excellent status. Development in Linux is a wide, wide area. Therefore, for this article to give the essential title status to only one or two books would ignore the volumes of other material that may be appropriate for a particular development area. It is for this reason that no honorable mention is given in this category.

Some of the essential titles from Addison-Wesley/Prentice Hall PTR in this area include the aforementioned Unix Network Programming (all volumes); Advanced Unix Programming by Marc J. Rochkind; The C Programming Language by Brian W. Kernighan, et al; Linux Programming by Example by Arnold Robbins; Linux Application Development by Michael K. Johnson and Erik W. Troan; and The Art of Unix Programming by Eric S. Raymond. Other titles also exist in this area and deserve space on the programmer's bookshelf if they aren't already there.

MySQL
Essential Title: High Performance MySQL by Jeremy D. Zawodny and Derek J. Balling (O'Reilly)
Honorable Mention: The Definitive Guide to MySQL by Michael Kofler (Apress)

MySQL is one of the areas where every publisher seems to have a hat in the ring. There are very few books that truly stand out on the crowded shelf. One such title is High Performance MySQL, which gives the intermediate-to-advanced MySQL user some of the best practices for maintaining MySQL; however, it's not for the beginner. Someone new to MySQL should look for a more basic title of which there are many, including one written by the lead author of this article.

We were unable to come to a consensus on an essential title for a new MySQL administrator. A number of titles exist and each seems to have its own set of flaws. The Definitive Guide to MySQL published by Apress provides a rounded look at MySQL and may be worth a more serious look for the new MySQL administrator, which is why the book garnered an Honorable Mention in this category.

Apache
Essential Titles: Apache: The Definitive Guide by Ben Laurie and Peter Laurie (O'Reilly)
Pro Apache by Peter Wainwright (Apress)
Honorable Mention: Apache Cookbook by Ken Coar and Rich Bowen (O'Reilly)

Serving both beginner and intermediate (leaning to advanced) readers alike, Apache: The Definitive Guide is a good book for those looking to implement Apache to serve the Web. This book includes everything from installation to administration to writing Apache modules. The Apress release, Pro Apache, is another excellent title for the new-to-intermediate Apache administrator.

In late 2003, O'Reilly released the Apache Cookbook, providing recipes for common tasks related to Apache Web serving. If you're comfortable with Apache installation and the theory of Apache administration and want to just get the answers, this is a great resource.

The reviewers would like to see a high- performance Apache-type book come forth within the next year from any publisher. The book should include advanced Apache-related tasks and other considerations for using Apache in a demanding environment.

DNS
Essential Title: DNS & BIND by Paul Albitz and Cricket Liu (O'Reilly)
Honorable Mention: None

BIND is the most popular DNS server used on the Internet. It makes sense to have a volume that contains not only information on BIND but also on DNS. DNS & BIND provides just that, giving the reader an overview of how DNS works together with how to implement DNS using BIND. The first two chapters of this book should be required reading for anyone performing any computer-related support or administration. O'Reilly also has a cookbook-style title, aptly named DNS & BIND Cookbook by Cricket Liu, for those who already know DNS but just want to make something work in BIND.

Linux Security
Essential Title: None
Honorable Mention: Numerous

Probably the broadest category in this article is the area of Linux security. No single title in this area offers a good source covering everything from intrusion detection to system hardening to secure system administration methods. Some titles try (and fail) to be that elusive one-stop shop for Linux security, but all seem to either lack real-world experience or only scratch the surface of the needs of an administrator. Both of these aspects are key to computer security and it was difficult to find any titles that we could call essential.

Like so many other categories, it seems as if every publisher has a book on Snort for intrusion detection yet no publishers have in-depth coverage of GrSecurity. In other words, you'll learn how to set up Snort but not how to secure the machine from which Snort runs. Some titles insult the reader by including information about the security of e-mail and other nonessential issues that any reader of that title should know already.

All isn't lost, however. Of the titles under consideration, Network Intrusion Detection by Stephen Northcutt and Judy Novak, published by New Riders, stands out as providing an excellent base for an administrator to learn the concepts of intrusion detection. While it doesn't cover intrusion detection software such as Snort, it does belong on the intrusion analyst's bookshelf for the valuable information about common types of attacks that the analyst might see on the network.

The problem is that security is so much more than intrusion detection or disabling unnecessary services in inetd.conf. Titles such as Beyond Fear and Secrets and Lies... by Bruce Schneier give the reader a not-necessarily technical grounding to help consider the risks and costs associated with the field of security. These books have useful information and, thanks to Schneier's writing style, are quite easy reads as well. We consider these titles to be essential reading for anyone trying to secure anything.

The category of Linux and open source security is in need of a good, definitive title on the subject that combines a deep understanding of the concepts of security as well as real-world experience on what works and what doesn't work in the area of Linux security.

Samba
Essential Title: The Official Samba-3 HOWTO and Reference Guide by John H. Terpstra and Jelmer R. Vernooij (Prentice Hall PTR)
Honorable Mention: Using Samba by Jay Ts, et al (O'Reilly)

Part of the Bruce Perens Open Source series, The Official Samba-3 HOWTO and Reference Guide is an essential title due to the breadth of information covered in the book. This is not a cookbook with recipe-style solutions to using Samba; it's a definitive volume that will enable the reader to not only create a complete Samba installation but also to understand the workings behind Samba.

Using Samba garners honorable mention in this category for being an easily accessible guide to configuring Samba. Just about everything that an administrator would need to do in order to configure Samba is included in this book.

Inadequate Coverage
You may have noticed some subject areas are completely missing from this article. For some areas there simply isn't any one title that stands out as essential. Rather than suggest a lesser title, we would prefer to leave those areas uncovered in the hopes of finding that essential title for later inclusion.

PHP
Essential Title: Open

We expected to find a title that stood out above the rest in the area of PHP development. There are numerous titles that are good, likewise there are at least equally as many bad books on PHP development. If we had to choose a title here, we would lean toward those publishers who have historically been strong in Linux development, Addison-Wesley/Prentice Hall PTR and O'Reilly. Prentice Hall PTR has two titles that are worth a closer look: PHP 5 Power Programming by Andi Gutmans, Stig Bakken, and Derick Rethans; and Core PHP Programming by Leon Atkinson and Zeev Suraski. Both cover PHP 5 as does Beginning PHP 5 and MySQL by W. J. Gilmore, published by Apress. The Apress title arrived too late for us to fully review but it appears promising nonetheless.

Linux Desktop Administration
Essential Title: Open

We were unable to find any titles that covered enterprise administration of the Linux desktop. While there are numerous Linux desktop titles, none includes extensive coverage for an enterprise wishing to use Linux in a large-scale deployment.

Conversion to Linux and OSS from Windows
Essential Title: Open

These titles are just starting to appear. We hope that within the next 12 months books will appear that cover enterprise conversions from Windows to Linux for various applications such as IIS to Apache, Exchange to Sendmail or Postfix, SQL Server to MySQL, and so on.

The Essential Titles 2005
Creating the list of the essential titles was a lengthy and time-consuming task. We look forward to hearing your feedback on our essential titles and improving and expanding upon them for next year.

More Stories By Steve Suehring

Steve Suehring is a technology architect and engineer with a solid background in many areas of computing encompassing both open and closed source systems, he has worked with a variety of companies from small to large, including new and old economy, to help them integrate systems and provide the best use of available technologies. He has also taken a hands-on approach with many projects and frequently leads teams of engineers and developers, and has written magazine articles as well as a book on the MySQL database server. He has also performed technical editing on a number of other titles.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
DevOps Summit 2015 New York, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait for long development cycles that produce software that is obsolete at launch. DevOps may be disruptive, but it is essential.
“In the past year we've seen a lot of stabilization of WebRTC. You can now use it in production with a far greater degree of certainty. A lot of the real developments in the past year have been in things like the data channel, which will enable a whole new type of application," explained Peter Dunkley, Technical Director at Acision, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that Windstream, a leading provider of advanced network and cloud communications, has been named “Silver Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York, NY. Windstream (Nasdaq: WIN), a FORTUNE 500 and S&P 500 company, is a leading provider of advanced network communications, including cloud computing and managed services, to businesses nationwide. The company also offers broadband, phone and digital TV services to consumers primarily in rural areas.
The major cloud platforms defy a simple, side-by-side analysis. Each of the major IaaS public-cloud platforms offers their own unique strengths and functionality. Options for on-site private cloud are diverse as well, and must be designed and deployed while taking existing legacy architecture and infrastructure into account. Then the reality is that most enterprises are embarking on a hybrid cloud strategy and programs. In this Power Panel at 15th Cloud Expo (http://www.CloudComputingExpo.com), moderated by Ashar Baig, Research Director, Cloud, at Gigaom Research, Nate Gordon, Director of T...
The Internet of Things is not new. Historically, smart businesses have used its basic concept of leveraging data to drive better decision making and have capitalized on those insights to realize additional revenue opportunities. So, what has changed to make the Internet of Things one of the hottest topics in tech? In his session at @ThingsExpo, Chris Gray, Director, Embedded and Internet of Things, discussed the underlying factors that are driving the economics of intelligent systems. Discover how hardware commoditization, the ubiquitous nature of connectivity, and the emergence of Big Data a...

ARMONK, N.Y., Nov. 20, 2014 /PRNewswire/ --  IBM (NYSE: IBM) today announced that it is bringing a greater level of control, security and flexibility to cloud-based application development and delivery with a single-tenant version of Bluemix, IBM's platform-as-a-service. The new platform enables developers to build ap...

"BSQUARE is in the business of selling software solutions for smart connected devices. It's obvious that IoT has moved from being a technology to being a fundamental part of business, and in the last 18 months people have said let's figure out how to do it and let's put some focus on it, " explained Dave Wagstaff, VP & Chief Architect, at BSQUARE Corporation, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that IDenticard will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. IDenticard™ is the security division of Brady Corp (NYSE: BRC), a $1.5 billion manufacturer of identification products. We have small-company values with the strength and stability of a major corporation. IDenticard offers local sales, support and service to our customers across the United States and Canada. Our partner network encompasses some 300 of the world's leading systems integrators and security s...
"People are a lot more knowledgeable about APIs now. There are two types of people who work with APIs - IT people who want to use APIs for something internal and the product managers who want to do something outside APIs for people to connect to them," explained Roberto Medrano, Executive Vice President at SOA Software, in this SYS-CON.tv interview at Cloud Expo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
Nigeria has the largest economy in Africa, at more than US$500 billion, and ranks 23rd in the world. A recent re-evaluation of Nigeria's true economic size doubled the previous estimate, and brought it well ahead of South Africa, which is a member (unlike Nigeria) of the G20 club for political as well as economic reasons. Nigeria's economy can be said to be quite diverse from one point of view, but heavily dependent on oil and gas at the same time. Oil and natural gas account for about 15% of Nigera's overall economy, but traditionally represent more than 90% of the country's exports and as...
The Internet of Things is a misnomer. That implies that everything is on the Internet, and that simply should not be - especially for things that are blurring the line between medical devices that stimulate like a pacemaker and quantified self-sensors like a pedometer or pulse tracker. The mesh of things that we manage must be segmented into zones of trust for sensing data, transmitting data, receiving command and control administrative changes, and peer-to-peer mesh messaging. In his session at @ThingsExpo, Ryan Bagnulo, Solution Architect / Software Engineer at SOA Software, focused on desi...
"At our booth we are showing how to provide trust in the Internet of Things. Trust is where everything starts to become secure and trustworthy. Now with the scaling of the Internet of Things it becomes an interesting question – I've heard numbers from 200 billion devices next year up to a trillion in the next 10 to 15 years," explained Johannes Lintzen, Vice President of Sales at Utimaco, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
"For over 25 years we have been working with a lot of enterprise customers and we have seen how companies create applications. And now that we have moved to cloud computing, mobile, social and the Internet of Things, we see that the market needs a new way of creating applications," stated Jesse Shiah, CEO, President and Co-Founder of AgilePoint Inc., in this SYS-CON.tv interview at 15th Cloud Expo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that Gridstore™, the leader in hyper-converged infrastructure purpose-built to optimize Microsoft workloads, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Gridstore™ is the leader in hyper-converged infrastructure purpose-built for Microsoft workloads and designed to accelerate applications in virtualized environments. Gridstore’s hyper-converged infrastructure is the industry’s first all flash version of HyperConverged Appliances that include both compute and storag...
Today’s enterprise is being driven by disruptive competitive and human capital requirements to provide enterprise application access through not only desktops, but also mobile devices. To retrofit existing programs across all these devices using traditional programming methods is very costly and time consuming – often prohibitively so. In his session at @ThingsExpo, Jesse Shiah, CEO, President, and Co-Founder of AgilePoint Inc., discussed how you can create applications that run on all mobile devices as well as laptops and desktops using a visual drag-and-drop application – and eForms-buildi...
We certainly live in interesting technological times. And no more interesting than the current competing IoT standards for connectivity. Various standards bodies, approaches, and ecosystems are vying for mindshare and positioning for a competitive edge. It is clear that when the dust settles, we will have new protocols, evolved protocols, that will change the way we interact with devices and infrastructure. We will also have evolved web protocols, like HTTP/2, that will be changing the very core of our infrastructures. At the same time, we have old approaches made new again like micro-services...
Code Halos - aka "digital fingerprints" - are the key organizing principle to understand a) how dumb things become smart and b) how to monetize this dynamic. In his session at @ThingsExpo, Robert Brown, AVP, Center for the Future of Work at Cognizant Technology Solutions, outlined research, analysis and recommendations from his recently published book on this phenomena on the way leading edge organizations like GE and Disney are unlocking the Internet of Things opportunity and what steps your organization should be taking to position itself for the next platform of digital competition.
The 3rd International Internet of @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that its Call for Papers is now open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
As the Internet of Things unfolds, mobile and wearable devices are blurring the line between physical and digital, integrating ever more closely with our interests, our routines, our daily lives. Contextual computing and smart, sensor-equipped spaces bring the potential to walk through a world that recognizes us and responds accordingly. We become continuous transmitters and receivers of data. In his session at @ThingsExpo, Andrew Bolwell, Director of Innovation for HP's Printing and Personal Systems Group, discussed how key attributes of mobile technology – touch input, sensors, social, and ...
In their session at @ThingsExpo, Shyam Varan Nath, Principal Architect at GE, and Ibrahim Gokcen, who leads GE's advanced IoT analytics, focused on the Internet of Things / Industrial Internet and how to make it operational for business end-users. Learn about the challenges posed by machine and sensor data and how to marry it with enterprise data. They also discussed the tips and tricks to provide the Industrial Internet as an end-user consumable service using Big Data Analytics and Industrial Cloud.