Finally entered the world of Colocation

I’m not entirely sure how long ago I started using dedicated servers (only one for the first few years though) for my sites, but it must be around 10 years or more. My account on WHT.com is over 10 years old, and in the oldest posts there suggest I had a Cobalt RAQ at the […]

Multiple DNS servers with PowerDNS and MySQL replication

With DNS it is essential to have at least two and preferably more DNS servers for your domains in geographically separated locations. Putting all your DNS servers on the same server is asking for trouble: even if your server goes down for only a little while (like a reboot) some visitors may perceive your sites […]

How to calculate kWh (kilowatt-hour)

A colocation provider I am interested in quotes €0.15 per “kWh” for power usage. They also mentioned “1 ampere equals about 166 kWh”. I wondered how they calculated these numbers and how I can calculate power usage in kWh myself. The first thing you might want (or need) to calculate is how much Watt (W) […]

Keep WordPress & phpMyAdmin up-to-date with a single command

Notice: see this follow-up post for better ways of keeping WordPress & phpMyAdmin up-to-date. Keeping up-to-date with the latest versions of commonly used web software such as WordPress and phpMyAdmin can be a bit of a drag if you would have to manually download, unzip and upload new files through FTP each time a new […]

How to enable TRIM for SSDs in Debian 6.0 “Squeeze”

Modern SSDs support the TRIM command for long-term sustained performance. However for TRIM to work right, the OS (and file system) must have support for it. In the case of Linux, you’ll need kernel version 2.6.33 or newer, use ext4 as file system and also tell the kernel to use TRIM using the “discard” mount […]