Scribble Designs: Web Design in Northern Ireland.

Fast Way To Upgrade WordPress Via Shell

By Gerard McGarry on 3rd March 2007, filed in WordPress. You can leave a response below. Tags: , , ,

Oops! A server breach over at WordPress.org caused the downloadable version of the software to become compromised.

Now, I’m not normally one to upgrade every time a new version of WordPress is released, especially a minor point version. But the WP developers seemed concerned enough to cross post this on all their blogs, so I decided it might actually be necessary. A tiny bit irritating, as I’d just upgraded virtually everything to WordPress 2.1.1, but what can you do?

Anyway, I was very pleased to stumble across Ajay’s neat instructions on how to upgrade WordPress via SSH shell. I’ve done a couple of upgrades now and neither have taken any more than 5 minutes each. My previous process was to download the latest version, unzip it into my Dreamweaver site and upload the whole thing again. This could be pretty time intensive, as you can imagine.

I did spend a lot of time trying to get SSH to work, on sites hosted on both Media Temple and Dreamhost (aff). If you’re new to SSH like I am, let me save you a lot of time: Most hosts don’t enable SSH be default, you’ve got to enable it yourself. In Dreamhost, you enable it through the user management on the panel. In Media Temple, it depends on what package you have, so check their knowledge base.

Anyway, do take the time to learn Ajay’s SSH technique – it’ll save you hours in the long run and it’s such an elegant solution to managing WordPress. Of course, someone has to mention SVN at this point…..

Leave a Reply