Logrotate domalogs
Adding a logrotate script to clean up apache will normally take care of this problem. The default logrotate script is either /etc/logrotate.d/apache or /etc/logrotate.d/httpd. vim /etc/logrotate.d/httpd or apache insert the…
Adding a logrotate script to clean up apache will normally take care of this problem. The default logrotate script is either /etc/logrotate.d/apache or /etc/logrotate.d/httpd. vim /etc/logrotate.d/httpd or apache insert the…
How to Disable ping to server? To disable ping echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all To enable ping echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all
How to Kill Zombie Process in server?? This command will be useful to kill php zombie process. ps -ef | grep mailnull | grep -v grep | awk ‘{print “kill…
you can modify the command with the most used attacking words like wget, etc find /usr/local/apache/domlogs/ -exec egrep -H ‘(wget|curl|lynx|wget)%20? {} \; tail -100000 /usr/local/apache/logs/access_log | awk '{print $1}' |…
How To Enable Root (Super) User in Ubuntu If you are new to Ubuntu and have been using other distros like Fedora or openSUSE before, then you may find it…
Copy files securely from host to host with SCP SCP is a really handy utility for copying files to or from your machine to another host over SSH. Usage: scp…
An MD5 is a type of Hash, also, a Checksum. An MD5 hash is a one way verification sum which can be used to verify a string or contents of…