These days I’m trying to develop a BASH script to help me copy quickly my MySQL database from my (live) remote site straight into my PC, where I do all my development work. Right at the top of the script I was writing, I needed a way for the script to figure out if the (development PC‘s) MySQL server (mysqld) was already started and running. And if not, to let me know. Continue reading
One effective method to mitigate brute-force attacks and attempts to break into your public server via the SSH daemon is to use the appropriate iptables rule that will handle such abuse. There are a couple that do the job really well but the one I personally use is one that works on both, dedicated and virtual, servers. Continue reading
Every time I set up a server, the very next thing I do is secure the Secure SHell Daemon (sshd).
My checklist for doing that looks something like this: Continue reading
If, like me, you want to easily have some program start every time you boot up your Linux server, you need to find and edit the
rc.local file in your file-system.
/etc/rc.local is really a simple place to put shell commands and/or scripts you want to run when booting up. Continue reading
Earlier today I implemented stricter iptables rules on this web server – finally completing one essential task I have been ignoring for so long. Minutes later, just when I was beginning to feel good about myself, on a remote server some place else, the Webmin System and Server Status module there was reporting that it could no longer access this server!
Damn. Continue reading
Updated my plugin, GID Spam Detector, to version 1.1.0 today. Continue reading
Starting today, you can also access www.gidblog.com securely, with Secure Sockets Layer (SSL).
Try it – https://www.gidblog.com.
If your MySQL version is 3.22.5 or later, you can now INSERT multiple values / records in one single query. In most cases this is probably not useful but I recently found this out while trying to optimise my GIDTopsites script. Continue reading
Just under a week old, and GIDBlog.com has already attracted the comment spammers once again. So this morning I decided I need to fix this before I do anything else.
Introducing GID Spam Detector, a custom WordPress plugin I have started to develop for this site to keep the comment spammers away. Continue reading