Pick our brains...

All posts tagged linux

How to Use Rsync, a Very Beautiful File Transfer & Synchronization Tool

Rsync is an amazing tool for direct server-to-server data transfers.  Very speedy, and very smart! You can use rsync to do synchronizations between source and destination, comparing them, and copying only what’s changed.  What’s especially amazing is that rsync only transfers the “parts” of files that are different.  This works . . . Read more

How to Tune SpamAssassin Server-Side Spam Filters

The SpamAssassin server-side spam email filter employs Bayesian statistical algorithms to tell the difference between spam and ham.  As such, these filters do their best when they’re “learned”.  Here are some examples from a sample account. Let’s assume we’re working with a cpanel account called “oicom”, and we want to . . . Read more

Server Load & Loadwatch

Note: These notes pertain to PM servers.  Other servers may vary… Loadwatch Logs Located In: /root/loadwatch   To Summarize a Particular Logfile: (when in the “/root/loadwatch” directory, as root) /scripts/loadparse <filename_of_logfile>   Cumulative Log of Loads: /root/loadwatch/checklog   See also: http://linux.about.com/cs/linux101/g/loadwatch.htm http://www.xaprb.com/blog/2006/06/08/how-to-monitor-server-load-on-gnulinux/ Related articles Page: Install GIT on shared hosting . . . Read more

Linux Disk Free / Disk Usage, Per Directory ~ “du”

Disk Free, human readable df -h Disk Usage, summary, human readable (I think this include DOES include hidden files / directories) du -sh Disk Usage, per directory, human readable (does NOT include hidden files / directories) du -sh * Disk Usage, per directory, human readable (INCLUDES hidden files & directories) du -sh . . . Read more