October 2012 Issue of Linux Journal: The Kernel
The Seats Are Bolted Down
One of my favorite Linux kernel analogies is that of an airplane losing altitude. In the movies, when a plane suffers damage, the brave hero rips off the door and starts throwing things out in order to lighten the load. Suitcases fly, bags of peanuts scatter and anything not bolted down goes out in order to save the passengers. When a computer system gets old, or is low-powered to begin with, the Linux kernel can work the same way. Computers are so powerful now, we don't often think about removing kernel modules to gain speed, but not too many years ago, it was common to tweak our systems by stripping out unneeded or unused drivers. We seldom turn to our beloved kernel for speed increases anymore, but it's still the core of our OS. Most users don't think about the kernel, but then again, Linux Journal readers aren't most users. This month's issue is dedicated to the kernel. If that scares you off, fear not, we cover lots of other topics too.
Reuven M. Lerner starts off the issue with his take on switching to the Chrome browser. Like Reuven, I've been a Firefox user since before it was cool. About six months ago, I switched to Chrome too. This month, Reuven discusses how the switch went for him. Whether you're a Google fan, or think Google is horrible (or both), Chrome is a popular and viable browser. Now you get to see what a programmer thinks. Our other resident programmer, Dave Taylor, tackles another interesting challenge. Can there be a template for a bash script that is flexible enough to fill most needs, while providing a standard framework to facilitate best practices? If you've ever written a script knowing you should add more, but don't have the time to do it "right", Dave's article is for you.
Kyle Rankin writes about methods for deploying servers this month. Oh sure, that sounds like a basic tenant of system administration, but Kyle goes from the standard "insert CD and boot" method all the way to centralized configuration. If you're working in a corporate environment, chances are you don't have time to install servers one by one, and even if you do have time, it would be time wasted. Kyle's article might change the way you think about server installation, and more important, it might change the way you do it.
My contribution to the kernel issue is rather small. In fact, it will fit in your pocket. In my Open-Source Classroom column, I discuss the oft-confusing art of rooting an Android device. And, because rooting often is followed by installing custom ROMs, I cover that too. If you've ever wanted to try CyanogenMod on your phone, this month's article should be a big help. If you have an iPhone, well, feel free to read about what all the cool kids can do!
Javier Martinez Canillas starts off the nitty-gritty kernel articles with an introduction to kbuild. Like any other open-source project, the Linux kernel is the work of many people working together. Javier describes the system and shows how to add to the kernel. After reading an article on how to add to the kernel, I recommend a quick followup with Igor Ljubuncic and Raphael Sack's article on dealing with kernel crashes. An unstable kernel can go from bad to catastrophic quite quickly, so Igor and Raphael discuss how to automate the identification and handling of such events. Following their lead, hopefully your next kernel panic won't mean sysadmin panic as well.
Matt Davis also helps us deal with system problems at a low level using canaries. No, it's not just listening to their beautiful songs to soothe us. Rather, just like the miners of old using canaries to detect problems in a mine, a stack canary can detect system problems before any serious damage happens. If building safeguards into your code sounds like a good idea, or if you just want to read Matt's discussion of the Terminator Canary, you'll want to check out his article.
We finish the issue with a topic near and dear to my heart. Darren Douglas talks about teaching. I've been a professional Linux trainer for several years now, and Darren really drives home some important points regarding how we teach what we teach. Whether you're a trainer yourself looking for a gut check, or just an avid user desiring to share your knowledge with others, Darren really hits the target.
On the surface, this issue might sound intimidating to those folks who usually steer clear of the kernel. Thankfully, we do the hard work of tossing out the extra baggage so all you have left are those things bolted down and worth reading. Plus, we have plenty of other things—product announcements, tech tips and more—to keep you informed and entertained. So have a seat, put your trays in the upright position and enjoy this issue of Linux Journal.
Available to Subscribers: October 1
Shawn Powers is an Associate Editor for Linux Journal. You might find him chatting on the IRC channel, or Twitter
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- Web & UI Developer (JavaScript & j Query)
- UX Designer
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Nice article, thanks for the
2 hours 5 min ago - I once had a better way I
7 hours 51 min ago - Not only you I too assumed
8 hours 9 min ago - another very interesting
10 hours 2 min ago - Reply to comment | Linux Journal
11 hours 55 min ago - Reply to comment | Linux Journal
18 hours 49 min ago - Reply to comment | Linux Journal
19 hours 6 min ago - Favorite (and easily brute-forced) pw's
20 hours 57 min ago - Have you tried Boxen? It's a
1 day 2 hours ago - seo services in india
1 day 7 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?



Comments
Auto diagnostic technicians
Auto diagnostic technicians must complete an associate degree program in automotive technology at trade or technical schools. Automobile manufacturers and dealers sponsor these diagnostic training programs. According to the Bureau of Labor Statistics, auto diagnostic technician candidates rotate between six and 12-week periods of formal classroom training and full-time work at car dealers. http://www.autelcn.com/