LXer Book Review: Pro Linux System Administration

Posted by Sander_Marechal on Oct 22, 2009 5:28 PM
LXer Linux News; By Sander Marechal, The Netherlands


LXer Feature: 22-Oct-2009

“By the end of this book, You’ll be well on your way to becoming a Linux expert” is quite a bold claim for a book that is aimed at people who only have some familiarity with Windows and networking. “Pro Linux System Administration” by James Turnbull, Peter Lieverdink and Dennis Matotek aims to do precisely that and surprisingly, it largely succeeds. In its 1080 pages it explains how you can set up and configure multiple Linux servers to operate a small business network. Starting with basic Linux management and working up the stack through networking, e-mail and webservers you will end up with a pretty complete network that includes document management, groupware and disaster recovery.



The only downside of the book is that it becomes terser as it goes along. Part 1 and half of part 2 are quite thorough. They explain what you are doing, why you are doing it, differences between distributions and possible gotchas. But as the book moves up the application stack these explanations become shorter and in some cases amount to little more than an installation walk-through. I think it would have been better to focus on fewer alternative applications and dive deeper into those.



Part 1: The Beginning



The book starts with an introduction to Linux and free software in general and discusses various major distributions. It then settles on Red Hat Enterprise and Ubuntu Server edition. The rest of the book focuses on these two distributions. A good choice in my opinion since these two distributions represent two different lineages of Linux. The Red Hat examples also work on CentOS and the Ubuntu examples also apply to Debian and its many family members. There is also the distinction that Red Hat Enterprise ships with a GUI and many GUI configuration tools while Ubuntu Server is administered purely through the command line.



After you are shown how to install Linux on top of LVM you are taught the basics. How to work with files, permissions, users and groups both from the GUI as from the command line. It then dives right into the guts of Linux by showing you how the boot process goes, how run-levels and services work and how you can troubleshoot problems that you are likely to encounter.



Chapter 6 introduces networking and firewalls and that is where things start to get more complicated. The authors have come up with a nice example network consisting of a Linux gateway, a main server, a wired and wireless network with several clients and branch offices which will connect over VPN. Unfortunately networking is never an easy subject and here the promise of only “some experience required” breaks down a bit. Still, it’s explained pretty thoroughly, as are the next chapters on package and storage management.




The example network used throughout the book.



I did notice a few technical errors and omissions in these chapters. For example, when explaining how to manage networking with the `ip` and `ifup|ifdown` commands, the authors do not mention that ifup and ifdown does much more on Ubuntu, like mounting network shares from fstab. Also the section about LVM on RAID fails to mention that you need to blacklist your raw disks used in the RAID array in the LVM configuration. If you don’t blacklist these then LVM may try to construct the volume groups from the raw disks instead of from the RAID. Luckily such issues are few and far between.



Part 2: Making It Work for You



The second part of the book moves away from the details of system administration itself and onto providing services and application that your users can actually use. First up is more networking. DNS, DHCP, NTP and such. Then e-mail using Postfix with Dovecot sitting on top to provide IMAP and POP3 and SpamAssassin to keep your mailboxes clean. The chapter on setting up the AMP part of LAMP (Apache, MySQL and PHP) is well done but skimpy on the details of setting up PHP. The half a page section on PHP just gives you a list of packages to install and nothing more. No mention is made of configuration or the possibility of running PHP through fcgi which makes it possible to run PHP applications under separate user privileges.



Chapter 12 describes file and print sharing using both Samba and more Linux oriented services like NFS4 and Cups. It also touches on document management using KnowledgeTree. I found several issues with this chapter. First off the information on NFS4 is skimpy, in contrast to the extensive explanation on Samba. It misses important details on NFS4’s new pseudo file system that needs a root directory and requires mount binding if you want to export directories outside the NFS4 export root. Another thing it misses is how to share printers with Linux clients. The book only explains printer sharing over Samba to Windows clients and not directly with Cups to Linux clients. The section on installing KnowledgeTree could also be better. It shows you how to install it using its massive stack installer which contains its own Apache, PHP and MySQL. I would have preferred and explanation that shows how to setup KnowledgeTree on the LAMP stack from the previous chapter. The same applies to installing Zimbra in chapter 15.



The rest of the book is pretty well organized and thorough, with chapters on backup and recovery, resource monitoring, virtualization, LDAP and more networking fun with OpenVPN. This ties together the main office and all the branch offices in the example network from part 1 of the book. There is even a chapter on automated installs and configuration management using Cobbler (or Kickstart/Preseed) and Puppet.

Conclusion



I really enjoyed “Pro Linux System Administration”. It's thorough, it covers a large amount of topics and does not pin you to just one distribution. The credo of “only some Windows and networking experience required” is a bit over the top, but anyone reasonably experienced with Windows System Administration should be able to use this book. It is also well suited to people who have some Linux experience but who want to know more (like me). Some of the chapters are a bit shallow and feel more like an installation walk-through but this is more than made up for by the depth of the rest of the book. All-in-all I rate it 8 out of 10 points.



Book information



TitlePro Linux System Administration
AuthorsJames Turnbull, Peter Lieverdink and Dennis Matotek
PublisherApress
ISBN978-1-4302-1912-5
YearJune 2009
Pages1080
CD IncludedNo
Price$ 49.99
Overall rating8/10

Return to the LXer Features

Subject Topic Starter Replies Views Last Post
Thanks hkwint 2 2,792 Oct 23, 2009 2:27 AM

You cannot post until you login.

LXer

  Latest Features
Scott Ruecker (San Diego, U.S.): Linux That's Small
Oct 14, 2024

penguinist: Encryption, Trust, and the Hidden Dangers of Vendor-Controlled Data
Aug 27, 2024

Scott Ruecker (San Diego, U.S.): My Linux Mint Tribute
Aug 23, 2024

Scott Ruecker (San Diego, U.S.): How I Turned My Chromebook Into A "Mintbook"
Jul 08, 2024

Scott Ruecker (San Diego, U.S.): Adventures With My New Chromebook
Jun 10, 2024

Scott Ruecker: My Linux Laptop
May 08, 2022

Scott Ruecker: Laptop Dual Boot Project: Part 2
Nov 30, 2021

Scott Ruecker: Laptop Dual Boot Project
Nov 30, 2020

Scott Ruecker: Lenovo Laptop Love..Not!
Nov 01, 2019

James Dixon: Attempting to install Linux on a new laptop, a follow-up
Sep 21, 2019


View all

  Search Features

Search LXer Features:

[ Copyright © LXer | All times are recorded in Central Daylight Time (CDT) ]

[ Contact Us | Privacy Policy | Terms of Service | About us | rss | Mobile ]

Login