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

Password-less SSH for Rsync from Solaris

This short article will demonstrate by example password-less ssh from a Solaris 8 box which will backup the contents of a linux box using rsync.In the example there are 2 [...]

SpamAssassin: Overriding default scores

If desired the default scores for rules in spamassassin (located in /usr/share/spamassassin/50_scores.cf) can be changed by setting the scores either in /etc/mail/spamassassin/local.cf or another .cf file in the directory. For [...]

First Aide for Intrusion Detection

I was considering installing tripwire on a CentOS 5.1 install but I happened upon an article about 'aide' which also notifies the system admin about changes to core files (and [...]

Spamassassin and sa-update

Sa-update replaces Rules-Du-Jour providing fresh spam rules to spamassassin in a similar way that freshclam provides viri updates to ClamAV.Presumably Spamassassin is installed but if it isn't: yum install spamassassin* [...]

PHP 5.2.5 Plesk Horde Include Error

A recent upgrade to PHP 5.2.5 caused a problem with Plesk/Horde webmail. Specifically: Warning: require_once(Horde/String.php) [function.require-once]: failed to open stream: No such file or directory in /usr/share/psa-horde/lib/Horde/Browser.php on line 4 [...]

Password-less SSH in 5 minutes

Connecting to remote servers using SSH is very common in systemadministration and involves entering the command : sshuser@remotehostname and the corresponding password. It is possible to use public keys with [...]

Aptana for Linux Web Development

Aptana is an Eclipse plug-in/perspective aimed at web development including support for Ajax and PHP. With Eclipsed installed, Aptana can be added by: Open Eclipse Choose Help > Software Updates [...]

ProFTPd Port Restriction

Data ports are allocated to FTP clients on connection so it is difficult to know which port an FTP user might be using when they next connect. To narrow it [...]

Nagios NRPE Plugin on CentOS

Nagios is is a useful tool for monitoring many servers and their services. At a glance (or via email) you can see which services/hosts are experiencing problems.Monitoring public services such [...]

Fonts in WebFX tab pane

The WebFX Tab Pane is a great javascript method of adding tabs to webpages. However I found that twhen using the Luna style the f;onts on Linux/Firefox defaulted to a [...]