Day: January 3, 2010

Third Party Apps for cPanel/WHM

:::Pulled from the Cpanel Forums::: Third Party Applications Available for cPanel/WHM I have created this list about third party software available for cPanel/WHM based on popular demand. This is for informational purposes only and does not constitute any endorsement. All items are listed alphabetically to show no preference. If you know of any third party…


Disable ProFTP on CentOS running Plesk

Let me start off by stating unequivocally that I do not like Plesk. I do not like it sam I am, I want to break it with a wham, I would not, could not, on a box. I could not, would not, with firefox. Would you like it here or there? I would not like…


AllmyApps – An alternative to Ninite

Allmyapps is a cross-platform application store featuring a unique 1 click application installation technology compatible with both Windows and Linux operating systems. From this page you can choose among all allmyapps compatible operating systems the one for which you want to find software applications. By default, allmyapps automatically detects the OS you’re using so that…


Locate all non-Red Hat-supplied packages

Here is a snippet of code which will allow you to find all non-Red Hat-supplied packages: rpm -qa –qf ‘%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH} %{VENDOR}\n’ | grep -v ‘Red Hat, Inc\.’ | sort


Who’s connecting to Apache?

Here are a few more one liners that I use quite often to locate large number of apache connections, large numbers of site connections, the busiest site on the server and busiest script on the server. large number of apache connections netstat -plan | grep :80 | awk ‘{print $5}’ | sed ‘s/:.*$//’ | sort…


Pick an IP address out of any file

Here is a small one liner which will pull a list of IP addresses from a file, sort them, select only unique ip’s and then list them from greatest to least. perl -ne ‘while (/([0-9]+\.){3}[0-9]+/g) {print “$&\n”};’ /var/log/exim_mainlog |uniq -c |sort -nr |head -100 You can also modify this to include an output file by…


Auto Block connections via IP tables

Auto block IP’s with high connection counts via iptables; via lovepig.org netstat -npa –inet | grep :80 | sed ‘s/:/ /g’ | awk ‘{print $6}’ | sort | uniq -c | sort -n | while read line; do one=`echo $line | awk ‘{print $1}’`; two=`echo $line | awk ‘{print $2}’`; if [ $one -gt 100…