Upgrading Wordpress via SSH
I’m posting this mostly due to sheer laziness.
Wordpress 2.3 was recently patched due to a nasty security vuln, but people are still getting caught out and haven’t moved to 2.3.1
So I thought I’d show you how easy it is.
Provided you can SSH to your provider, this is practically all you need to do:
(remember to cd in to the root of your wordpress installation before attempting the below)
- wget http://wordpress.org/latest.tar.gz
- tar xfz latest.tar.gz
- rm -rf ./wp-includes/
- rm -rf ./wp-admin/
- cd wordpress/
- cp -rpf * ../ (note, some distributions will require “cp -rpf –reply=yes * ../” - mine doesn’t)
- cd ..
- rm -rf ./wordpress/
- rm -f latest.tar.gz
And there you go, a shiny new and upgraded wordpress. This won’t alter your themes or plugins, the usual caveats apply with compatibility of your themes, plugins and haxxies.
DISCLAIMER: I’m not to blame if you break your wordpress with the above, especially if you don’t bother to back up. The above works for me, I’m so confident of it in fact that it’s just a flat script that I run, so even simpler from my perspective… YMMV etc.
November 2, 2007 No Comments
Reminder to self: Safari3 + Wordpress Admin = Bad
It’s still not fixed, and now I have to go fix all my posts :-/
October 15, 2007 No Comments
Blog Editors
So either Wordpress 2.3 is horribly broken for Safari 3 users, or the WYSIWYG editor is b0rken in general and will (hopefully) soon be bugfixed. Either way I need a new way to post to my blog so have been dabbling with MarsEdit, Ecto (I bought this a while back…) and a Firefox plugin called ScribeFire.
Because of the changes with categories and keywords posts I fired up Ecto and edited some old blog posts. Big mistake… Where originally I had preview text with an expanded post on clickthrough I now only have the preview. Thankfully my intial blogging wasn’t too extensive (or for that matter interesting) so I’m just forging ahead with finding something that plays a little nicer with 2.3 for the time being. One down, two to go.
MarsEdit seems to be a similar deal to Ecto, it’s a standalone Mac app, it edits the posts in markup (so I cheat and write blocks of text then use the Humane Text service to convert my posts to XHTML…. But it feels a little more limited than Ecto and is going to cost me to use until they fix Ecto for 2.3, so I’m shelving it for the time being at least.
As to ScribeFire, well I’m writing this post with it, I guess I’ll see what happens when I click ‘Publish’. Hold me, I’m scared
Edit: So I did some tests with FF and Safari, looks like it IS a Safari bug. Ack. Oh and ScribeFire works, so no more excuses from me…
Technorati Tags: ecto, marsedit, wordpress, scribefire, firefox
October 4, 2007 No Comments
WordPress 2.3
Pretty handy that WP2.3 drops the week I revive my blog, and thanks to Techtites for reminding me of how simple it is to complete the process via SSH, upgrading was a quick and painless deal.
Just have to repeat the process for Mark, John and Caroline before I can get back to Halo3
October 1, 2007 No Comments
Slight redesign
Well, I’m planning to quit the slacking and recommence writing this week, so I’ve redone the site. Let me know if anything is badly broken
The header photos are my own, steal them at your peril 
Technorati Tags: blog
September 30, 2007 No Comments








