Before reading further... Are you looking for great Linux hosting from a company that cares about GNU/Linux? Pick Dreamhost hosting, get a 10% bonus to the disk space (and support Free Software Magazine in the meantime!)
Book Review: Building a Server with FreeBSD 7 by Bryan J. Hong
A modular approach indeed.
Download the whole article as PDF
- 2008-07-07
- Published on web | Easy
-
Write a full post in response to this!
My first exposure to Unix was ULTRIX from the Digital Equipment Corporation, a former employer. ULTRIX was Digital’s version of the Berkeley Software Distribution (BSD, Unix) that ran on VAX computers. FreeBSD, also descended from BSD, is a robust operating system for x86 and other architectures. What Bryan J. Hong attempts to do in Building a Server with FreeBSD 7 is to create a guide to installing FreeBSD, its applications and services—in short order and without fuss. Hong does this successfully and in great detail.
The sub-title of the book, A Modular Approach, is an apt description of the layout of the book. Hong has documented everything from the first boot of the FreeBSD CDROM to the final configuration of additional software. It is an ideal guide in getting a FreeBSD-based server up and running without having to research installation, package managers or dependencies issues. My approach to testing the contents was to download the latest image of FreeBSD 7 and dive in. Starting with the first section I performed an install of the base operating system. Each well-documented step created a bootable base system ready for customization.
The first step was to use FreeBSD’s ports collection to install the software in a simple-to-manage way. The next step was to install the MediaWiki server, an open-source wiki implementation, using (again) the ports collection. After a short introduction to MediaWiki, the pre-requisites (Apache, MySQL and PHP) were shown. After going through each pre-requisite, installation and configuration, a working MediaWiki server was up and running. As an additional test, I decided to install the Drupal content management system alongside the wiki server. Using the same approach, and with no conflicts, Drupal was up and running in parallel.
The sub-title of the book, A Modular Approach, aptly describes the layout
The contents
Weighing in at 288 pages, Building a Server with FreeBSD 7 is broken down into two sections. The minimalist Part One, “The Base System”, describes the steps in getting the FreeBSD base operating system installed and configured. The base system includes networking and Secure Shell (SSH) configuration. The ports collection configuration is also covered in this section.
Part Two, “Third-Party Applications”, makes up the bulk of the book. Each chapter details the installation and configuration of server applications and their dependencies. The structure of the chapters is unique. Each chapter begins with a short summary of the application followed by URL references for more information and the applications’ dependencies. Depending on the application, the chapter continues with preparation, installation and configuration, amongst other sections. References to application-specific files (log and configuration), and any additional notes needed for the application are included.
The preface of the book details all of the sections chapters contain, along with an excellent diagram on setting up a web and mail servers. The appendices detail, for those unfamiliar with Unix-like systems, the basics of commands, system backup, user management and protocols used by FreeBSD.
It’s difficult to find fault with Building a Server with FreeBSD 7, though there are downsides. Other operating-system books are also version specific. With this book, being very specific and detailed, one slight change in FreeBSD 7, while not making the book unusable, will outdate it sooner than others. In the same vein, if a referenced link is changed, the readers will need to search for an alternative resource. Some of the referenced application links are version specific and several subdirectories are deep, leading them to become outdated sooner. A lot of the “how” is covered but sometimes not enough of the “why”. For those unfamiliar with FreeBSD or GNU/Linux configurations, it is easy to get lost or miss important details on security and updates and these are only lightly touched on.
In spite of the criticisms, this will turn out to be a well-thumbed reference work for anyone deploying FreeBSD servers. Admittedly, in the past, I’ve attempted to install FreeBSD with limited success, but this book made the steps in configuring a running system clear and concise. Other cookbook-type books for GNU/Linux exist, but none are as detailed and well laid out as this one.
Who’s this book for?
This book is for system administrators familiar with Unix or GNU/Linux in general, but not with FreeBSD in particular. I would not recommend this book for someone with little or no system administration experience. It is a fine reference work for the system administrator that wants to get a FreeBSD server up and running without having to search through other books or the internet for help. It is a dedicated one-stop reference for installing FreeBSD servers -but not for maintaining them.
Relevance to free software
GNU/Linux isn’t the only free and open operating system. While it is maybe not as visible as GNU/Linux, FreeBSD is nevertheless a mature, stable, well supported and well documented operating system. FreeBSD and its BSD cousins are suitable, and often, superior alternatives to many GNU/Linux distributions.
GNU/Linux isn’t the only free and open operating system available
Pros
- Excellent self-contained reference work
- Well laid out chapters
- Pointers to additional on-line resources
- Detailed howtos
Cons
- Very version specific
- Big on “how”, small on “why”
- Not for inexperienced system administrators
- Short on security and updates
| Book | |
|---|---|
| Title | Building a Server with FreeBSD 7 |
| Author | Bryan J. Hong |
| Publisher | No Starch Press |
| ISBN | 9781593271459 |
| Year | 2008 |
| Pages | 288 |
| CD included | No |
| FS Oriented | 10 |
| Overall score | 10 |
In short
Write a full post in response to this!
Similar articles
Do you like this post?
Vote for it!
Copyright information
This article is made available under the "Attribution-NoDerivs" Creative Commons License 3.0 available from http://creativecommons.org/licenses/by-nd/3.0/.
Biography
Ken Leyba: Ken has been working in the IT field since the early 80's, first as a hardware tech whose oscilloscope was always by his side, and currently as a system administrator. Supporting both Windows and Linux, Windows keeps him consistently busy while Linux keeps his job fun.
- Login or register to post comments
- 11767 reads
- Printer friendly version (unavailable!)




