AWS EC2 Instance Won’t Stop

If you use a lot – or even just one – EC2 instance on Amazon Web Services (AWS), from time-to-time, you might find that an instance becomes unresponsive, you can’t get in via SSH, and, when in the AWS console, the instance just won’t stop! When this happens, you select “Stop” in the console, and …

Read more

How to Make WordPress Auto-Thumbnails Work

If you’re recently installed WordPress onto a new server (we do this a lot on Amazon EC2 instances of varying sizes) and you notice that your image uploads aren’t auto-thumbnailing (when WordPress “crunches” your images into “thumbnail” “medium” and “large” sizes for use throughout your website) then chances are your server doesn’t have the GD …

Read more

Installing APC on Amazon EC2 Instance

Some time ago, I wrote a short blog post explaining how to go about installing XCache on an Amazon EC2 instance to help with opcode caching. More recently, we’ve begun using APC for similar reasons, with excellent results, including on Amazon EC2 Micro instances, which can be used under their free usage tier to run …

Read more

How to Restart MySQL After Editing innodb Log Size

Sometimes, either because we’ve got a puny amount of RAM available, or because we’ve recently boosted available RAM, we want to allow MySQL a different amount of memory for it’s innodb logs. However, when we change this, restarting MySQLd can cause a hiccup or two. Namely, the MySQL service won’t restart. If this happens, what …

Read more

WordPress Extensions

We often install the Open source (free, and developed by a community of programmers, rather than one, paid, team) Content Management System (CMS), WordPress. WordPress was originally a blogging platform developed by Matt Mullenweg, but, in its short history, the software, which runs on (also Open source) PHP and MySQL, has developed into far more …

Read more

WordPress – Using MySQL to Update Specific Custom Fields

Some time ago, we told you how to Find & Replace Data using MySQL – today I am going to explain how to use this query to update specific custom fields in WordPress databases, in bulk, on-the-fly, without having to login, open, and edit every single WordPress post you’ve got! Remember, before doing anything to …

Read more

Transport HTTPS traffic to HTTP with .htaccess

The sharp-eyed among you may have noticed that we very recently updated a couple of things here at the Silicon Dales website, and one of those steps has involved switching from delivering pages via HTTPS, now that we have retired the online shop section. The precise mechanism for doing this on a LAMP setup using …

Read more