Linux LVM: Reduce Filesystem and Logical Volume
March 14, 2012 – 5:07 pm | No Comment

The following example shows how to reduce the size of a filesystem mounted on an LVM logical volume. The instructions below are only for non-root filesystems. No reboot is required, but the filesystem will need to be unmounted. So, if there are any user applications using this filesystem, they will need to be stopped and the users will need to log out.

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.

Home » Archive by Category

Articles in SysAdmin

Numeric File Permissions in Unix
June 27, 2009 – 7:50 pm | No Comment
Numeric File Permissions in Unix

Suppose you are working with a Web server and your task is to make sure that no files or directories have permissions “777″. It would be easy to just recursively change permissions for all files …

Duplicating WordPress Installation
June 25, 2009 – 2:51 pm | No Comment
Duplicating WordPress Installation

Whenever you upgrade your WordPress installation or do development work, it is always a good idea to be working on a copy of your main site and not on the real thing. Copying WordPress installation …

Restart Apache, MySQL When Low on Memory
June 25, 2009 – 4:27 am | 8 Comments
Restart Apache, MySQL When Low on Memory

Heavy traffic, hungry SQL queries, leaky applications will eventually leave your server low on memory. Apache will go on a hunt for swap space and MySQL will start freezing in thoughtful contemplation. Your hard drives …

MySQL Global Search and Replace Script
June 25, 2009 – 3:53 am | 6 Comments
MySQL Global Search and Replace Script

A day will eventually come when your need to find and replace a string of text in your database. You don’t know which row, or which column, or which table. Heck, you may not even …

Passing MySQL Commands from Shell Script
June 25, 2009 – 3:30 am | 2 Comments
Passing MySQL Commands from Shell Script

Running MySQL commands from a shell script is a relatively simple task that has a lot of people baffled. Some say its too complicated and suggest using PHP or Perl, others claim doing so is …

WordPress Directory Listing Risk
June 11, 2009 – 11:36 pm | No Comment
WordPress Directory Listing Risk

A large number of WordPress directories do not have an index file. This is particularly dangerous in case of the plugins directory. If your server allows directory listings, a potential attacker may see which plugins …

DownThemAll! “No free space” error
May 18, 2009 – 6:12 pm | One Comment
DownThemAll! “No free space” error

DownThemAll! is a popular download manager for Firefox Web browser supporting multi-part downloading with ability to pause and restart downloads without losing data. A common problem encountered while using DownThemAll! is the dreaded “no free …

Controlling Process CPU Utilization
March 9, 2009 – 12:36 pm | No Comment
Controlling Process CPU Utilization

Let’s say there is a process on your Unix/Linux system that sometimes tends to consume all CPU resources and become unresponsive. At the same time, you do not want to terminate the process at the …

Encoding Videos for XBox 360 and PS3
January 1, 2009 – 4:47 pm | 2 Comments
Encoding Videos for XBox 360 and PS3

Both Xbox 360 and PS3 support a variety of video codecs and are capable of playing high-definition video files. One of the most popular formats for HD video files is Matroska (MKV), which provides excellent …

Linux and High I/O Wait
December 21, 2008 – 12:07 am | One Comment
Linux and High I/O Wait

When you look at the CPU activity of your computer, one of the parameters is the iowait. This value shows how much time your CPU wastes while it is waiting for I/O operations for complete. …

Sharing Videos from Linux to Xbox 360
December 19, 2008 – 8:49 pm | No Comment
Sharing Videos from Linux to Xbox 360

Xbox 360 uses UPnP protocol to stream multimedia files from computers on your home network. Normally, you would have a Windows PC running WMP and sharing files. But what if you have a Linux box …

What’s the Best CMS
July 29, 2008 – 2:57 pm | No Comment
What’s the Best CMS

Content management systems are sprouting up like mushrooms after a warm April rain. If your job is to find the perfect CMS for your needs, you can spend weeks analyzing and comparing features of various …

Partitioning System Disk
July 24, 2008 – 8:25 pm | One Comment
Partitioning System Disk

When performing a new Unix OS installation you are usually presented with a choice of accepting the default partitioning layout or going into advanced settings and defining your own partitions. The default layout will normally …

Google Tips and Tricks
July 22, 2008 – 11:15 am | No Comment
Google Tips and Tricks

Google offers a remarkable set of powerful features. Unfortunately, most people are not aware of these possibilities. They use only the most basic functionality offered by Google and then waste their time on weeding out …

Convert Images to PDF
July 18, 2008 – 12:26 am | No Comment
Convert Images to PDF

Converting sets of images into multi-page PDF files makes it easier to organize and share them. All you need for the conversion is the free that will run on your Windows, Linux, MacOS and many other operating systems. If you are running a recent version of Linux, chances are that ImageMagick is already installed on your computer (just type “which convert” to check).

Best of Web Design
June 24, 2008 – 2:41 pm | One Comment
Best of Web Design

As more Web surfers get high-speed access, Web designers are tempted to go overboard with multimedia sites that waste your time and distract you from the content. This little collection of Web designs is proof …

Random Filename Chooser
June 17, 2008 – 9:02 pm | No Comment
Random Filename Chooser

This is a rather peculiar little script with a purpose that may not be immediately apparent. The script will look for files in the specified folder; it will then pick one at random from the …

WordPress Quick Upgrade for Linux
June 13, 2008 – 6:22 pm | 2 Comments
WordPress Quick Upgrade for Linux

Never ever upgrade WordPress to the latest version as soon as it comes out, unless you want to be the guinea pig dealing with the new bugs and incompatible plugins. Even if the new version …

Linksys WAP54G Secure Configuration
June 11, 2008 – 1:09 pm | No Comment
Linksys WAP54G Secure Configuration

Below are some basic steps to secure a wireless access point (WAP). The screenshots are for Linksys WAP54G v. 3.04, however, the same steps will apply to wireless access points from other manufacturers. Understand this: …

Apache and Multiple Domains – from Home
June 10, 2008 – 5:15 pm | One Comment
Apache and Multiple Domains – from Home

Apparently there are folks out there who are still interested in running their own Web server from home. More than that – they want to have multiple domains. Guys, Web hosting these days is so …

Scali Manage (Platform Manager) CLI Guide
June 5, 2008 – 10:24 pm | No Comment
Scali Manage (Platform Manager) CLI Guide

Scali Manage – the bloated and unpredictable HPC cluster management tool – has recently been acquired by Platform Computing Corp. It is to be integrated into Platform LSF and Platform OCS products. I can’t say …

Dealing With Disk Hogs
June 1, 2008 – 5:49 pm | No Comment
Dealing With Disk Hogs

Some users and application developers believe that any free disk space on the server belongs to them. Suddenly you get an email alert saying that a server “xyz” ran out of disk space in /home. …