In Linux to find files not owned by user using the 'find' command we negate with the exclamation mark so rather than:find . -user jonnywe use:find . ! -user jonnyWhere:find <dir> ! -user <username>
On a shared server with MySQL and Apache the MySQL server was periodically disallowing connections as there were already too many connections. The default is 150+1 so I added the following to /etc/my.cnfmax_connections=200To increase the maximum number... » More
Running Clam on a separate machine to our Mail Transfer Agent we needed to configure iptables to allow access to clam from those machines. Clamd listens for connections on port 3310 by default but appears to hand off to other 'passive' ports for each... » More
The Droid Sans font from Google Font Directory is a lovely font with great readability for use on web pages.To use Droid Sans add a css link:<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>then in... » More
If you plan to use URLBlacklist.com or Shalla rules in Dansguardian you may suffer from very slow (or impossible) restarts of the daemon. Dansguardian prefers the rules randomized rather than in alphabetical order. I couldn't find the randomize lines... » More
I needed to tail two log files in one terminal so on the server I was using:yum install screen screenCtrl-A c Ctrl-A Shift-s Ctrl-A TAB Ctrl-A " Run "tail -f filename1" in one frame then Ctrl-A TAB to the other... » More
After putting together an RPM for DansGuardian v2.10.1.1 I thought I would make a few notes. The version of DansGuardian in the repositories is currently version 2.8 and the only other repo or rpm I could find was a 32-bit 2.10. Why DansGuardian... » More