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

Joomla 1.5 FTP settings

I was receiving the following error: The FTP settings are not valid or your FTP server is not compatible with Joomla!: The function "MKD" failed and stupidly blamed mod_security for [...]

nslookup mx records

$ nslookupDefault Server:  dnsserver.comAddress:  111.222.111.222> set q=mx> mymailserver.domain.com

Outlook Web Access Light To the Rescue

Microsoft’s deliberate feature omissions from OWA Light came to the rescue today when some of our users could not access OWA full during a recent spell were we had to [...]

Webcam on Ubuntu Just Works : Canyon CNR-WCAM413

I bought this particular webcam Canyon CNR-WCAM413 through Amazon as it was reported to just work on Linux – and it does on Ubuntu 8.04. Thanks to that french guy [...]

Apache Troubleshooting

Occasionally some requests to web servers cause memory/cpu problems – for the wrong reasons and sometimes the right reasons. I recently had a problem with a Google Search Appliance crawling [...]

Change Hostname

Great article here.Check current hostname: hostname Change the hostname in the following files: vi /etc/sysconfig/networkvi /etc/hosts Now run: hostname mynewhostname restart networking /etc/init.d/network restart

Forward Root’s Mail

Forwarding the email sent to root on a system to another email address.vi /etc/aliases # Person who should get root’s mailroot:   myreal@emailaddress.com The run:/usr/bin/newaliasesTest it.