Mount FTP on Synology Boxes

Today I had the challenge to find a way to download a backup from my hosting root server via FTP directly to my Synology DS212+. Here is how I got it done with the given toolset of the Synology DSM 6.1.1-15101. (How to mount FTP on Synology Boxes) Oben Synology Backend and open the File Station […]

Setup monit behind Apache proxy under ISPConfig

Today I wanted to setup monit behind Apache proxy on my webserver, which runs ISPConfig ( under Debian. Monit is a OpenSource monitoring tool for Linux (see Requirements I had the following requirements on the solution: monit should only be accessible from the server itself (localhost) monit should run under a special SSL-secured URL (not IP:PORT as […]

Drop all tables from MySQL database

From time to time I stumbled over the case, that I had to drop all tables from a MySQL database. In phpMyAdmin or other GUI-based tools – in general – you only have the possibility to drop the whole database. But then you have to recreate it from the scratch.  Or you have to click-drop each table […]

Export git subfolder to archive

Today a colleague of mine wanted to export a single folder from a git repository to a tar.gz archive. This is how to export git subfolder to archive:

With this snippet the git repository folder path/to/file/or/folder/in/repo is exported to the archive file archived_folder.tar.gz. The archive will be cleared of all git information (no .git* files). Further information […]

Rename multiple files on shell

To rename multiple files in the current folder, you can use the following command:

In this case, I had a bunch of files that I had to rename temporarily. They all started with Scheldon_ and had the fileending .xml. The snippets above first rename these files to Scheldon_SOMEWHAT.xml_bkp and then back to the original name Scheldon_SOMEWHAT.xml.

Reset Google Authenticator for Synology Diskstation

Today I had to reset Google Authenticator two step authentication for Synology Diskstation. I realised, that I wasn’t able to login into my Synology DS 212+ anymore. The problem was, that my mobile phone had crashed before a view months and I had configured the Synology NAS to use the Google Authenticator  for a two step […]

Mount ISO file under Ubuntu Linux

Today I had the challenge, that I wanted to copy a DVD and  play it with the VLC media player ( Therefore I had to learn how to mount iso file(s) under Linux. In my case it was Ubuntu 16.04.1. (see also my article about how to get your Linux distribution and version). How to […]