-
Configure sendmail to accept emails only if “from", “to" or specific field matches
you can exclude an email address or even a host that is spamming you using the access file located in your etc directory, the bad news is that it does not support regex or even wildcards.
-
Remotley start programs on your Linux Desktop
It is very easy to start programs remotely on your windows desktop from another computer but running X11 application on Linux from another ssh session would start a new X11 session on your remote machine, that was a problem for me and here is how I solved that…..
-
Sort Unix processes on ps by highest memory usage
just a snippet, –sort is not good for me..try
ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more -
install / compile MYSQL 5 on RHEL / CentOS 4
There not much performance difference between MYSQL 4 and 5 as far as you're not using mysqli ext for your PHP scripts, but it nice to find rpms ready on Centos.org which makes the job much easier.
-
Using iptables to block ips that spam or attack your server
Why should you do that while APF or CSF can do it automatically?
Because APF/CSF could block an important bot testing your server to add to search index. So reviewing every ip would be a daily task!
Ok, so how?
using RHEL4, centos4

