Linux System Administration 74
Bob Uhl writes "I've just finished reading a review copy of O'Reilly's latest GNU/Linux title, Linux
System Administration. It's a handy introduction for the beginner
GNU/Linux sysadmin, and a useful addition to an experienced sysadmin's
bookshelf. The book is essentially a survey of various Linux system-administration
tasks: installing Debian; setting up LAMP; configuring a load-balancing,
high-availability environment; working with virtualization. None of the
chapters are in-depth examinations of their subjects; rather, they're
enough to get you started and familiar with the concepts involved, and
headed in the right direction." Read below for the rest of Bob's review.
Linux System Administration | |
author | Tom Adelstein & Bill Lubanovic |
pages | 279 |
publisher | O'Reilly |
rating | 3 out of 4 stars |
reviewer | Bob Uhl |
ISBN | 0-596-00952-6 |
summary | Good survey of various Linux software and technologies |
I like this approach, as it increases the likelihood that any particular admin will be able to use the material presented. I've been working with Apache for almost a decade now, but I've not done any virtualization; some other fellow may have played with Linux for supercomputing, but never done any web serving with it; we both can use the chapters which cover subjects new to us.
I really like some of the choices the authors made. A lot of GNU/Linux 'administration' books focus on GUI tools — I've seen some which don't even bother addressing the command line! I've long said that if one isn't intimately familiar with the shell — if one cannot get one's job done with it — then one isn't really a sysadmin. Linux System Administration approaches nearly everything from the CLI, right from the get-go.
The authors also deserve praise for showing, early on, how to replace Sendmail with Postfix. In 2007, there's very, very little reason to use Sendmail: unless you know why you need it, you almost certainly don't. Postfix is more stable and far more secure.
Another nice thing is how many alternatives are showcased: Xen & VMware; Debian, Fedora & Xandros; CIFS/SMB & NFS; shell, Perl, PHP & Python and so forth. One really great advantage of Unix in general and GNU/Linux in particular is choice — it's good to see a reference work which implicitly acknowledges that.
The authors are also pretty good about calling out common pitfalls — several got me, once upon a time. It'd have been nice to have had a book like this when I was cutting my teeth...
Lastly, I liked that the authors & their editor weren't afraid to refer readers to books from other publishers, in addition to O'Reilly's (uniformly excellent) offerings. Not all publishers would be so forthright; O'Reilly merits recognition for their openness.
The book's not quite perfect, though. I wish that PostgreSQL had at least been mentioned as a more powerful, more stable (and often faster in practice) alternative to MySQL, and one doesn't actually need to register a domain in order to set up static IP addressing. Still, these are pretty minor quibbles.
I'd say that the ideal audience for this book is a small-to-medium business admin who'd like to start using Linux, or who already is but doesn't really feel confident yet. It covers enough categories that at least a few are likely to be relevant. Even an experienced admin will probably find some useful stuff in here.
You can purchase Linux System Administration from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Pitfalls.... (Score:4, Insightful)
I bet you never forgot the problem again. That's the thing, by researching these problems, you come across similar problems and pitfalls and you learn more looking it up.
The second thing is, many times, these pitfalls disappear after a release or so, so having them documented in a book that's updated after several releases can be a waste. On the other hand, when you have a boss/customer breathing down your neck, learning be damned, you got to get this sucker up and running!
Re: (Score:2)
Then again, you might fall into the trap of having to administer an older version of a system where the flaw is still extant. Never hurts to have that knowledge at your fingertips (I personally have been keeping O'Reilly in business for the past few years) and I think that even if a pitfall gets programmed out, there may be resonances of it in the current release or perhaps in a different distro altogether.
sendmail vs postfix (Score:3, Insightful)
Excuse me? Based on what? I would have been able to accept the argument that "postfix is easier to configure than sendmail", but questioning the security of sendmail is complete bullshit. In the last 10 years sendmail has had how many critical security flaws?
Re: (Score:2, Insightful)
Re: (Score:1)
Re: (Score:1, Interesting)
The tally of security flaws is a lousy metric. First you have to question severity and ease of exploit. Then you have to debate whether finding more flaws means more vigilant and effective bug fixing and therefore raises the bar to exploit the application (my inclination) or it means the program is less secure because it had less
Re: (Score:1)
Re: (Score:3, Funny)
Re: (Score:2)
Re: (Score:2)
So google was right! It is unreliable!
But wait... if google is unreliable... how can it... hmm...
I wonder what the Gödel number for "Google is unreliable" is?
Re:sendmail vs postfix (Score:5, Interesting)
The variety of responsibility is different within any organization, from 10 employees to 10,000, there is a huge variability of skillsets required. Do you think a small home business grossing $10,000 monthly can afford to hire an admin who would take at least half of that? Like it or not, open source software is a huge boon to small businesses and we should strive to empower them with easy to use software, not bash them for not hiring better administrators.
Re: (Score:2)
The same can be said about qmail
Re: (Score:2, Insightful)
Re: (Score:1)
The same can be said about qmail
Except in the case of qmail its more like:
'inability to apply the appropriate third party patches in the right order and failing to regression-test them against one another'.
Qmail by default, as DJB intended it, is terribly, terribly wrong...
Re: (Score:2)
Please actually give evidence or links to real legitimate arguments instead of posting flame bait.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
To have a functional mail server in todays environment (as opposed to the 1980's) you need to apply multiple third-party patches to it. These patches are not regression-tested against one another so you can't rely on them.
Operating system distributors cannot ship properly patched and tested qmail packages because that would violate the licensing terms.
Oh and Dans policy on email, as app
Re: (Score:2)
If you think I spend more than an hour a year administering qmail, you'd be wrong. Once configured, it just works. That's what I like about it. Enjoy Exim though.
Re: (Score:2)
I can set up Sendmail properly and securely. I've done so before, and I could again, if I wanted to burden myself with such a monumental task. By comparison, Postfix can be set up properly and securely more quickly, and with less pain.
Given the dilution of system administration jobs, in large part due to businesses wanting to pay admins less, there will be a lot of people in such jobs that fall into the "gap" between "cannot configure sendmail properly and securely" and "can configure postfix properly an
Re: (Score:2, Interesting)
Agreed but it goes beyond that. An admin who never bothered to learn sendmail configuration isn't lesser than one who has. The quality of an admin isn't defined by the skills he can list on his resume but by his ability to choose his tools wisely and to abandon tools (and the investment spent learning
Re: (Score:2)
Re:sendmail vs postfix (Score:4, Informative)
http://www.securityfocus.com/bid/8641 [securityfocus.com]
http://www.securityfocus.com/bid/8649 [securityfocus.com]
http://www.securityfocus.com/bid/6991 [securityfocus.com]
http://www.securityfocus.com/bid/6548 [securityfocus.com]
etc...
I couldn't find any "critical security flaws" for postfix. I did, however, find this: http://cr.yp.to/maildisasters/postfix.html [cr.yp.to]
Re: (Score:3, Informative)
I did a quick search on the site. Sendmail has 69 listed, while Postfix has 10. I'm not saying the book is right, I'm just saying how they made the argument.
Re: (Score:2)
http://lwn.net/Articles/176596/ [lwn.net]
Re: (Score:2)
Re: (Score:2)
Without questions and the number of reported flaws is a useless metric for a number of reasons. You are right sendmail and postfix can be equally secure and/or insecure depending upon configuration. That said security in otherwise secure programs is inversely proportional to configuration complexity. Both programs have a learning curve but the configuration of sendmail is far more complex than that of Postfix (even for a knowledgeable
Re: (Score:2)
Postfix, OTOH, was designed to reduce
What about monitoring ? (Score:3, Interesting)
Is it that monitoring is viewed as something unnecessary or is monitoring something that is just starting to take off ?
Re: (Score:2, Insightful)
Re: (Score:1, Informative)
Re: (Score:1)
HA/Clustering (Score:5, Interesting)
I would still like to see more about LDAP, authentication and authorization, single sign-on, etc. Ususally O'Reilley practices become the de facto best practices, and after a few years in a quasi-management role, I am learning the difference between implementation and implementation based upon industry standards. The latter can be an ass-saver.
Re: (Score:1)
I've scoured the web for a GOOD reference for this and have been disappointed (however I haven't looked lately). If anyone know of a particularly good site for this please let us all know. Oh, and please realize that LDAP [openldap.org] isn't really the problem. The problem is trying to archive "single sign-on" with LDAP.
Re: (Score:1)
Re: (Score:1)
What are the reasons for Sendmail? (Score:4, Insightful)
I don't know why I would need it, so I probably don't, but it would be interesting to know.
Re: (Score:3, Insightful)
Re:What are the reasons for Sendmail? (Score:5, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I don't think it's just that. I think of the old unix admins have the ability to readily grasp and learn the new stuff. I suspect it has more to do with job security. It goes like this, if sendmail isn't in place you sell it by explaining that it is tried, true , and stable unlike these flaky new systems and maybe you claim no
Re: (Score:2)
Re: (Score:2)
I also haven't seen much in postfix with regards to using
Re: (Score:2)
Mail configuration it are hard (Score:2, Funny)
I remember when I set up my first LAMP stack. I thought I was the shit. I had my own fucking webserver, for fuck's sake! Who could possibly fuck with me now? I installed mediawiki and phpbb, and I was root and admin, and all was good.
Lately I have been playing with mail servers, and it is a whole different ball game. Imagine a series of croquet rings dotted around a field. Now imagine standing at the side of that field and sliding a rope across the grass, threading it perfectly through each ring, without m
Re: (Score:3, Funny)
Re:linux is unmanageable (Score:5, Funny)
Even worse, your server never have downtime...at least human babies take nap here and there.
I can see the Microsoft tow picture ad now, top picture harried sysadmin with the linux box, screen showing * WORK * WORK * WORK * in ugly green pixelated courier on black. In the next picture, the same (now) MS based admin is leaning back on his chair with a big smile with his feet propped up, on the screen - white on pretty blue - is "Server down, please reboot" in nice friendly Arial TTF letters.
And the quote, "Even sysadmins deserve a break from sever management, Microsoft will give it you."
Re: (Score:1)
Re: (Score:2)
I also have to deal with AIX now too.
If you can't get your head around minor differences in linux distributions, then you shouldn't be a sysadmin. Besides, the changes between windows nt 3.x, 4.x, 2000 and vista are much bigger than the changes that
SysAdmins (Score:1, Redundant)
Linux Administration Handbook (Score:5, Interesting)
This is a book that I've used for years and years (since before it forked into a Linux book and a Unix book) teaching Linux system administration classes, and I never found its match. Strongly recommended for novices and masters alike.
Re: (Score:2)