I have Cacti installed so that I have pretty graphs (CPU/load/memory/disk/network) for all my servers (VPS) in one place. I just enabled full IPv6 on one of them and Cacti stopped working. The problem wasn’t Cacti though, it was the server it was now trying to contact through IPv6. As I only need SNMP for […]
Tag: Linux
Keep WordPress & phpMyAdmin up-to-date with a single command II
A few years ago I wrote about keeping WordPress & phpMyAdmin up-to-date with a single command. While those methods still work it is time to make a few changes (and revive this blog while I’m at it, it has been too long). First off, using Subversion to track stable versions might keep WordPress itself up-to-date […]
Mac OS X Time Machine backup on a Debian server
December 2015: I just wanted to note that the solution below stopped working for me after a while. However I recently purchased a Synology NAS and configuring as a Time Machine backup destination is fairly easy. I just got a MacBook Air and had already read about how you can setup your own network based […]
Hiding MySQL/PostgreSQL password from the “ps” command
If you want to run a database tool for MySQL from the command line it would seem you cannot avoid including the password using a –password argument. The problem is that the whole command line while the command is being run will be visible to any other user of the same server using the “ps” […]
Arrays in Linux shell scripting
For a script I want to build for maintaining WordPress themes & plugins a bit easier I wanted to basically loop through a list of locations of WordPress installations on a single server. This basically means I need to be able to create an “array”. I knew that you could use arrays in a shell […]