How to solve the PHP XCache error: /dev/zero: No space left on device

If you get the error "/dev/zero: No space left on device" in the apache error.log on a OpenVZ virtual machine, then the shared memory size in the xcache.ini is too high or the xcache.mm_path is set wrong. Edit the file /etc/php5/conf.d/xcache.ini vi /etc/php5/conf.d/xcache.ini and check the mm_path. On a OpenVZ virtual machine it should be ... Read more

Secure /tmp and /dev/shm directories in a OpenVZ enviroment

The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started. ... Read more

Use separate configurations by network in the Windows 7 firewall

The Windows 7 Firewall allows separate configurations by network. This feature makes it possible to configure different firewall rules for the home network , the networkwork or a public network and Windows will apply these rules automatically when the computer gets connected to a different network. To configure the firewall by network, click on Start ... Read more

How to compress email attachments automatically in Mozilla Thunderbird

There is a handy Thunderbird extension named "Auto zip" available that compresses email attachments as .zip files automatically, So you dont have to compress the files manually anymore before you attach them to the email. Thunderbird extension download: https://addons.mozilla.org/en/thunderbird/addon/4003 Sadly, the official version of the plugin works only for thunderbird 2. But a few users ... Read more