Articles by Falko Timme

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

  • How to Repair MySQL Replication

    How to Repair MySQL Replication

    Author: Tags: Comments: 27

    If you have set up MySQL replication, you probably know this problem: sometimes there are invalid MySQL queries which cause the replication to not work anymore. In this short guide, I explain how you can repair the replication on the MySQL slave without the need to set it up from scratch again.

  • Mirror Your Web Site With rsync

    tux Author: Falko TimmeTags: , , , Comments: 43

    This tutorial shows how you can mirror your web site from your main web server to a backup server that can take over if the main server fails. We use the tool rsync for this, and we make it run through a cron job that checks every x minutes if there is something to update on the mirror. Thus your backup server should usually be up to date if it has to take over.

  • Checking Package Dependencies with apt-rdepends on Debian and Ubuntu

    debian Author: Falko TimmeTags: , , Comments: 1

    This guide shows how you can check the dependencies of a package with the tool apt-rdepends on Debian and Ubuntu systems. The great thing about apt-rdepends is that it resolves dependencies recursively, i.e., not only does it show the direct dependencies of a package, but also the dependencies' dependencies. This is great, for example, if you want to rebuild a package from the sources, etc.

  • How to Benchmark Your System (CPU, File IO, MySQL) with Sysbench

    tux Author: Falko TimmeTags: Comments: 14

    How to benchmark your system (CPU, File IO, MySQL) with sysbench. Sysbench is a benchmark suite which allows you to quickly get an impression about system performance which is important if you plan to run a database under intensive load. This article explains how to benchmark your CPU, file IO, and MySQL performance with sysbench.

  • Setting Up Postfix As A Backup MX

    postfix Author: Falko TimmeTags: , Comments: 12

    Setting Up Postfix As A Backup MX. In this tutorial, I will show how you can set up a Postfix mail server as a backup mail exchanger for a domain so that it accepts mails for this domain in case the primary mail exchanger is down or unreachable and passes the mails on to the primary MX once that one is up again.

  • How To Tell Apache To Not Log Certain Requests In Its Access Log

    apache Author: Falko TimmeTags: Comments: 15

    How To Tell Apache To Not Log Certain Requests In Its Access Log. Normally Apache logs all requests in its access log. In certain cases this can distort your page view statistics (if you use a tool like Webalizer or AWStats that creates statistics based on Apache's access log), for example if you get lots of visits from search engine spiders or from a certain IP address (e.g. your own), or if each of your pages includes another page (e.g. in an iframe) from your web site (that would instantly double your page views which is obviously not correct). This short guide shows how you use Apache's SetEnvIf directive to prevent Apache from logging such requests.

  • How To Configure Remote Access To Your Ubuntu Desktop

    ubuntu Author: Falko TimmeTags: , Comments: 34

    This guide explains how you can enable a remote desktop on an Ubuntu desktop so that you can access and control it remotely. This makes sense for example if you have customers that are not very tech-savvy. If they have a problem, you can log in to their desktops without the need to drive to their location. I will also show how to access the remote Ubuntu desktop from a Windows client and an Ubuntu client.

  • Key-Based SSH Logins With PuTTY

    linux Author: Falko TimmeTags: , Comments: 72

    This guide describes how to generate and use a private/public key pair to log in to a remote system with SSH using PuTTY. PuTTY is an SSH client that is available for Windows and Linux (although it is more common on Windows systems). Using key-based SSH logins, you can disable the normal username/password login procedure which means that only people with a valid private/public key pair can log in. That way, there is no way for brute-force attacks to be successful, so your system is more secure.

  • nginx: How To Block Exploits, SQL Injections, File Injections, Spam, User Agents, Etc.

    nginx Author: Falko TimmeTags: , , , Comments: 9

    This short article explains how you can block the most common exploits, SQL injections, file injections, spam and user agents used by hackers and bandwidth hoggers from your nginx vhosts with some simple configuration directives. This configuration is far from being complete, but it's a good starting point. You will have to watch your logs for attempted break-in attempts and then try to modify/complete the ruleset.

  • How To Save Traffic With nginx's HttpGzipModule on Debian Jessie

    debian Author: Falko TimmeTags: , , Comments: 0

    In this tutorial, I will describe how to configure HttpGzipModule on a nginx web server (on Debian 8). HttpGzipModule allows nginx to compress files and deliver them to clients (e.g. browsers) that can handle compressed content which most modern browsers do. With HttpGzipModule, you can compress HTML, CSS, Javascript, text or XML files to approx. 20 - 30% of their original sizes, thus saving you server traffic and making your modem users happier.