Wednesday, July 4, 2012

Adminer – manage MySQL by single file, alternative of phpMyAdmin

June 1, 2010 by  
Filed under General

Adminer impressed me when I first tested it. It is superb alternative to the most famous MySQL web based administration tool phpMyAdmin. I just counted number of files in my current phpMyAdmin installation and I found there are 642 items. But Adminer is only a single file. You need to download it from there website [...]

Common iptables command, cheatsheet

November 12, 2009 by  
Filed under General

#!/bin/sh #File: /etc/rc.d/rc.firewall # Immediately log and drop any known abusive IPs iptables -A INPUT -p tcp -s 87.118.104.44 -m limit –limit 1/minute  –limit-burst 10  -j LOG –log-prefix “[DROPPED_NODE]“   –log-level 4 iptables -A INPUT -p tcp -s 87.118.104.44 -j DROP # Allow from any to any on 127.0.0.1/32 iptables -A INPUT -s 127.0.0.1/32 -j ACCEPT [...]