Weblog Archives

You are currently browsing the archives for the Administration tag.

Always use a block device label or its UUID in fstab

If there are still references to device nodes for block devices, as they are set by the kernel, for example /dev/hda, in /etc/fstab, you should seriously consider replacing them with the volume’s label or its UUID. Even if you use an LVM setup, the /boot partition shouldn’t be referenced by its device node.

Making a directory writable by the webserver

I’ve used the phrase “writable by the webserver” numerous times throughout this blog, without ever bothering to explain in detail what this means. Yesterday, I received an email asking me exactly that, so I decided to finally write a post about it and use it as a reference whenever I use the aforementioned phrase. I’ll [...]

delayed-shutdown initscript

delayed-shutdown is an initscript that delays the shutdown (runlevel 0) or reboot (runlevel 6) procedure as long as a pre-defined lock file exists. The goal is to create a mechanism, which can be used by programs that perform critical operations that must not be interrupted, in order to delay system shutdown until these programs have [...]

Maxmind’s GeoIP.dat.gz location change

Today I noticed that AWStats, the web traffic analysis tool, had stopped generating valid reports since November 23. After spending about 3 whole hours trying to figure out what on earth had happened and having checked all the things that could have gone wrong, I went through all the automatic emails my server had sent [...]

Random downtimes during next 2 weeks

Last weekend I spent most of my free time revising the configuration of the server. This time my sole intention is to further improve the allocation of resources (mainly memory) to the various services. This involves a lot of testing, graphing and note taking as some of the currently used software needs to be fine-tuned [...]

Use the Alternatives System to switch to a custom Firefox release

From a user’s perspective, having to use an old beta version of Firefox in my primary desktop, while, at the same time, a final stable release of the browser has been released, is a bit annoying. But, the fact that this happens due to technical issues makes it partially acceptable. The following article aims to [...]

Use mod_deflate to Compress Web Content delivered by Apache

One of the most efficient methods to reduce the usage of bandwidth by the web server and, at the same time, increase the speed of the content delivery is to compress your web pages and, generally, all output that is returned to the clients. The compression of the web content can be done using several [...]

Email Notifications from a Linux System

This post is not an article about how to receive email notifications from your system, but rather a tip about what should be your very first (No.1) action after a clean installation of a Linux system. It is well known that Linux – and obviously many other *nix systems, if not all – are pre-configured [...]

CloneZilla instead of Partimage

Until now I have been creating partition images with Partimage, which has never failed. Another very popular tool nowadays is CloneZilla. This software, which happens to include partimage among various other utilities, has wider filesystem support and a better set of features – taking/restoring backups across the network is supported. The fact that this is [...]

SSL-enabled Name-based Apache Virtual Hosts with mod_gnutls

This article describes how to implement SSL-enabled name-based vhosts – that is secure virtual hosts which share the same IP address and port – with the SNI-capable mod_gnutls module for Apache’s httpd web server.