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

PHP LDAPS

When using SSL connections ot an ldap server (active directory) the ldap functions worked with non-SSL connections but not with ldaps connections. I believe this is because I was using [...]

Grub 2 Windows 7

I had initially installed Windows 7 then Ubuntu 9.10 on a singe SATA disk. Later I added an IDE disk and plugged in the SATA DVD drive and can no [...]

Ubuntu Panels Lock Down

My sister had an issue with somehow moving the panels to different sides of the screen so to lock them down: In a terminal type: gconf-editor Expand apps > panel [...]

Debian chkconfig

On Debian-based systems adding a script to runlevels is accomplished with the following (assuming you have the script in /etc/init.d): update-rc.d -f myservicename start 80 2 3 4 5 . [...]

Set MySQL to Read-Only

For a backup server which we may want to run as read-only for short maintenance periods the following may be useful.Method 1: Global read_onlyLogin to MySQL and set the read_only [...]

DVD-RAM on Ubuntu

Some small steps with DVD-RAM on Ubuntu 9.10. I inserted a blank DVD-RAM disk and it was not automatically mounted. I tried mounting but there was no filesystem, so I [...]

Backupify Cloud Backups

As an extra precaution to protect data in the cloud I set up a free Backupify account which can be configured to make daily/weekly backups of Blogs, Gmail, Google Docs [...]

Ophcrack Recover Passwords

Ophcrack LiveCD can be used to recover lost Windows passwords based on rainbow tables. It is a very efficient implementation of rainbow tables done by the inventors of the method. [...]

Alt-Clicking in Photoshop Wine

On Ubuntu (9.10) choose System > Preferences > WindowsChange the ‘Alt’ click behaviour to the ‘Super’ key.

Exchange Offline Address Book Not Updating

Some users where complaining about the Offline Address Book being out-of-date. Checking the Event Viewer on the cluster node which creates the OAB showed the following error: OALGen detected that [...]