Looking for Linux hosting, reviews, coupons, etc.? See out user-voted list
Best voted contents
-
The Large Hadron Collider switches on. If it's the end of the world, it will be powered by GNU/Linux
Gary Richmond, 2008-09-13 -
Ten easy ways to attract women to your free software project
Terry Hancock, 2008-09-22 -
A brief history of computers and free software: where is the money?
Tony Mobily, 2008-09-25 -
Spam prevention with Exim and greylistd - Part 1
Ryan Cartwright, 2008-09-15
Similar entries
Buzz authors
All news
Other sites
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). All about free software -- free as in freedom!
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
Linux: has the horse bolted?
Laurie Langham, 2008-09-10 -
Copyleft has no impact on project activity?!
Terry Hancock, 2008-09-10 -
How do Drigg and Pligg compare?
Tony Mobily, 2008-08-17 -
Ten easy ways to attract women to your free software project
Terry Hancock, 2008-09-22 -
What if copyright didn't apply to binary executables?
Terry Hancock, 2008-08-29
Hot topics - last 21 days
-
Ten easy ways to attract women to your free software project
Terry Hancock, 2008-09-22 -
Becoming a free software developer, part V: When and where did you learn?
Rosalyn Hunter, 2008-09-24 -
Why I choose copyleft for my projects
Ryan Cartwright, 2008-09-23 -
On-line applications "just work"; why worry about the freedom of the licence?
Ryan Cartwright, 2008-09-25

Dedicated server
Why FreeBSD For Servers Cannot Be Beat...
Submitted by roy2098 on Tue, 2008-07-15 02:38.
Vote!Many thanks for the book, and the review ... while not wanted to start the old Linux vs whatever flame wars, I do have to say that FreeBSD (I'm not all that acquainted with NetBSD or OpenBSD) has become a very good friend after several dozens of servers and five years of fairly intensive use. Linux refers to a kernel, and everything around it can be quite chaotic with hundreds of distinct distributions based on that kernel. Not so with BSD ... a dedicated group of maintainers/committers ensures that FreeBSD releases (with the exception of some glitches around FBSD 5.X) are coherent and quality-oriented. One does have to take care with hardware, best to stay away from the bleeding-edge until the edge no longer bleeds...
But the best part about FreeBSD is its ability to completely rebuild itself from the inside-out. This can be accomplished via ssh login, making for extremely easy system upgrades handled remotely.
FreeBSD has no high-profile funders a la Ubuntu, but I dare say its community is as fine and competent as exists in the open source world.
And finally, its license is the most liberal of all. Its copyright fights are of the past, and its code is there for all to use as one sees fit, for profit or not. How can you beat that?
In short, I have nothing but praise for this opeating system and its community. There are perhaps twenty or more mailing lists specific to various aspects of FreeBSD.
Oh, lest I forget, there are many desktops/guis suitable for non-server use available via FreeBSD's really unbeatable ports/packages system. PC-BSD and DesktopBSD are versions that are ready-to-go, but rolling your own can be much more fun! Executing pkg_add -r kde3 will grab the whole environment and install it for you while you take a break, it's that easy. For those with powerful machines, cd'ing into /usr/ports/x11/kde3 and executing 'make install' will accomplish more or less the same thing but with a difference: the code will be custom compiled with the idiosyncracies of your specific machine and environment. And, one has greater control over the entire process!