Slashdot Log In
A Practical Guide to Ubuntu Linux
Posted by
samzenpus
on Wed Apr 02, 2008 02:43 PM
from the read-all-about-it dept.
from the read-all-about-it dept.
r3lody writes "Finding a single book that encompasses what you want to learn can be difficult. Most cover a few portions of a subject in depth and skim over (or omit) others. Other books will cover each topic at about the same level: high enough to give an impression of what can be done, but not with enough depth to do it without a lot of effort. In A Practical Guide to Ubuntu Linux, Mark G. Sobell has created a single volume that gives the reader enough information to effectively install, configure and run workstations and servers using Ubuntu Linux. He has come the closest I have seen to containing all of the necessary information without being too shallow. Granted, to include everything you would want to know about Ubuntu Linux would take several books of this size, but this particular one provides most users the best bang for the buck. A DVD with the Gutsy Gibbon release of Ubuntu in a directly bootable form is included with the book." Read below for the rest of Ray's review.
With over two decades of experience related to Unix and Linux, Mark G. Sobell has authored almost two dozen books on the subject. I had previously read and reviewed his book A Practical Guide to Red Hat Linux: Fedora Core and Red Hat Enterprise Linux (Second Edition) and found it the highest quality book I had yet read on Linux. This, his latest book, bears many similarities to the other text, including its high quality. The overall structure is like that of a textbook, providing a summary and exercises at the end of each chapter, as well as copious cross-references.
A Practical Guide to Ubuntu Linux is broken up into five parts containing 27 chapters in all. After providing the now obligatory history of Linux and the GPL, Part I uses two chapters to provide an overview of, and step-by-step instructions for, installing Linux. The overview provides information about the process including how to try Linux with the Live DVD supplied, planning your hard disk layout, acquiring a newer version of Ubuntu, and the install process in general. The step-by-step chapter goes into great detail on each step of the process, using both the graphical and textual installation paths. It also throws in additional detail on how to configure the X server.
Now that you have Linux in a runnable form, Part II provides higher-level information that shows newer Linux users what they can do. Four chapters serve to introduce basic Linux to the user. Topics include how to update, install and remove program packages, how to use the command line (and some basic utilities such as cat, ls, more, less, etc.), how the filesystem is laid out, shell concepts such as pipes and job control, and where to find additional documentation.
Part III uses another four chapters to dive deeper into the Bourne Again Shell (BASH), the GUIs, and networking. First the X Window System is described, followed by the GNOME and KDE desktops. BASH is covered in two separate chapters, inexplicably separated by the chapter on networking. The first BASH chapter provides the reader with information on startup files, command history, redirection, etc. The other BASH chapter goes into depth regarding programming BASH scripts. The intervening networking chapter provides a basic understanding of network protocols and some utilities such as ping, traceroute, host and dig.
Up to this point, Mark has been showing the user how to use Ubuntu Linux with little modification. Starting with Part IV, he describes how to perform the more common configuration tasks. Using seven chapters and over 200 pages, Part IV provides a great deal of detail regarding system administration. Starting with some core concepts (running as root, sudo, startup scripts, wrappers, recovery mode, etc.), Mark then leads the reader into the nooks and crannies of the filesystem. The following chapter shows how to add and remove applications using apt, aptitude, dpkg, wget and BitTorrent. Printing using CUPS is given its own chapter next, as is the (at least to me) daunting task of rebuilding the system kernel. The last two chapters in Part IV cover the miscellaneous administration tasks of adding, changing, and deleting users and groups, backing up and restoring files, managing the various logs, and setting up your network connections (both wired and wireless).
The final section, Part V, uses nine chapters to go into depth on set up various servers and use their clients. OpenSSH, FTP, exim4 (for mail), NIS, NFS, Samba, DNS/BIND, the firewall (firestarter and iptables), and finally Apache. Each of the chapters provides Jumpstart sections to help you install and configure each server quickly, and enough detail to handle the more common configuration changes.
There are five appendices covering regular expressions, where to get help, general security considerations, the Free Software Definition, and a bullet list of major items added to the 2.4 kernel to form the 2.6 kernel. These are followed by a fairly comprehensive glossary and index.
Overall, A Practical Guide to Ubuntu Linux by Mark G. Sobell provides all of the information a beginner to intermediate user of Linux would need to be productive. The inclusion of the Live DVD of the Gutsy Gibbon release of Ubuntu makes it easy for the user to test-drive Linux without affecting his installed OS. I have no doubts that you will consider this book money well spent.
You can purchase A Practical Guide to Ubuntu Linux from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
A Practical Guide to Ubuntu Linux is broken up into five parts containing 27 chapters in all. After providing the now obligatory history of Linux and the GPL, Part I uses two chapters to provide an overview of, and step-by-step instructions for, installing Linux. The overview provides information about the process including how to try Linux with the Live DVD supplied, planning your hard disk layout, acquiring a newer version of Ubuntu, and the install process in general. The step-by-step chapter goes into great detail on each step of the process, using both the graphical and textual installation paths. It also throws in additional detail on how to configure the X server.
Now that you have Linux in a runnable form, Part II provides higher-level information that shows newer Linux users what they can do. Four chapters serve to introduce basic Linux to the user. Topics include how to update, install and remove program packages, how to use the command line (and some basic utilities such as cat, ls, more, less, etc.), how the filesystem is laid out, shell concepts such as pipes and job control, and where to find additional documentation.
Part III uses another four chapters to dive deeper into the Bourne Again Shell (BASH), the GUIs, and networking. First the X Window System is described, followed by the GNOME and KDE desktops. BASH is covered in two separate chapters, inexplicably separated by the chapter on networking. The first BASH chapter provides the reader with information on startup files, command history, redirection, etc. The other BASH chapter goes into depth regarding programming BASH scripts. The intervening networking chapter provides a basic understanding of network protocols and some utilities such as ping, traceroute, host and dig.
Up to this point, Mark has been showing the user how to use Ubuntu Linux with little modification. Starting with Part IV, he describes how to perform the more common configuration tasks. Using seven chapters and over 200 pages, Part IV provides a great deal of detail regarding system administration. Starting with some core concepts (running as root, sudo, startup scripts, wrappers, recovery mode, etc.), Mark then leads the reader into the nooks and crannies of the filesystem. The following chapter shows how to add and remove applications using apt, aptitude, dpkg, wget and BitTorrent. Printing using CUPS is given its own chapter next, as is the (at least to me) daunting task of rebuilding the system kernel. The last two chapters in Part IV cover the miscellaneous administration tasks of adding, changing, and deleting users and groups, backing up and restoring files, managing the various logs, and setting up your network connections (both wired and wireless).
The final section, Part V, uses nine chapters to go into depth on set up various servers and use their clients. OpenSSH, FTP, exim4 (for mail), NIS, NFS, Samba, DNS/BIND, the firewall (firestarter and iptables), and finally Apache. Each of the chapters provides Jumpstart sections to help you install and configure each server quickly, and enough detail to handle the more common configuration changes.
There are five appendices covering regular expressions, where to get help, general security considerations, the Free Software Definition, and a bullet list of major items added to the 2.4 kernel to form the 2.6 kernel. These are followed by a fairly comprehensive glossary and index.
Overall, A Practical Guide to Ubuntu Linux by Mark G. Sobell provides all of the information a beginner to intermediate user of Linux would need to be productive. The inclusion of the Live DVD of the Gutsy Gibbon release of Ubuntu makes it easy for the user to test-drive Linux without affecting his installed OS. I have no doubts that you will consider this book money well spent.
You can purchase A Practical Guide to Ubuntu Linux from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Related Stories
[+]
A Practical Guide to Ubuntu Linux 2nd ed. 85 comments
stoolpigeon writes "One thing I love about Linux is the rapid development and frequent updates that allow me to run the latest versions of all my favorite software packages. My favorite distributions make it simple to always have the latest and greatest. In fact, the distros themselves roll out new versions regularly, and I am always excited to see what new packages and features will be included. For book publishers this must be a little less exciting. Anything tied to a specific product that is under active development is going to quickly be behind the times. Mark Sobell's A Practical Guide to Ubuntu Linux managed to avoid the worst of this by providing a lot of information that is useful for any Linux user running any distro. But still things move forward and almost exactly a year later we have A Practical Guide to Ubuntu Linux 2nd ed. I was very pleased with the first edition and I think they've managed to really improve what was already a solid resource." Read below for the rest of JR's review.
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Don't underestimate the value of a plain unix book (Score:5, Informative)
Generally, if you are new to unix in general, you should get a good unix reference. I'd suggest Unix Power Tools by O'Reilly.
If you are an experienced unix user, and want to learn the specifics of Ubuntu linux, then this book seems very useful. It has both the gory details of the inner workings, and a guide to some of the application candy you may install for home use.
Re:Don't underestimate the value of a plain unix b (Score:3, Funny)
I wonder if they give their writers a Practical Guide To Writing Practical Guides
Re: (Score:3, Funny)
Re: (Score:2)
Okay, I lied. I snarfed it using Limewire (which I got using Kazaa).
Shell coverage in the Sobell book (Score:2, Insightful)
Re: (Score:2)
In any case, I love how permanent this stuff is. It's not quite a general UNIX book, but I still find myself turning to my decade-old horsey book [google.com] from time to time.
Re:Don't underestimate the value of a plain unix b (Score:2)
Ubuntu (Score:4, Interesting)
The only problem I now have is with dual monitor support. It seems like a hodge-podge of ideas, nowhere very clearly defined. I don't know if I need Xinemara, TwinView, or both? I've tried countless combinations of "vsync to blank" (3 different locations), setting the vertical refresh rate (3 different values depending on where I look), none of which are 60 hz. There are many lockups while trying to change these settings through the nvidia driver settings.
I realize none of this is Ubuntu's fault, per se. Still, my multiple monitors works flawlessly in Windows without any fuss. It just seems obvious what to do there for me.
So while there have been great strides, I am excited to see the continual improvement in areas like these.
I did keep Ubuntu on the laptop and plan on using it, just with only one monitor for now.
Re: (Score:3, Insightful)
Re: (Score:2)
Re: (Score:3, Interesting)
I know it's not the fault of Linux developers that Adobe hasn't ported it's apps and that Microsoft has a closed A
Re: (Score:2)
And yes we do have a purpose and that is making readable easy to navigate web sites something hard core coding skills does not guarantee.
Re:Ubuntu (Score:4, Informative)
http://ubuntuforums.org/forumdisplay.php?f=132 [ubuntuforums.org]
Parent
Re: (Score:2)
Re: (Score:2)
Definitely, though, if you have any problems then http://www.nvnews.net/vbulletin/forumdisplay.php?f=14&order=desc [nvnews.net] is the place to ask.
Re: (Score:2)
Re: (Score:2)
Why Gutsy? (Score:4, Insightful)
Re: (Score:2)
And this is why Linux and dead trees seldom mix.
Re: (Score:3, Informative)
From http://www.amazon.com/Practical-Guide-Ubuntu-Linux-R/dp/013236039X [amazon.com] considering that Ubuntu 7.10 hasn't been out until October of 2007 and when this was published in December it was only out for 2-3 months, that's still 3 months till Hardy stable comes out. This is just a late review of it.
Re: (Score:2)
Think of it economically:
Window of profitability of book on normal release: 18 months
Window of profitability of book on LTS release: at least 3 years
Considering the time and expense involved in writing and publishing a book, it makes far more sense to make the "profitability window" as large as possible rather than trying to get the product on the shelves as soon as you can.
Oddly enough, this info is hard to find (Score:5, Insightful)
I installed Ubuntu for my daughter, and it worked well. Then I tried to figure out how to install a wireless driver. I gave up and bought a different wireless card that was supported out of the box - it was far easier and cheaper than the hours spent on line. Then I tried to install an application. I was stuck. You either had GUI howtos or you were into forums with power users.
Of course I had to bail on the install - a program I got from school (which she really likes) is windows only. There's no way I'm going to fight with wine on a full-screen DX app that barely plays nice on native software.
If this book really does tell me where everything is stored, and how it runs, and can take me from newbie (old-school CLI apple/ibm/ms) linux to power user that can troubleshoot the OS, I'm in.
Re:Oddly enough, this info is hard to find (Score:4, Insightful)
Mod parent up.
Linux/open source has come a long way from when I first started playing around with it in the '90s. Back then most of the help you ran across was of the "read the source, n00b" variety. "User friendly" distros like Mandrake (back in the day) or Ubuntu did a lot of good extending Linux to the non-elite user.
However, what I see these days is a too-narrow concentration on the novice-friendly line. As soon as you stray from "Aunt Tillie mode", you're dumped into power-user central, with arcane syntax options and a maze of twisty forum posts, all alike.
I think the next frontier in Linux/user interaction is to address this intermediate level chasm. Linux apprentices eventually become Linux journeymen, and it would be nice to have a way to seamlessly transition along the learning curve. The middle-grounders do have some resources currently, but support is threadbare compared to the "utterly clueless" and "master hacker" extremes.
Parent
Don't you see why cmd line is hard for a newbie? (Score:4, Insightful)
A few years ago, I would have found your statement hard to believe; I would have labeled you as some sort of troll, deliberately provoking a response. More recently, I have come to learn that some people, like you, have a great deal of difficulty seeing things from the newbie point of view. This is not meant to be disrespectful, but at the same time I'm going to use you as an example to point out a flaw in many geeks, of which they are themselves unaware.
The problem with using the command line is NOT fear of the text-based interface.
Imagine for a moment that you have just been seated at a restaurant serving ethnic food that is new to you --say, for example, that your new girlfriend (who's dying to learn Linux from you) wants to try out that new Thai restaurant with you (replace "Thai" with any type of cuisine with which you are not familiar).
The waiter comes up to you and, instead of handing you a menu, says, "So, what do you want?"
"Well, what do you have?" you ask.
He shrugs. "Anything," he says.
"What do you mean, 'anything'?"
"It means exactly what I said," he answers. "You can order anything you want. We cook hundreds of different dishes, any way you like."
"Okay, I'll have a steak."
"That's not a Thai dish."
"But you said *anything*."
"But this is a Thai restaurant. When I said 'anything', I meant anything *Thai*, of course."
"Okay, I'll have a typical Thai entree dish."
"No such thing as 'Thai entree dish'. You have to tell me which Thai entree dish."
"Well I have no idea."
"Well, order anything. Anything *Thai*," he adds pointedly.
"Such as?"
The waiter becomes exasperated. "Well, you can have Pad See Ew, or Tom Yum Gong, or--"
At this point, your girlfriend wisely cuts in and says, "Could we have a menu?"
The waiter rolls his eyes. "All these newbies wanting to order from a menu! I honestly don't see how 'Tom Kha Khai' is master chef like or complex in any way. Our clients who consider 'Tom' confusing are the ones that will blank-face any illustrated menu for any type of food. For these people, we have the choice of two preset menus."
The point, I'm sure you'll have seen, is that when the command line asks the newbie, "Okay, what do you want to do now?" the newbie has absolutely no idea. There are too many possibilities. Sometimes the newbie will gamely try a command like "check my email" or "email", but the stony response of "bash: email: command not found" quickly puts him in his place. Hell, even *I* forget the ins and outs of some commands with their options (is it "find [directory] [target]" or "find [target] [directory]"?).
A common mistake, of which I will make yours an example (but you're certainly not alone in this), is that you think the newbie fears text mode. Now you see the difference? With apt-get, you could type any sequence of characters for a package name and there would be nothing to stop you except some cryptic message, "No such package as 'Thai entree dish'." The GUI, or text-based menu, limits your options so that it guides you to what you want. You can select packages. It doesn't matter whether the interface is graphical, ncurses, or just "Press 1, 2 or 3". Of course, newbies are more likely to warm up to the GUI, but that's secondary.
Now, I realize that you did say Synaptic would fill the void, but that doesn't necessarily help guide the newbie onto the command line.
I would love to have a tool that showed a menu of choices, either in a GUI or a ncurses text interface, that let me choose common commands, like that confusing "find" command I mentioned earlier. On the "find" window would be a form with a space to fill in "Enter directories to search" and "What filename are you looking for?" with perhaps some radio buttons or checkboxes for various command-line parameters. When you click OK, not only does it execute the command, it also tell
Parent
Got the book (Score:2, Informative)
Great idea (Score:2)
After my initial problems with ubuntu (mostly having to do with a buggy BIOS and figuring out I needed to use the "noapic nolapic" commands - now fixed after reflashing my BIOS to a newer version), I have had no complaints. My
Obsolete in a year? (Score:2, Insightful)
Forums, despite their low signal:noise, don't have this problem.
My recommendation would be to buy a good shell scripting book and read a few online tutorials on configuring whatever distro you have.
I'm oddly sort of tempted by this. (Score:2)
(Background; I was involved with the Practical Guide for OS X 10.4.)
My practical guide to any linux distro... (Score:3, Insightful)
Re: (Score:3, Funny)
The next three are defending their choice.
Installation comes in at chapter 18.
The rest of the chapters are self fellating, or taking potshots at Gentoo.
Re: (Score:3, Informative)
2. Clean drool from keyboard
3. Post on Ubuntu forums
Re:A book? (Score:5, Insightful)
Please understand that there are some of us that don't get too exercised over running proprietary video drivers. Maybe that makes us traitors to the "cause" but we just want to get our work done.
Parent
Re:A book? (Score:4, Interesting)
The forum response was, "lol get a better video card". I'm done with buying video cards. That's the extent of the support I got. On
I installed the proprietary drivers, the auto-loading GPL equivalent, etc. Nobody wanted to help or explain. I gave up.
The best part was how when you tested the settings, it would display as "fine" then when you'd apply the new settings, you would get a blank screen and you'd have to reboot.
Other than that, I liked Ubuntu. It detected a lot more than Win2k did, and the setup was really easy. Having said that, I'm done. Linux fails me every time I try it. (Just for the record, I've successfully set up servers using Linux before, and those have worked. I can use a command line just fine, thank you.)
Parent
Re:A book? (Score:5, Informative)
Parent
Re: (Score:3, Interesting)
I have a Radeon 9200 and I get 3D acceleration with the reverse engineered drivers that are in X out of the box. Compiz ran fine. It even plays the proprietary games that I bought before I dumped Windows ( Warcraft III under wine, Neverwinter Nights with the native client, etc... ). I never got ATI's binary driver to work however...
On my Laptop the Intel card works just fine except for using dual screens with different aspect ratio. I'm not sure if this is a limitation of the card, driv
Re: (Score:2)
next to me is running an ATI Video card. This machine has been running
some version of Ubuntu since it was originally built.
Please try again.
Re: (Score:2)
however, to USE it, anything with a depth greater than that of a parking lot puddle needs a manual.
ubuntu is nice in the fact that you can largely start by dipping your toes in the shallow end and move out from there (or not) as one wishes. while at a point one may want to move to a "deeper" distro, you've gained the experience and general know-how needed to comf
Re: (Score:2, Interesting)
Fight ./configure && make && make (Score:5, Insightful)
Now,
Parent
Re: (Score:2)
Just run a non-gstreamer movie player.
The only reason I even know about this problem is the fact that you
are whining about it on Slashdot and I have been running Ubuntu
since 6.06.
This isn't Windows where if the "one true app" has a problem
you're screwed.
Try a solution that's not unecessarily complicated.
Re: (Score:2)
It's a little-known fact that the earliest versions of Unix actually included an incredibly intuitive interface that actually made it possible for 90 year old grandmothers to go from novice to kernel
Re: (Score:2)
My *mom* is using Ubuntu, and doing pretty well at it, thanks for your concern.
On the other hand, to be able to use it to it's full potential - that's different - a good guide gives you answers to questions you didn't think to ask. My mom in perfectly capable of doing lots of things, once she has a concept that, well, oh . . . you can *do* that. Doesn't mean she'll think to ask me that, or remember to ask me that next time she see's me.
For that - yeah, I'm looking for a good book.
Pug
Re: (Score:2)
Of course, this book should be available as a PDF for free.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Tell you what, go to Amazon or Google Books and search for "OS X". There are thousands of books about an operating system that is universally hailed for its user-friendliness.
Hatta, I'm sure you're a nice guy and all, but you gotta think these things through before you blurt them out.
Re:A book? (Score:5, Funny)
I just got a new hobby.
Lateral Consonant: [wikipedia.org] Check [amazon.com]
1672 Gezelle: [wikipedia.org] Check [amazon.com]
Palala River: [wikipedia.org] Check [amazon.com]
Parent
Re: (Score:2)
Re: (Score:2)
However, sometimes it is nice to have a reference manual on your bookshelf. When I first installed Linux, I used the "Slackware Linux Essentials" book to help with the install, then pored over another book (I forget the title now) that gave an overview of various services common to Linux distros (Apache, Sendmail, Bind, Samba, etc.) to start my education. *THEN* I started hanging out on forums t
Re:gnath (Score:4, Funny)
Parent