Archive for March, 2008
How to rebuild the RPM database for Linux Centos 5
Posted on 27. Mar, 2008 by wiredgorilla.
TweetHad problems with our RPMs and our sys-admin Tim Hass came up with the perfect answer ! First of all You just need to be sure that no rpm processes are running! Then delete /var/lib/rpm/__db.* and then run the command: rpm –rebuilddb -vv Nice one Thanks Tim
Continue Reading
Egrep – Helpful linux command reference
Posted on 26. Mar, 2008 by wiredgorilla.
TweetWhile many people use the grep command through a pipe | there are more efficient ways of using it. I have nearly killed a server on many occasions by running cat filename |grep some-term while the command tries to list a huge file. Instead simply use egrep which is more efficient in terms of speed [...]
Continue Reading
DDOS check via number of connections
Posted on 26. Mar, 2008 by wiredgorilla.
TweetA quick and usefull command for checking if a server is under DDOS is That will list the IPs taking the most amount of connections to a server. It is important to remember that the ddos is becoming more sophistcated and they are using fewer connections with more attacking ips. If this is the case [...]

