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

SSH Login: eMail Benachrichtigung an Admin versenden

Als Teil des Sicherheitskonzepts eines Servers empfiehlt es sich SSH (Secure Shell) abzusichern und sich ggfs. eine eMail bei jedem Login im Hintergrund zu senden. Derjenige der sich einloggt, kriegt davon nichts mit. Mit der folgenden Anleitung und dem aufgeführten Skript versendet das System eine E-Mail an den Administrator, sobald sich der Benutzer via Secure … Read more

Das MySQL User Passwort ändern – Das MySQL Root Passwort ändern

Das Passwort eines MySQL Users oder von Root in der Kommandozeile zu ändern ist eigentlich ein ziemlich simpler Vorgang. Wer sein root Passwort vergessen hat – hier eine Anleitung zum zurücksetzen des MySQL root Passwort. MySQL User Passwort ändern MySQL User Passwort ändern – Variante 1) mysqladmin: In der Linux Shell folgenden Befehl eingeben um … Read more

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

DNS Update does not work – how to flush your windows/linux client

When transfering a Domain to a new Server or reconfiguring the IP of the Domain DNS entries of a Domain you are facing the problem, that you have to wait that the new DNS entry is being changed and spread on all DNS Servers. Some operating system will not “obey” the DNS standards and will … 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 # mysql_backup.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

WordPress: Increase Upload Limit in WordPress

It’s pretty easy to increase the upload limit in wordpress. Use .htaccess increase the upload limit in wordpress Go into the web root of your wordpress installation. Create a file named “.htaccess”. Usually there already is one – edit it in this case. You need two line in there: php_value upload_max_filesize 10M php_value post_max_size 10M … Read more