How to set up a global Geolocation DNS load balancing Varnish Cache Content Delivery Network with Bind9, geo-ip database, Varnish Cache and DigitalOcean. DIY High-Availability for your website!
How to flush MySQL query cache from time to time
Flush MySQL query_cache to prevent fragmentation of free query cache memory space. Flushing the query cache with flush query cache does not delete or clear the query cache. You have to use reset query cache to fully clear MySQL’s query cache.
Test SMTP Authentication and StartTLS
When investigating SMTP authentication issues, particular over TLS encrypted SMTP connections, it’s always handy if you are able to test the SMTP authentication and StartTLS connection. Preferably from your command line. This post shows you how to test SMTP servers, create base64 encoded logon information, verify SMTP authentication over an opportunistic TLS connection, all from the Linux and Windows command line using telnet and OpenSS.
Check, repair and optimize MySQL tables with mysqlcheck
Check, repair and optimize MySQL tables with mysqlcheck. The mysqlcheck client is a command line table maintenance program for MySQL. Mysqlcheck checks, repairs, optimizes, or analyzes MySQL tables. In this post I’ll show you how to use mysqlcheck to optimize all MySQL tables using a cronjob.
Ssh shorthand name for hostnames
How to use shorthand names for hostnames with ssh? You don’t always want to type in a complete host name when using ssh to remote hosts. Here is how to configure and use shorthand hostnames with ssh.
Installing Debian GNU/Linux 7.0 (Wheezy) on HP EliteBook 8570w
was FedUp with Fedora Core 17/18 after a day, so I decided to return to my old love: Debian GNU/Linux. It’s been a couple of years, but I’m happy to be back! Just run the netinst installer which will take care of the most. Configure NVIDIA Quadro K2000M and iwlwifi on Debian GNU/Linux 7.0 Wheezy. After installing your base system, you need to take a few extra steps to configure your NVIDIA Quadro K2000M video card and Intel wifi adapter
Check IP address blacklist status in Bash
Bash script to check an IP address reputation status in several blacklists. I’ve added HttpBl as backlist and an API key is required for this list. Using this script in Bash you can quickly test if an IP address is blacklisted.