brute-force Attacke: Einzelne IP’s in Firewall sperren

Server: einzelne ip firewall sperren

Einzelne IP blocken – WordPress Benutzer die beispielsweise das Sucuri Sicherheits Plugin nutzen kennen die Situation genauso wie viele andere Serveradministratoren. Häufig gibt es Angriffe bei denen versucht wird der Server oder eine CMS Software wie WordPress auf dem Server mit Passwörtern durchzutesten. innerhalb von Sekunden prasseln Tausende Anfragen rein. Auch wenn es nicht sicherheitsrelevant … Read more

HOW TO FIX: HTTP query failled [curl-error : 60 – SSL certificate problem: certificate is not yet valid ] for the following URL [solved]

Using Linux Ubuntu Virtuale Maschines i am sometimes faceing the Problem of SSL certifcates: “HTTP query failled [curl-error : 60 – SSL certificate problem: certificate is not yet valid ] for the following URL” Fixing the time solves the problem in most cases: sudo ntpdate -u  

HowTo: Tune your wordpress – these .htaccess tricks speed up your website!

Google PageSpeed Insights told you, that your wordpress website is too slow? Need better performance? These .htaccess settings for your apache speed up your website! What you have to do is simply tune up your htaccess, inject gzip and discard ballast. Gzip and Deflate Compression shrink overweight pounds of the website, as well as serve … Read more

Howto: Show and install php extensions on Ubuntu/Debian

You may review the available PHP extensions on your Debian/Ubuntu system by tipping in: apt-cache search php|egrep ^php5- your output on a standard Ubuntu/Debian could looks like this: # apt-cache search php|egrep ^php5- php5-cgi – server-side, HTML-embedded scripting language (CGI binary) php5-cli – command-line interpreter for the php5 scripting language php5-common – Common files for … Read more

Shell Script: Backup and gzip mysql databases for linux systems

This is a quite helpful script to backup your mysql databases. All databases are automaticly gzipped and named like this DATABASENAME.yyyymmdd.gzip. You may execute it as cronjob every night for example.   #!/bin/sh # BACKUP_DIR=${1:-/backups/mysql} # Directory to save backups EXPIRETIME=10 DATE=`date “+%Y%m%d”` # check if directory exists if [ ! -d $BACKUP_DIR ]; … Read more