Protect your Server with Fail2Ban

Even if it's just a tiny computer - as soon as he hangs on the Internet, it is at risk and may be subject to attacks.

To avoid that you would have look through every log file, out from which IP the attack ran out and then lock this IP by hand using iptables as beschriben in this post Reduce Spam in Wordpress by blocking IP-Addresses with iptables


Banana Pi - install and setup Postfix

In most cases, it is also advisable to install a Mail Transfer Agent (MTA) on your server to enable him to send mails itself.

Why is this useful?

  • The system sends a warning or critical states in an email to the user root.
  • software like Wordpress send emails when a problem has occurred
  • If you want to use the "forgot password" function in WordPress or Seafile, this is done via E-Mail

However, you should be very careful with the configuration so that the own server is not abused by spammers.

Facebook under Control

Maybe I'm romantically transfigured and / or simply out of date, but I have something against the fact that everyone who writes an app for my phone, wants to have nearly unrestricted access to all my data. Especially if those who have written the app, are a stock company and need to generate money.

That there are other ways, shows this app, that I would like to introduce here: Tinfoil for Facebook, developed by Daniel Velazco.


Synchronize Baikal with Thunderbird / Lightning

If you have installed Baikal (see article Baikal with Nginx and https ) you can start to synchronize its data.

Sync Calendar Data with Lightning
Lightning is an add-on for Mozilla Thunderbird and expands the e-mail application with a calendar and scheduling tool. More information about Lightning can be found on the page from Mozilla: Using the Lightning Calendar Add-on.


NGinx - URL-Forwarding from a Subfolder to a new Domain

How a url forwarding works with the Apache server, I have described in this article .
However, I have now switched to Nginx, a small, sleek, and very high-performance alternative to the flagship Apache - so it better suited for a Raspberry, a Beaglebone or a Cubieboard. But NGinX has no .htaccess-files. Forwardings are there - like everything else - set in the server configuration.


Virtual Hosts with Apache

The Apache Web Server offers the possibility to run multiple web-sites with different hosts simultaneously. The pages and can therefore run on the same server and Apache. A requirement for this is that every host is connected to a virtual host in Apache.
On Linux (Debian/Ubuntu) virtual hosts are defined in the directory /etc/apache2/sites-available/. By default there is already one file named default created for one virtual host. It might look like this.


spdns Dynamic DNS Update-Client

Dyn stops its free service.

I've chosen Spdns as an alternative. A service of Secure Point GmbH .
One may invest up to 5 hosts there and can choose between several top-levels-domains.
Registration is simple and straightforward and requires only a username/password and an email-address for submission.
You can reach the service at .

The only problem was that my router has no way to deal with this service.