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

Visualising Social Networks like Facebook

I was asked to check out Gephi with the aim of visualizing Twitter and Facebook social networks. I installed Gephi on Ubuntu using the following (PPA): sudo apt-add-repository ppa:rockclimb/gephi-daily sudo [...]

cPanel: Adding Apache and PHP Modules

I needed to add mysqli support to cPanel and did so by logging in to the WHM on port 2087 scrolling down the left menu to Software and clicking EasyApache [...]

Ubuntu Background NASA Image of the Day

I just used the Python script located here and created getnasa.py in my home directory. I made it executable and added it to my System > Preferences > Startup  Applications. [...]

Camlough Lake Swim

A target for the same swim next year 1.75km as the crow flies but more like 2km: 28. Jonny McCullagh: 42.40

WordPress Upgrades and LDAPS

I have a WordPress installation which uses LDAP against Active Directory to authenticate users. I upgraded PHP to version 5.3.8 from version 5.1.6 (using the Atomic Repository) and also upgraded [...]