Today, the Debian Team has announced the first update of the latest stable distribution Debian 7 Wheezy. In this update we can find some security corrections and few more adjustments for other big problems.  Security advisories were already published separately and are referenced where available.

This update does not constitute a new version of Debian 7 and only updates some of the packages included.  You don;t need to  throw away your 7 CDs or DVDs but only to update via an up-to-date Debian mirror after an installation, to cause any out of date packages to be updated.

Those who frequently install updates from won’t have to update many packages and most updates from are included in this update.

New installation media and CD and DVD images containing updated packages will be available soon at the regular locations.

Upgrading to this revision online is usually done by pointing the aptitude (or apt) package tool (see the sources.list(5) manual page) to one of Debian’s many FTP or HTTP mirrors. A comprehensive list of mirrors is available at:

You can find more from the official Debian Announcement: Continue Reading…

cron-apt is a flexible program that can manage automating apt via cron.

Step1. Install cron-apt in Debian

apt-get install cron-apt

Step2. Configure it:

The configuration file is located in /etc/cron-apt/ directory.
For a basic configuration I have everything set to default except for two lines in /etc/cron-apt/config file

MAILTO="[email protected]"

You  can also modify when the cron-apt  runs in the /etc/cron.d/cron-apt file.


Fail2ban scans log files and bans IPs that show malicious signs, something like too many password failures and looking for the most common exploits.

Step1. Install Fail2ban on Debian

apt-get install fail2ban

Step2.  Configure Fail2ban.

You can configure Fail2Ban using the configuration files located in /etc/fail2ban/

The main config file and the most important is jail.local

In the following steps I will show you some configuration examples. You can study the Fail2ban man files later.

Step2.1 Add or modify the following line to set email destination for Fail2ban notifications:

destemail = [email protected] Continue Reading...

Debian and Ubuntu packages from Percona are signed with a key. Before using the repository  you ought to add the key to apt.

For that run the following commands:

Step1. Add the Percona repository:

gpg –keyserver hkp:// –recv-keys 1C4CBDCDCD2EFD2A
gpg -a –export CD2EFD2A | sudo apt-key add -
echo “deb squeeze main” >> /etc/apt/sources.list
echo “deb-src squeeze main” >> /etc/apt/sources.list

Step2. Install Percona Server:

apt-get update
apt-get install  percona-server-server-5.5

Continue Reading…

Step1. Install Apache2 using the command:

apt-get install apache2-mpm-worker

Now you cand navigate from  your browser to http://your-ip to check if Apache2 is working (you should see the Apache2 default page with message:  It works).

Step2.  Install PHP5-FPM.

We will make PHP5 work in Apache2 through PHP-FPM and Apache2  mod_fastcgi module.
We need to install apache mod-fastcgi first:

apt-get install libapache2-mod-fastcgi php5

Now install php-fpm:

echo “deb stable all” >> /etc/apt/sources.list
echo “deb-src stable all” >> /etc/apt/sources.list
cat dotdeb.gpg |apt-key add -
apt-get update
apt-get install php5-fpm

Step3. Enable the  Apache2 modules: Continue Reading…

Page 1 of 212