How to Install Fail2ban on Debian Squeeze

Fail2ban is an important software for system administrator. It scans log files (e.g. /var/log/auth.log) and bans IPs that show malicious signs, something like too many password failures and looking for exploits. To install fail2ban, execute this command: Open the configuration file to activate some rules: Find following line to set email destination for notification: Find…

Read More
mysql.ini

How to Fix PHP Warning: Module already loaded in Unknown on line 0 on Ubuntu

I received email from cronjob saying that there was PHP module already loaded: PHP Warning:  Module ‘mysql’ already loaded in Unknown on line 0 This warning happens when there is PHP extension loaded more than once. To fix this problem, check /etc/php5/apache2/php.ini file and the corresponding module configuration file in /etc/php5/conf.d/. For mysql module, I…

Read More