Featured »

March 2, 2022 – 2:00 pm

Books have been written on the subject of awk and sed. Here’s a small sample of commands I put together over the years that are useful for everyday system administration tasks. Most of these tasks …

Read the full story »
Networking

Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.

Applications

Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.

Data

Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.

Monitoring

Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

WordPress 3.0 and 3.0.1 Upgrade Bug

August 23, 2010 – 4:01 pm
wordpress_0005

Ignoring my own advice to never install latest WordPress releases as soon as they come out, I upgraded my installation to WP 3.0 and shortly after to 3.0.1. Doing so broke a few things. Automatic plugin updates or installs seem to hang and so does automatic WordPress upgrade. Let me illustrate. According to this screenshot, I need to update one of the plugins.

Gadget Review: D-Link DNS-321 NAS

August 1, 2010 – 10:51 am

The D-Link DNS-321 is among the least expensive dual-disk RAID NAS systems currently on the market. This small device offers an impressive array of features such as FTP, Samba, NFS, iTunes, DHCP, HTTP and UPnP …

Gadget Review: Sony PRS-900 eBook Reader

April 26, 2010 – 3:37 am

I have a ton of technical documentation in PDF format. Sometimes I need to browse this collection to find some specific piece of information. In other cases I may need to read an entire book …

Book Review: CompTIA Linux+ Certification Study Guide

March 29, 2010 – 4:06 pm

For all of you hungry certification seekers, today on the menu we have Brian Barber’s CompTIA Linux+ Certification Study Guide. The CompTIA Linux+ certification, as you may or may not know, is designed for novice sysadmins with six to twelve months of Linux experience.

Server and Network Monitoring with iPhone

February 25, 2010 – 6:53 pm
apple_0006

What is a Unix sysadmin doing with an iPhone, you ask? It was a birthday present, if that’s all right with you. I know, I should have gotten something odd with a beta version of …

How to Really Kill Computer Viruses

February 21, 2010 – 6:34 am

How do you know if your computer has a virus? Is it connected to the Internet? Then it has a virus. Many computer viruses and other malicious applications are very resilient and will actively resist any attempts to deactivate and remove them. Some viruses can even delete your antivirus application or prevent it from working properly. Many viruses cannot be effectively removed once they are loaded in memory and active.

Forcing Linux to Reboot

January 29, 2010 – 3:21 pm
boot

Until I branched out a few years ago from supporting Unix server to working with Linux clusters, I never really encountered this issue: you type “reboot”, “init 0”, or “shutdown” as root and… nothing happens. Or the system starts going down but then hangs on unmounting a filesystem or unloading a module. I think this happened once to a colleague of mine who was rebooting a Solaris server, but this is a common problem with Linux.

Upgrading from Vista to Windows 7

January 27, 2010 – 10:45 pm

Recently I upgraded a client’s Vista computer (Toshiba Qosmio, 4Gb, Intel Core Duo P7350, 7200-RPM 200-Gb disk) from Vista Ultimate 64-bit to Windows 7 Ultimate 64-bit. Being a Unix sysadmin this is not something I usually do. How did the experience compare to upgrading HP-UX, Solaris or SLES? In a nutshell: I’d rather walk around all day in wet underwear than attempt to upgrade Vista ever again.

Windows Network Troubleshooting Script

January 20, 2010 – 10:15 pm
windows keyboard

I try my best to stay away from Windows. I wish my clients did the same. The usual difficulty of troubleshooting elusive network performance problems is amplified many-fold when there is a Windows computer at the end of the line. With Unix it’s relatively simple: run tests “a”, “b”, “c”, etc and follow the familiar process of elimination. With Windows in the picture the number of steps uses up all of the English alphabet and spills over well into the Russian one. And when you finally reach step “я”, you have to pull out your Chinese dictionary.

NetBackup Command Guide

December 27, 2009 – 7:17 pm
dlt tape backup

NetBackup is an enterprise-level distributed backup and recovery application. The environment consists of the master server, media server, storage library, networking hardware, and client agents. NetBackup supports a wide variety of Unix, Linux, VMS, and Windows systems. The original backup solution was developed by Control Data Corp., later acquired by Openvision, which gave the product its “NetBackup” name. NetBackup was then bought by Veritas and is currently owned and supported (poorly) by Symantec.

Copying Data: Are We There Yet?

December 27, 2009 – 7:12 pm

I am sure this will sound familiar: you are copying a large amount of data – either locally or over the network – and you are wondering how long it will take and if there is a way to make things go faster.You may be surprised, but it does matter what type of files you are copying: 1Gb-worth of many small files will take considerably longer to copy than two 500Mb files. The hardware you are using is an important consideration, but it’s not the only factor limiting data transfer speed.

WordPress File Upload Size Limit

December 25, 2009 – 9:24 pm
wordpress_0004

By default, WordPress will not allow you to upload a file larger than 2Mb. This limit is not set by WordPress itself, but by detaul PHP configuration. This configuration file is usually /etc/php.ini, but normally …

Building a Home Theater Computer

December 24, 2009 – 7:23 am

Ever wanted to build a kick-ass home theater computer? Here we have some highly detailed instructions for putting together just such a device. It is not a DVR like TiVo or your Verizon HDTV box. …

Working with Linux Driver Modules

December 22, 2009 – 6:57 pm
dump truck

You just replaced a failed network card, rebooted your server and now network wouldn’t start and your screen is filled with cryptic error messages about some kernel module doing something it’s not supposed to do. …

XBMC Home Theater Software

December 17, 2009 – 12:51 am

Printing from SuSE/SLES to a Windows Printer

December 10, 2009 – 5:05 pm

The following document explains how to configure your SuSE or SLES system to be able to print to a remote printer shared from a Windows server. The first step is to install Unix print support …

Reboot Remote Windows Workstation

December 10, 2009 – 9:53 am
windows-logo-readerszone

When using RDP, sometimes the session may lock up and you may need to reboot your workstation remotely. This can be done using the “shutdown.exe” command from your local PC. First, make sure you can …

Remove Duplicate Posts in WordPress

December 5, 2009 – 10:28 pm
wordpress_0004

Below is the SQL script that will attempt to identify and remove duplicate posts in your WordPress database. This script can be useful for autoblogging. If you use plugins like WP-o-Matic to pull full-text RSS …

Slow SSH login in SuSE Linux

November 3, 2009 – 6:17 pm
chameleon_01

Starting with SuSE 10 and including both openSuSE and SLES an annoying SSH problem appeared. When you SSH to the server (via PuTTY and such) you get the “login” prompts right away, but the “password” …

How to Interview a Unix SysAdmin

October 31, 2009 – 2:16 am
tie suit

“You see,” he explained, “I consider that a man’s brain originally is like a little empty attic, and you have to stock it with such furniture as you choose. A fool takes in all the …

WordPress Backup Script

October 23, 2009 – 1:04 pm
wordpress_0006

Whenever a new WordPress version comes out, I get an itch to upgrade as quickly as possible. Generally, this is not a good idea, unless you enjoy working out new software bugs and dealing with …

Shell Scripting for HPC Clusters, Part 2

October 23, 2009 – 12:30 pm
shell

This is the second installment of a multipart guide for beginner Unix sysadmins supporting HPC clusters. You can view the first part of the guide here.
Searching, Replacing, Comparing
Try to work with a large cluster and …