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

Category: 

Banana Pi - Setup OwnCloud with Nginx and SSL

This requires a LEMP installation, as described here: Nginx, MySQL and PHP

This manual is written for an banana Pi, but it should also work for a Raspberry Pi or Beaglebone Black.
Step 1: Set up Nginx with SSL

These create the directory /etc/ssl/nginx, change to the directory and create a self-signed certificate.

Seafile-Server-Upgrade on a Beaglebone / Raspberry

Seafile is an open-source cloud solution and on a BeagleBone or Raspberry a really good alternative to OwnCloud (see the article OwnCloud alternative with Seafile and Baikal ).
Seafile is now running on my BeagleBone Black for a few months and I must say that it is working very reliable since now. Meanwhile, around 600 GB of data are in the cloud and I have found no problems yet.

Reduce Spam in Wordpress by blocking IP-Addresses with iptables

For anyone running a blog or a website with a comment section, spam in the comments is a vexed issue. Though there are tools for WordPress that already sort out the spam pretty well and pack it into a spam folder, these entries needs to be checked anyway, because you dont't want to accidentally delete a real comment, that landed in the spam folder for some reason.
This takes time and just annoying!

Luckily, there are some mmore options for you - at least, if you have a root access to your Linux server.

Simple Map-Server with MapServer, Shape-Files and OpenLayers

Card services such as Open Street Map or Google Map are really a fine and useful thing. You can easy enter some coordinates and display them, display a route and so on.

But what to do when there is no net available, such as on the high seas or somewhere in the middle of the wilderness? Either you spend a lot of money and get a satellite connection, or you build your own little map server with only a few handles.

Baikal with Nginx and https

If you want to have your calendar- and contact-data synchronized and don't want to give it away to third parties, it is possible with very simple means to synchronize it at home on your own server. The flagship in this direction is OwnCloud, which also provides CalDAV and CardDAV for synchronization. However, I had always had problems with the synchronization, and so I wanted to give Baikal a try.
Baikal is a PHP written, small and robust server to synchronize calendar and contact data using CalDAV and CardDAV.

Owncloud-Alternative with Seafile und Baikal

Now that I finally had my little server, I wanted to sync all my stuff from a variety of electronic devices: ie the working files on different computers, and also the calendar data and addresses should finally be in sync on all devices.

After a quick search I am first came to OwnCloud. A truly worry-free solution and also really easy to install.
OwnCloud offers:

Virtual Hosts with Apache

The Apache Web Server offers the possibility to run multiple web-sites with different hosts simultaneously. The pages www.MeineSeite.de and www.Beispiel.de 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.

Category: 

Localisation of Debian

After Debian is installed on the BeagleBone, the localization must be adjusted so that the correct fonts are available.
By default, the location is set to "en_US", but this font can not display German characters and some special characters.
So the correct fonts must be installed.

So in Debian type the command

dpkg-reconfigure locales

A menu will appear where you can easily select to install fonts.

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 spdns.de .

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

Pages