Redirect domains without www (e.g. domain.com) to www.domain.com with apache rewrite rules

Apache www redirect rule

If all your visitors shall access your website with a URL like www.domain.com and not without www, use the following apache rewrite rule for redirecting them. RewriteEngine On RewriteCond %{HTTP_HOST} !^www RewriteRule (.*) http://www.%{HTTP_HOST}$1 [L,R] The apache rewrite rule can be added in a .htaccess file in the website root directory or if you use ... Read more

Switch Debian 10 RC release to stable

When you installed your Debian 10 server by using one of the pre-releases, then you will get the following error message now that Debian 10 (Buster) has been released. N: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Version' value from '' to '10' E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'testing' to 'stable' ... Read more

How to Backup/Clear/Restore a SpamAssassin Bayes Database

SpamAssassin Bayes Database

Sometimes you might have to work with the Spamassin Bayes Token database. This is the database that is used by the SpamAssassin Self Learning (Bayesian) Classifier to store the ham and spam tokens. This tutorial will show you how to make a backup of that database. E.g. when you want to move it to a ... Read more

How to Make a Bootable Ubuntu USB with LinuxLive USB Creator in Windows 10

Windows 10 Create Ubuntu 18.04 USB Boot Media

In this short tutorial, I'll show you how to create a bootable USB of Ubuntu 18.04 with LinuxLive USB creator in Windows 10 in 6 simple steps. Let's get started!! Make a Bootable Ubuntu USB with LinuxLive USB Creator in Windows 10 Step 1. Insert your USB device into your laptop or computer. Step 2. ... Read more

[SOLVED] E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

You get the following error message while installing a .deb package on Debian or Ubuntu or while installing Updates? E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? This error means that there is already an apt process running or ... Read more

RoundCube error: config.inc.php was not found.

This tutorial shows you how to solve the RoundCube webmail error message: config.inc.php was not found. on an ISPConfig Debian server that uses Nginx as the web server. Solution RoundCube webmail is accessed on an ISPConfig Nginx web server through the apps vhost. The PHP-FPM of the apps vhost is running under the user and group ... Read more

How to easily split screen space to fit two windows in Ubuntu 16.04LTS

There are times when the work you're doing involves switching between two applications. For example, a common use-case is reading commands/instructions from a Web page opened in Web browser and trying them on the command line terminal. I am sure many of you are used to the Alt+Tab way of switching between application windows. However, ... Read more