Skip to content

Month: July 2014

How to make iptables rules permanent

To setup persistant iptables rules, after we enter our iptables as usual, we export them to config file. iptables-save > /etc/iptables.conf Edit your global rc.local file [/etc/rc.local] with your favorite editor and before the ‘exit 0’ add: iptables-restore < /etc/iptables.conf Save and restart, your iptables rules are now permanent

mysqlnd vs libmysql

TL:DR If you are using php 5.3.3 or newer then go mysqlnd, otherwise stay with the default libmysql. Whats the difference? While I could post it here for you, a more updated source would be http://www.php.net/manual/en/mysqlinfo.library.choosing.php. As you can see, currently mysqlnd does ‘pretty-much’ evrything libmysql does with a plethora of…