tumblr.tristesse.org
Joel's Research
http://tumblr.tristesse.org/page/2
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. December 16, 2015. CPanel - Can’t change hostname. This was a little perplexing - WHM wasn’t able to set a new hostname, and would report the following errors:. Ldquo;The hostname could not be changed. The server retained its previous hostname.”. Ldquo;Error setting new hostname: Could not execute hostname binary”. Ldquo;Failed to issue method call: Access denied”. November 30, 2015. This is easily fixed! I’ve...
tumblr.tristesse.org
Scan for outdated Wordpress installations
http://tumblr.tristesse.org/post/120334376602/scan-for-outdated-wordpress-installations
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. May 31, 2015. Scan for outdated Wordpress installations. I recently discovered wp-cli. I wrote the following shell script. Put it into cron and you’ll get a regular email report about sites with out of date Wordpress installations, and out of date plugins. It relies on locate, but if you don’t use that you could easily change it to use find.
tumblr.tristesse.org
Enable SpamAssassin auto-deletion in CPanel from...
http://tumblr.tristesse.org/post/120568624737/enable-spamassassin-auto-deletion-in-cpanel-from
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. June 3, 2015. Enable SpamAssassin auto-deletion in CPanel from CLI. Automatic deletion are enabled.
tumblr.tristesse.org
SpamAssassin's spamd not reading user_prefs
http://tumblr.tristesse.org/post/97104923302/spamassassins-spamd-not-reading-userprefs
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. September 10, 2014. SpamAssassin’s spamd not reading user prefs. I use SpamAssassin in conjunction with spamd spamc for my email and wanted to add custom rules to block some particularly prolific spam. I could never get any changes I made in /.spamassassin/user prefs to work, though! To allow processing of user prefs, add the following line to /etc/spamassassin/local.cf (or the equivalent location on your system).
tumblr.tristesse.org
Fixing vulnerable bash on Debian squeeze
http://tumblr.tristesse.org/post/98343424782/fixing-vulnerable-bash-on-debian-squeeze
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. September 25, 2014. Fixing vulnerable bash on Debian squeeze. Hopefully you’ve had a fun morning patching all of your bash packages! I noticed that my Debian squeeze server didn’t have any updates, though. If you can’t upgrade to a newer release, it turns out that you should be using the squeeze-lts distribution as well:. Deb http:/ ftp.debian.org/debian. Squeeze/updates main contrib non-free.
tumblr.tristesse.org
Can’t get better than TLSv1.0
http://tumblr.tristesse.org/post/124978990122/cant-get-better-than-tlsv10
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. July 25, 2015. Can’t get better than TLSv1.0. This problem stumped me for ages! Despite trying loads of different Apache config options blindly copied and pasted from the web, I couldn’t get SSLLabs to report anything better than TLSv1.0. Listen ssl :443 acl is ssl req ssl ver 2:3.1. For future proofing, I changed it to 2:3.5. and now it works!
tumblr.tristesse.org
Debian - don't upgrade kernel on a VPS
http://tumblr.tristesse.org/post/108024906937/debian-dont-upgrade-kernel-on-a-vps
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. January 14, 2015. Debian - don’t upgrade kernel on a VPS. You’re using Linux on a hypervisored VPS and want to update packages, but you don’t want to upgrade the kernel (you can’t anyway! New kernels keep showing up in the list when you do an apt-get upgrade, so you can’t just say ‘y’ to install them all. Then as root, do something like:. Echo linux-image-3.2.0-4-686-pae hold dpkg - set-selections.
tumblr.tristesse.org
Installing CA certificates for OpenSSL on OS X
http://tumblr.tristesse.org/post/101148015992/installing-ca-certificates-for-openssl-on-os-x
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. October 28, 2014. Installing CA certificates for OpenSSL on OS X. You’re using Subversion or some other command line utility that uses OpenSSL and gives you a certificate error, even though it’s a perfectly good CA-signed certificate. Here’s how to fix it! Copy them to /System/Library/OpenSSL/certs. For i in `find . -name *.crt`; do ln -s $i `openssl x509 -hash -noout -in $i`.0; done`.
tumblr.tristesse.org
CPanel has old version of SpamAssassin
http://tumblr.tristesse.org/post/110765460197/cpanel-has-old-version-of-spamassassin
Computer and electronics tinkerer. Cheap restaurant enthusiast. Lives at www.joelw.id.au. February 12, 2015. CPanel has old version of SpamAssassin. You’re using CPanel. At the command line, you’ve noticed that SpamAssassin seems to be version 3.3.1, and 3.4.0 is out. What gives? Easy solution - in /usr/local/bin, delete/move sa-* and spam* and symlink them from the ones in /usr/local/cpanel/3rdparty/bin/ .