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

WordPress Theme Tutorial

This tutorial is useful for converting an existing design to a WordPress theme quickly:http://jonathanwold.com/tutorials/wordpress_theme/

Uptime Update

Availability Report year to date: 99.991%Unfortunately a reboot is necessary for a kernel update.

FreeNX on Ubuntu in 5 minutes

The last time I tried installing FreeNX was on Suse about 3 years ago. So again frustrated with the speed of VNC I tried FreeNX again this time on Ubuntu [...]

MySQL InnoDB Table Lock

I had a customer with a problem using a web based email marketing software application. Importing data and deleting data seemed to stop working. The database uses InnoDB tables so [...]

Find and Replace Strings in Files

The Wikipedia article on find is great. Searching To check for the existence of the string in any of the files in the directory structure: find . -exec grep -H [...]

rsync: fatal: libpopt.so.0: open failed

I was trying to use Rsync on a Solaris machine and received the following error message: ld.so.1: /usr/local/bin/rsync: fatal: libpopt.so.0: open failed: No such file or directory I discovered from [...]

Tor and Privoxy in Ubuntu

Tor is a free implementation of anonymity network which protects your privacy over the internet. Tor enable this by providing virtual tunnels to internet application through SOCKS interface. This post [...]

Sun Solaris Screen Resolution

When moving some Sun Solaris servers to a new server room with a new KVM solution (Raritan Paragon 2) we had difficulty getting the Sun servers to display on the [...]

Changing the default Horde theme for Plesk

On my Plesk installation the Horde themes are installed to /usr/share/psa-horde I downloaded the wps_sober theme. To install it: – extract all the files of the archive to the /usr/share/psa-horde/ [...]

Determine Linux Operating System Version

To determine the Operating System/Distribution version from the command line / terminal interface. How to tell the Ubuntu version? # lsb_release -rRelease:        7.10  How to tell the Slackware version? # [...]