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

VirtualBox Cloning a Virtual Machine

For future reference cp mymachine.vdi mynewmachine.vdi won’t work due o the uuid of the disk so …. cd ~/.VirtualBox/HardDisksVBoxManage clonevdi mymachine.vdi mynewmachine.vdi Then go through the steps of creating a [...]

Mail Server Uptime Wow!

They don’t make Windows servers like this! Up for 848 days and going strong. For anyone interested this is a Slackware machine in a MTA role.

jQuery Zebra Stripes

Traditionally I added these tiger/zebra stripes for alternate row colours within PHP but with jQuery we can accomplish the same with the following. I had a little difficulty getting the [...]

Ubuntu 10.04 Window Controls

I’m not about to start to lambaste the move of the window controls to the left. I think we should give change a bit of time and see how it [...]

Firefox New Tab button left

On Ubuntu to move the the Firefox new tab button to the left rather than the right (replace the ‘me’ and ‘profilename’ bits below with the appropriate settings for your [...]

Mounting FTP on Ubuntu

Install CurlFtpFS with: sudo apt-get install curlftpfs Mount an FTP site with: sudo curlftpfs -o user=myuser:mypass ftp://ftp.domain.tld ./mylocaldirsudo ls ./mylocaldirsudo fusermount -u ./mylocaldir Or add it to the fstab: mkdir [...]

Convert bin/cue to iso with bchunk

On Ubuntu install binchunker with: sudo apt-get install bchunk Then create the iso at the command-line with the following: bchunk myfile.bin myfile.cue newfile.iso More info here