sysadmin
How to repair crashed tables in MySQL
Submitted by specialj on Fri, 12/21/2007 - 05:55.I’ve had MySQL database corruption from time to time, usually on a system that either experiences a power failure or kernel panic. The process is not difficult but I always find myself relearning how to do it each time. The program mysqlcheck comes in handy to check for errors and repair them.
Recovering from a corrupt superblock on an ext3 filesystem
Submitted by specialj on Wed, 12/05/2007 - 02:38.I had a disk which suffered some corruption recently. It’s a shame that for my recent writing of the benefits of ext3 I should suffer from some ext3 filesystem corruption. Still, it was better than with xfs which I could not ever repair due to the size of the filesystem and/or the fact that the server was 32-bit. Here’s the steps I took.
Cheap RAID options for Gnu/Linux
Submitted by specialj on Fri, 11/02/2007 - 14:38.I’m a fan of Gnu/Linux software RAID. I think it makes sense as an option for anyone who wants cheap RAID. Inexpensive RAID cards or the RAID options found on many motherboards do not offer performance or manageability benefits over software RAID. One benefit about GNU/Linux software RAID is that it is far more portable than hardware RAID solutions. That is, you can actually move the disks to another machine without migrating a RAID card or worrying about RAID compatibility.
Verbose startup and shutdown screens in Ubuntu
Submitted by specialj on Sat, 10/13/2007 - 12:59.A number of people have complained that the current (Ubuntu 7.04) startup and shutdown screens lack the information that they had in earlier releases. Enabling the display of startup and shutdown messages is fairly simple and can be useful in diagnosing system problems. Here’s how to do it.
Using the "magic SysRq key" to deal with an otherwise unresponsive system
Submitted by specialj on Fri, 10/12/2007 - 07:00.Though relatively obscure there is a set of key combinations that can be used to communicate and send commands to a GNU/Linux kernel even when the system has become unresponsive (frozen, hung, crashed). I have found it beneficial to keep these commands in mind because I have come across a couple of situations where their use proved valuable. If nothing else, the 1 thing to remember is the Alt+SysRq+H command to get help on the other combinations.
Improve security by changing the SSH listening port
Submitted by specialj on Thu, 10/11/2007 - 10:38.This is a simple change that can, in my opinion, greatly improve security on a server or desktop system with openssh-server installed. By simple changing the listening port from the default 22 to another value will reduce the brute-force SSH attacks on a system thereby freeing up resources and reducing the chance of the system being compromised.
Ubuntu on the server instead of Debian
Submitted by specialj on Sun, 09/30/2007 - 23:12.Why would a system administrator want to consider Ubuntu as a server operating system? Ubuntu is a young GNU/Linux distribution and a newcomer to the server market. Still I think a case can be made for Ubuntu as a capable and beneficial operating system for servers. As well as why, for many scenarios, Ubuntu might be preferable to Debian.




Recent comments
4 days 22 hours ago
2 weeks 3 days ago
2 weeks 5 days ago
6 weeks 4 hours ago
10 weeks 5 days ago
15 weeks 4 days ago
19 weeks 1 day ago
24 weeks 5 days ago
26 weeks 2 days ago
32 weeks 3 days ago