Zero Filling a Disk in Linux

Zero Filling a Disk in Linux

The simple way to wipe or zerofill a disk is: dd if=/dev/zero of=/dev/sd? bs=1M However I found an article describing how to zero-fill with a progress indicator using pipebench, installed on Debian/Ubuntu ...

Increasing CentOS LVM under VMWare

Increasing CentOS LVM under VMWare

Background: I had an existing CentOS machine as a virtual machine running on VMWare ESX Server and it was running out of space so for future reference I did the ...

SquidGuard LDAP User Search and Special Characters

SquidGuard LDAP User Search and Special Characters

So I had a problem with the ldapusersearch string as some eejit has created an OU with spaces and an apostrophe in the name. So the characters are represented as: comma ...

Flushing local client DNS cache

Flushing local client DNS cache

From info I found here. This is how to flush the local client DNS cache. Windows: ipconfig /flushdns Linux: sudo /etc/init.d/networking restart Mac: lookupd -flushcache

Browsing all articles from February, 2011

Pancakes

Half a pint of buttermilk8 oz Plain Flour2 oz Caster Sugar1 dessertspoon of Golden Syrup1 Egg1 teaspoon Baking Soda1 teaspoon SaltMix together and cook in a buttered pan until bubbles [...]

Red Hat up2date Subscription

If the Red Hat subscription expires. Edit the following file: /etc/sysconfig/rhn/sources Comment out the following line: up2date default Then add this line: yum dag http://apt.sw.be/redhat/el4/en/$ARCH/dag

MS Office 2007 Formats in Apache

In Apache 2 I added the following to stop Internet Explorer trying to open these formats as compressed archives (which they actually are) and to open them using the MS [...]

HTC Hero Speed Symbols

Connection speed symbols on my HTC Hero. There are 4 symbols (shown below in order of speed) displayed in the top bar when using mobile network:G    GPRS ~ 56 kbit/s [...]